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
podAffinityTerm:
labelSelector:
matchExpressions: matchExpressions:
- key: cnpg.io/cluster - key: cnpg.io/cluster
operator: In operator: In
values: values:
- mastodon-db - mastodon-db
topologyKey: "kubernetes.io/hostname" topologyKey: "kubernetes.io/hostname"
weight: 100
securityContext: securityContext:
runAsUser: 991 runAsUser: 991
runAsGroup: 991 runAsGroup: 991