feat(argo-cd): prepare (dex) for readOnlyRootFilesystem (#623)
This commit is contained in:
parent
eb16df15da
commit
650abd1eb1
3 changed files with 16 additions and 7 deletions
|
|
@ -86,10 +86,12 @@ spec:
|
|||
containerPort: {{ .Values.dex.containerPortMetrics }}
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
{{- if .Values.dex.volumeMounts }}
|
||||
volumeMounts:
|
||||
{{- toYaml .Values.dex.volumeMounts | nindent 10 }}
|
||||
{{- end }}
|
||||
- mountPath: /tmp
|
||||
name: tmp-dir
|
||||
{{- if .Values.dex.volumeMounts }}
|
||||
{{- toYaml .Values.dex.volumeMounts | nindent 8 }}
|
||||
{{- end }}
|
||||
resources:
|
||||
{{- toYaml .Values.dex.resources | nindent 10 }}
|
||||
{{- if .Values.dex.nodeSelector }}
|
||||
|
|
@ -105,10 +107,12 @@ spec:
|
|||
{{- toYaml .Values.dex.affinity | nindent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ template "argo-cd.dexServiceAccountName" . }}
|
||||
{{- if .Values.dex.volumes }}
|
||||
volumes:
|
||||
{{- toYaml .Values.dex.volumes | nindent 8}}
|
||||
{{- end }}
|
||||
- emptyDir: {}
|
||||
name: tmp-dir
|
||||
{{- if .Values.dex.volumes }}
|
||||
{{- toYaml .Values.dex.volumes | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- if .Values.dex.priorityClassName }}
|
||||
priorityClassName: {{ .Values.dex.priorityClassName }}
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue