Update default openshift.enabled value; Fix argocd-repo-server env template
This commit is contained in:
parent
f48ad8d788
commit
904b549c46
2 changed files with 7 additions and 8 deletions
|
@ -67,17 +67,16 @@ spec:
|
|||
{{- if .Values.repoServer.containerSecurityContext }}
|
||||
securityContext: {{- toYaml .Values.repoServer.containerSecurityContext | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- if .Values.openshift.enabled }}
|
||||
{{- if or (.Values.repoServer.env) (.Values.openshift.enabled) }}
|
||||
env:
|
||||
- name: USER_NAME
|
||||
value: argocd
|
||||
{{- if .Values.repoServer.env }}
|
||||
{{- toYaml .Values.repoServer.env | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- else if .Values.repoServer.env }}
|
||||
env:
|
||||
{{- toYaml .Values.repoServer.env | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.openshift.enabled }}
|
||||
- name: USER_NAME
|
||||
value: argocd
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
{{- if .Values.repoServer.volumeMounts }}
|
||||
{{- toYaml .Values.repoServer.volumeMounts | nindent 8}}
|
||||
|
|
|
@ -792,4 +792,4 @@ configs:
|
|||
# argocdServerAdminPasswordMtime: "2006-01-02T15:04:05Z"
|
||||
|
||||
openshift:
|
||||
enabled: true
|
||||
enabled: false
|
||||
|
|
Loading…
Reference in a new issue