-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move chart to using a config file instead of env (#153)
After updating event topics to be pulled from the config file, viper doesn't handle environment slices automatically so instead it stores a single string with all topics. Changing to using a config file simplifies config changes and ensures the correct values are read. Signed-off-by: Mike Mason <[email protected]>
- Loading branch information
Showing
5 changed files
with
42 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "common.names.name" . }}-server-config | ||
namespace: {{ .Release.Namespace }} | ||
annotations: | ||
argocd.argoproj.io/sync-wave: '-1' | ||
labels: {{- include "common.labels.standard" . | nindent 4 }} | ||
service: server | ||
data: | ||
config.yaml: | | ||
{{- pick .Values.config "server" "oidc" "spicedb" "tracing" | toYaml | nindent 4 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "common.names.name" . }}-worker-config | ||
namespace: {{ .Release.Namespace }} | ||
annotations: | ||
argocd.argoproj.io/sync-wave: '-1' | ||
labels: {{- include "common.labels.standard" . | nindent 4 }} | ||
service: worker | ||
data: | ||
config.yaml: | | ||
{{- pick .Values.config "server" "events" "oidc" "spicedb" "tracing" | toYaml | nindent 4 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters