fix(deploy): Affinity typo

This commit is contained in:
Tanguy Herbron 2025-04-28 01:10:44 +02:00
parent afd7bcdf0b
commit c688bea958

View File

@ -14,16 +14,17 @@ spec:
app: mastodon app: mastodon
spec: spec:
affinity: affinity:
podAntiAffinity: podAffinity:
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
- labelSelector: - weight: 100
matchExpressions: podAffinityTerm:
- key: cnpg.io/cluster labelSelector:
operator: In matchExpressions:
values: - key: cnpg.io/cluster
- mastodon-db operator: In
topologyKey: "kubernetes.io/hostname" values:
weight: 100 - mastodon-db
topologyKey: "kubernetes.io/hostname"
securityContext: securityContext:
runAsUser: 991 runAsUser: 991
runAsGroup: 991 runAsGroup: 991