Skip to content

Commit

Permalink
Update default values
Browse files Browse the repository at this point in the history
  • Loading branch information
benfu-verses committed Jun 3, 2024
1 parent 41f639b commit 9b86d18
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions charts/genius-core-admin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ configExistingSecret:
| autoscaling.maxReplicas | int | `100` | |
| autoscaling.minReplicas | int | `1` | |
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| config | string | `"NEXT_PUBLIC_APP_GENIUS_DB_URL={{ .Values.geniusCoreUrl | squote }}\nAUTH_URL={{ printf \"https://%s\" .Values.externalDomain | squote }}\nAUTH_SECRET={{ randAlphaNum 32 | squote }}\nCLIENT_ID={{ .Values.clientId | squote }}\nCLIENT_SECRET={{ .Values.clientSecret | squote }}\nISSUER_BASE_URL={{ .Values.issuerUrl | squote }}\nAUDIENCE={{ .Values.audience | squote }}\nAUTH_SCOPE={{ .Values.scopes | squote }}\n"` | Secret configuration |
| config | string | `"NEXT_PUBLIC_APP_GENIUS_DB_URL={{ .Values.geniusCoreUrl | squote }}\nAUTH_URL={{ printf \"https://%s\" .Values.externalDomain | squote }}\nAUTH_SECRET={{ randAlphaNum 32 | squote }}\nCLIENT_ID={{ .Values.auth.clientId | squote }}\nCLIENT_SECRET={{ .Values.auth.clientSecret | squote }}\nISSUER_BASE_URL={{ .Values.auth.issuerUrl | squote }}\nAUDIENCE={{ .Values.auth.audience | squote }}\nAUTH_SCOPE={{ .Values.auth.scopes | squote }}\n"` | Secret configuration |
| configExistingSecret | object | `{"key":".env.production","name":""}` | Reference an existing secret containing the env configuration |
| configExistingSecret.key | string | `".env.production"` | Key inside the secret |
| configExistingSecret.name | string | `""` | Name of the secret |
| externalDomain | string | `"chart-example.local"` | Externally reachable domai |
| externalDomain | string | `"chart-example.local"` | Externally reachable domain |
| extraObjects | list | `[]` | Extra K8s manifests to deploy # Note: Supports use of custom Helm templates |
| fullnameOverride | string | `""` | |
| geniusCoreUrl | string | `"http://genius-core:50052"` | |
Expand Down
12 changes: 6 additions & 6 deletions charts/genius-core-admin/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -- Externally reachable domai
# -- Externally reachable domain
externalDomain: chart-example.local

geniusCoreUrl: http://genius-core:50052
Expand All @@ -21,11 +21,11 @@ config: |
NEXT_PUBLIC_APP_GENIUS_DB_URL={{ .Values.geniusCoreUrl | squote }}
AUTH_URL={{ printf "https://%s" .Values.externalDomain | squote }}
AUTH_SECRET={{ randAlphaNum 32 | squote }}
CLIENT_ID={{ .Values.clientId | squote }}
CLIENT_SECRET={{ .Values.clientSecret | squote }}
ISSUER_BASE_URL={{ .Values.issuerUrl | squote }}
AUDIENCE={{ .Values.audience | squote }}
AUTH_SCOPE={{ .Values.scopes | squote }}
CLIENT_ID={{ .Values.auth.clientId | squote }}
CLIENT_SECRET={{ .Values.auth.clientSecret | squote }}
ISSUER_BASE_URL={{ .Values.auth.issuerUrl | squote }}
AUDIENCE={{ .Values.auth.audience | squote }}
AUTH_SCOPE={{ .Values.auth.scopes | squote }}
# -- Reference an existing secret containing the env configuration
configExistingSecret:
Expand Down

0 comments on commit 9b86d18

Please sign in to comment.