FIX(pgweb): fix Helm chart schema validation

- Change replicaCount to replicas
- Move affinity to pod.affinity
- Fix bjw-s/app-template chart schema compliance
This commit is contained in:
2026-01-08 13:18:14 +09:00
parent 7487b477a7
commit e0803d1597

View File

@@ -3,7 +3,7 @@
controllers: controllers:
main: main:
replicaCount: 2 replicas: 2
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
containers: containers:
@@ -44,15 +44,16 @@ controllers:
initialDelaySeconds: 5 initialDelaySeconds: 5
periodSeconds: 5 periodSeconds: 5
# Affinity - Soft Anti-Affinity to spread pods across nodes # Affinity - Soft Anti-Affinity to spread pods across nodes
affinity: pod:
podAntiAffinity: affinity:
preferredDuringSchedulingIgnoredDuringExecution: podAntiAffinity:
- weight: 100 preferredDuringSchedulingIgnoredDuringExecution:
podAffinityTerm: - weight: 100
labelSelector: podAffinityTerm:
matchLabels: labelSelector:
app.kubernetes.io/name: pgweb matchLabels:
topologyKey: kubernetes.io/hostname app.kubernetes.io/name: pgweb
topologyKey: kubernetes.io/hostname
service: service:
main: main: