We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents de29b33 + bf99b9c commit fde45afCopy full SHA for fde45af
1 file changed
components/openstack/templates/mariadb-instance.yaml.tpl
@@ -43,7 +43,16 @@ spec:
43
44
galera:
45
{{ toYaml .Values.mariadb.galera | indent 4 }}
46
-
+ affinity:
47
+ antiAffinityEnabled: {{ .Values.mariadb.antiAffinityEnabled | default true }}
48
+ nodeAffinity:
49
+ requiredDuringSchedulingIgnoredDuringExecution:
50
+ nodeSelectorTerms:
51
+ - matchExpressions:
52
+ - key: openstack-control-plane
53
+ operator: In
54
+ values:
55
+ - enabled
56
---
57
# mariadb-operator backups for openstack
58
# https://github.com/mariadb-operator/mariadb-operator/blob/main/docs/BACKUP.md
0 commit comments