Skip to content

Commit

Permalink
Update deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
khushimalhoz authored Aug 2, 2024
1 parent 2deb7fb commit 59ca5de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/microservice/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ spec:
podAffinityTerm:
labelSelector:
matchLabels:
app: {{ include "microservice.fullname" . }}-app
app: {{ include "microservice.fullname" . }}
topologyKey: topology.kubernetes.io/zone
{{- end }}
{{- if .Values.deployment.topologySpreadConstraints.enabled }}
Expand All @@ -119,7 +119,7 @@ spec:
whenUnsatisfiable: "DoNotSchedule"
labelSelector:
matchLabels:
app: {{ include "microservice.fullname" . }}-app
app: {{ include "microservice.fullname" . }}
minDomains: 2
{{- end }}
{{- end }}
Expand Down

0 comments on commit 59ca5de

Please sign in to comment.