feat: add imagePullSecrets, labels, annotations and update CRDs (#268)
* feat: add imagePullSecrets, labels, annotations and update CRDs * remove global value * keep templated labels * Update charts/argo-rollouts/Chart.yaml update minor version, not just patch Co-Authored-By: Eytan Hanig <eytanhanig@users.noreply.github.com> * Update charts/argo-rollouts/README.md Co-Authored-By: Eytan Hanig <eytanhanig@users.noreply.github.com> Co-authored-by: Eytan Hanig <eytanhanig@users.noreply.github.com>
This commit is contained in:
parent
805371544d
commit
4f4c3af0c2
9 changed files with 714 additions and 150 deletions
|
|
@ -2,10 +2,19 @@ apiVersion: apps/v1
|
|||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
||||
{{- if .Values.podAnnotations }}
|
||||
annotations:
|
||||
{{- range $key, $value := .Values.podAnnotations }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
labels:
|
||||
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||
app.kubernetes.io/name: {{ .Release.Name }}
|
||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||
{{- if .Values.podLabels }}
|
||||
{{- toYaml .Values.podLabels | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
|
|
@ -15,6 +24,10 @@ spec:
|
|||
labels:
|
||||
app.kubernetes.io/name: {{ .Release.Name }}
|
||||
spec:
|
||||
{{- with .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ .Values.serviceAccount.name }}
|
||||
containers:
|
||||
- command:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue