-
Notifications
You must be signed in to change notification settings - Fork 557
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[helm-chart] Add support for garnet.conf file via a secret object (#863)
* Add support for garnet.conf file via a secret object Signed-off-by: babykart <[email protected]> * Update config.existingSecret comment Signed-off-by: babykart <[email protected]> * Fix config.garnetConf comment Signed-off-by: babykart <[email protected]> * Add readOnly to the secret volume Signed-off-by: babykart <[email protected]> * Increase chart version Signed-off-by: babykart <[email protected]> --------- Signed-off-by: babykart <[email protected]>
- Loading branch information
Showing
5 changed files
with
54 additions
and
8 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{{- if and (eq .Values.config.existingSecret "") .Values.config.garnetConf }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ include "garnet.fullname" . }}-config | ||
labels: | ||
{{- include "garnet.labels" . | nindent 4 }} | ||
type: Opaque | ||
data: | ||
garnet.conf: {{ .Values.config.garnetConf | b64enc | quote }} | ||
{{- 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
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