chore(helm): Disabling linkerd for cronjobs

This commit is contained in:
rjshrjndrn 2023-01-05 00:29:31 +01:00
parent 8c00dfa1b6
commit cfce1eb84e
6 changed files with 23 additions and 1 deletions

View file

@ -11,6 +11,11 @@ spec:
spec:
backoffLimit: 0 # Don't restart the failed jobs
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 12 }}
{{- end }}
spec:
restartPolicy: Never
containers:

View file

@ -12,6 +12,11 @@ spec:
spec:
backoffLimit: 0 # Don't restart the failed jobs
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 12 }}
{{- end }}
spec:
restartPolicy: Never
containers:

View file

@ -12,6 +12,11 @@ spec:
spec:
backoffLimit: 0 # Don't restart the failed jobs
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 12 }}
{{- end }}
spec:
restartPolicy: Never
containers:

View file

@ -12,6 +12,11 @@ spec:
spec:
backoffLimit: 0 # Don't restart the failed jobs
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 12 }}
{{- end }}
spec:
restartPolicy: Never
containers:

View file

@ -85,6 +85,9 @@ cron: "5 3 */3 * *"
# Pod configurations
podAnnotations:
linkerd.io/inject: disabled
securityContext:
runAsUser: 1001
runAsGroup: 1001

View file

@ -30,7 +30,6 @@ spec:
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
spec:
initContainers:
- name: git