Skip to content

Commit

Permalink
[FIX] podAffinityTerm
Browse files Browse the repository at this point in the history
  • Loading branch information
az-adhoc committed Feb 14, 2025
1 parent 5130c04 commit 1b69c01
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/adhoc-odoo/v0.2.9/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ spec:
- weight: 100
podAffinityTerm:
labelSelector:
cnpg.io/cluster: {{ .Release.Name }}-pg
matchLabels:
cnpg.io/cluster: {{ .Release.Name }}-pg
topologyKey: "kubernetes.io/hostname"
{{- end }}
{{- if .Values.nodeTag }}
Expand Down

0 comments on commit 1b69c01

Please sign in to comment.