Skip to content

Commit

Permalink
Add Helm configuration for feature flags
Browse files Browse the repository at this point in the history
  • Loading branch information
evankanderson committed Apr 26, 2024
1 parent d8f7d57 commit 7db2b22
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions deployment/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ spec:
value: "/secrets/github-app/github_app_webhook_secret"
- name: "MINDER_PROVIDER_GITHUB_APP_FALLBACK_TOKEN_FILE"
value: "/secrets/github-app/github_app_fallback_token"
- name: "MINDER_FLAGS_GO_FEATURE_FILE_PATH"
value: "/flags/flags-config.yaml"
{{- if .Values.deploymentSettings.extraEnv }}
{{- toYaml .Values.deploymentSettings.extraEnv | nindent 10 }}
{{- end }}
Expand Down Expand Up @@ -111,6 +113,8 @@ spec:
volumeMounts:
- name: config
mountPath: /config
- name: flags
mountPath: /flags
- name: auth-secrets
mountPath: /secrets/auth
- name: app-secrets
Expand All @@ -136,6 +140,13 @@ spec:
path: server-config.yaml
- key: overrides.yaml
path: overrides.yaml
- name: flags
configMap:
name: minder-flags
optional: true # We expect the outside environment to create this ConfigMap
items:
- key: flags-config.yaml
path: flags-config.yaml
- name: auth-secrets
secret:
secretName: {{ .Values.deploymentSettings.secrets.authSecretName }}
Expand Down

0 comments on commit 7db2b22

Please sign in to comment.