forked from cs3org/charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a separate ConfigMap for each revad container
This will also allow in the future to ditch running the main 'revad' container with -dev-dir by mounting their config (.toml, .json, ...) on the righ container Fix: cs3org#3
- Loading branch information
1 parent
7955f6a
commit 40fb405
Showing
4 changed files
with
35 additions
and
28 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
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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
{{- if .Values.configFiles }} | ||
{{- range $configMapName, $configMap := .Values.configFiles }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "revad.fullname" . }}-config | ||
name: {{ include "revad.fullname" $ }}-{{ $configMapName }}-config | ||
labels: | ||
{{- include "revad.labels" . | nindent 4 }} | ||
{{- include "revad.labels" $ | nindent 4 }} | ||
data: | ||
{{- range $filename, $fileContents := .Values.configFiles }} | ||
{{- range $filename, $fileContents := $configMap }} | ||
{{ $filename }}: |- | ||
{{ $fileContents | indent 4 }} | ||
{{- end }} | ||
--- | ||
{{- end }} |
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