Mariadb: fix pod antiaffinity declaration
This PS fixes the pod antiaffinity declaration for MariaDB. Change-Id: Iadbccd1b9ead1dfd01a82f880adfced647cba5de
This commit is contained in:
parent
6d77f74a45
commit
4cc4b66898
@ -38,7 +38,8 @@ spec:
|
|||||||
matchExpressions:
|
matchExpressions:
|
||||||
- key: app
|
- key: app
|
||||||
operator: In
|
operator: In
|
||||||
values: ["mariadb"]
|
values:
|
||||||
|
- {{ .Values.service_name }}
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: kubernetes.io/hostname
|
||||||
weight: 10
|
weight: 10
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user