Skip to content

Commit

Permalink
Merge pull request #38 from stakater-charts/fix-deployment-label-sele…
Browse files Browse the repository at this point in the history
…ctor

Remove extra label from deployment pod selector
  • Loading branch information
kahootali authored Jun 15, 2020
2 parents bedce49 + b7cdfe9 commit 16a1c59
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions application/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ spec:
replicas: {{ .Values.deployment.replicas }}
selector:
matchLabels:
{{ include "application.labels.stakater" . | indent 6 }}
{{ include "application.labels.chart" . | indent 6 }}
{{- if .Values.deployment.additionalLabels }}
{{ toYaml .Values.deployment.additionalLabels | indent 6 }}
{{- end }}
{{ include "application.labels.selector" . | indent 6 }}
{{- if .Values.deployment.strategy }}
strategy:
{{ toYaml .Values.deployment.strategy | indent 4 }}
Expand Down

0 comments on commit 16a1c59

Please sign in to comment.