refactor(helm): do not specify Job .spec.selector (bast practice)
See: https://kubernetes.io/docs/concepts/workloads/controllers/job/#specifying-your-own-pod-selector
This commit is contained in:
parent
d09c18f654
commit
800f65a5e6
2 changed files with 0 additions and 10 deletions
|
|
@ -14,11 +14,6 @@ spec:
|
|||
backoffLimit: 0
|
||||
ttlSecondsAfterFinished: 86400 # 1 day
|
||||
activeDeadlineSeconds: 120 # 2 minutes
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: {{ .Chart.Name }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/component: database-migration
|
||||
template:
|
||||
spec:
|
||||
{{- if .Values.dockerconfigjsonBase64 }}
|
||||
|
|
|
|||
|
|
@ -14,11 +14,6 @@ spec:
|
|||
backoffLimit: 0
|
||||
ttlSecondsAfterFinished: 86400 # 1 day
|
||||
activeDeadlineSeconds: 120 # 2 minutes
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: {{ .Chart.Name }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
app.kubernetes.io/component: database-seed
|
||||
template:
|
||||
spec:
|
||||
{{- if .Values.dockerconfigjsonBase64 }}
|
||||
|
|
|
|||
Reference in a new issue