-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Helm to use configmaps for user config rather than secrets (#4122
) * Update Hel to use configmaps for user config rather than secrets * fix checksum * update configmap
- Loading branch information
Showing
20 changed files
with
60 additions
and
68 deletions.
There are no files selected for viewing
5 changes: 2 additions & 3 deletions
5
deployment/armada/templates/secret.yaml → deployment/armada/templates/configmap.yaml
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,12 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "armada.config.name" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "armada.labels.all" . | nindent 4 }} | ||
type: Opaque | ||
data: | ||
{{ include "armada.config.filename" . }}: | | ||
{{- if .Values.applicationConfig }} | ||
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }} | ||
{{ toYaml .Values.applicationConfig | indent 4 }} | ||
{{- 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
5 changes: 2 additions & 3 deletions
5
deployment/binoculars/templates/secret.yaml → ...yment/binoculars/templates/configmap.yaml
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,12 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "binoculars.config.name" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "binoculars.labels.all" . | nindent 4 }} | ||
type: Opaque | ||
data: | ||
{{ include "binoculars.config.filename" . }}: | | ||
{{- if .Values.applicationConfig }} | ||
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }} | ||
{{ toYaml .Values.applicationConfig | indent 4 }} | ||
{{- 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
6 changes: 3 additions & 3 deletions
6
...ment/event-ingester/templates/secret.yaml → ...t/event-ingester/templates/configmap.yaml
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,13 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "event_ingester.config.name" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "event_ingester.labels.all" . | nindent 4 }} | ||
type: Opaque | ||
data: | ||
{{ include "event_ingester.config.filename" . }}: | | ||
{{- if .Values.applicationConfig }} | ||
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }} | ||
{{ toYaml .Values.applicationConfig | indent 4 }} | ||
{{- 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
5 changes: 2 additions & 3 deletions
5
deployment/executor/templates/secret.yaml → deployment/executor/templates/configmap.yaml
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,12 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "executor.config.name" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "executor.labels.all" . | nindent 4 }} | ||
type: Opaque | ||
data: | ||
{{ include "executor.config.filename" . }}: | | ||
{{- if .Values.applicationConfig }} | ||
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }} | ||
{{ toYaml .Values.applicationConfig | indent 4 }} | ||
{{- 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
5 changes: 2 additions & 3 deletions
5
...lookout-ingester-v2/templates/secret.yaml → ...kout-ingester-v2/templates/configmap.yaml
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,12 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "lookout_ingester_v2.config.name" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "lookout_ingester_v2.labels.all" . | nindent 4 }} | ||
type: Opaque | ||
data: | ||
{{ include "lookout_ingester_v2.config.filename" . }}: | | ||
{{- if .Values.applicationConfig }} | ||
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }} | ||
{{ toYaml .Values.applicationConfig | indent 4 }} | ||
{{- 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
9 changes: 4 additions & 5 deletions
9
deployment/lookout-v2/templates/secret.yaml → ...out-migration-v2/templates/configmap.yaml
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,12 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "lookout_v2.config.name" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "lookout_v2.labels.all" . | nindent 4 }} | ||
type: Opaque | ||
data: | ||
{{ include "lookout_v2.config.filename" . }}: | | ||
{{- if .Values.applicationConfig }} | ||
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }} | ||
{{- end }} | ||
{{- if .Values.applicationConfig }} | ||
{{ toYaml .Values.applicationConfig | indent 4 }} | ||
{{- 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
9 changes: 4 additions & 5 deletions
9
...ookout-migration-v2/templates/secret.yaml → ...yment/lookout-v2/templates/configmap.yaml
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,12 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "lookout_v2.config.name" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "lookout_v2.labels.all" . | nindent 4 }} | ||
type: Opaque | ||
data: | ||
{{ include "lookout_v2.config.filename" . }}: | | ||
{{- if .Values.applicationConfig }} | ||
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }} | ||
{{- end }} | ||
{{- if .Values.applicationConfig }} | ||
{{ toYaml .Values.applicationConfig | indent 4 }} | ||
{{- 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
10 changes: 5 additions & 5 deletions
10
...scheduler-migration/templates/secret.yaml → ...eduler-migration/templates/configmap.yaml
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,13 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "armada-scheduler.config.name" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "armada-scheduler.labels.all" . | nindent 4 }} | ||
type: Opaque | ||
data: | ||
{{ include "armada-scheduler.config.filename" . }}: | | ||
{{- if .Values.applicationConfig }} | ||
{{ toYaml .Values.applicationConfig | b64enc | indent 4 }} | ||
{{- end }} | ||
{{- if .Values.applicationConfig }} | ||
{{ toYaml .Values.applicationConfig | indent 4 }} | ||
{{- 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
9 changes: 4 additions & 5 deletions
9
...scheduler/templates/scheduler-secret.yaml → ...eduler/templates/scheduler-configmap.yaml
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,12 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "armada-scheduler.config.name" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "armada-scheduler.labels.all" . | nindent 4 }} | ||
type: Opaque | ||
data: | ||
{{ include "armada-scheduler.config.filename" . }}: | | ||
{{- if .Values.scheduler.applicationConfig }} | ||
{{ toYaml .Values.scheduler.applicationConfig | b64enc | indent 4 }} | ||
{{- end }} | ||
{{- if .Values.scheduler.applicationConfig }} | ||
{{ toYaml .Values.scheduler.applicationConfig | indent 4 }} | ||
{{- end }} |
9 changes: 4 additions & 5 deletions
9
.../templates/scheduler-ingester-secret.yaml → ...mplates/scheduler-ingester-configmap.yaml
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,12 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "armada-scheduler-ingester.config.name" . }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "armada-scheduler-ingester.labels.all" . | nindent 4 }} | ||
type: Opaque | ||
data: | ||
{{ include "armada-scheduler-ingester.config.filename" . }}: | | ||
{{- if .Values.ingester.applicationConfig }} | ||
{{ toYaml .Values.ingester.applicationConfig | b64enc | indent 4 }} | ||
{{- end }} | ||
{{- if .Values.ingester.applicationConfig }} | ||
{{ toYaml .Values.ingester.applicationConfig | indent 4 }} | ||
{{- 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