change a new way to add configmap
This commit is contained in:
parent
48d49e4741
commit
7cc96494ce
1 changed files with 6 additions and 3 deletions
|
@ -8,9 +8,6 @@ metadata:
|
||||||
heritage: {{ .Release.Service }}
|
heritage: {{ .Release.Service }}
|
||||||
data:
|
data:
|
||||||
config: |
|
config: |
|
||||||
{{- if .Values.controller.executor.enabled }}
|
|
||||||
executor:
|
|
||||||
{{ toYaml .Values.controller.executor | indent 6}}{{- end -}}
|
|
||||||
{{- if .Values.controller.instanceID.enabled }}
|
{{- if .Values.controller.instanceID.enabled }}
|
||||||
{{- if .Values.controller.instanceID.useReleaseName }}
|
{{- if .Values.controller.instanceID.useReleaseName }}
|
||||||
instanceID: {{ .Release.Name }}
|
instanceID: {{ .Release.Name }}
|
||||||
|
@ -19,6 +16,12 @@ data:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containerRuntimeExecutor: {{ .Values.controller.containerRuntimeExecutor }}
|
containerRuntimeExecutor: {{ .Values.controller.containerRuntimeExecutor }}
|
||||||
|
{{- if .Values.executor.env }}
|
||||||
|
executor:
|
||||||
|
{{- with .Values.executor.env }}
|
||||||
|
env: {{- toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
artifactRepository:
|
artifactRepository:
|
||||||
{{- if or .Values.minio.install .Values.useDefaultArtifactRepo }}
|
{{- if or .Values.minio.install .Values.useDefaultArtifactRepo }}
|
||||||
{{- if .Values.artifactRepository.archiveLogs }}
|
{{- if .Values.artifactRepository.archiveLogs }}
|
||||||
|
|
Loading…
Reference in a new issue