FIX(applications): correct bjw-s/app-template schema for replica and affinity
- Move replicaCount to controllers.main level - Move affinity to controllers.main.pod level - Fix Helm schema validation errors for docusaurus, homer, mas FIX(applications): move replicaCount to top level for bjw-s/app-template - Move replicaCount from controllers.main to top level - Keep affinity in controllers.main.pod.affinity - Fix Helm schema validation errors FIX(applications): use replicas instead of replicaCount for bjw-s/app-template - Change replicaCount to controllers.main.replicas - Fix schema validation for bjw-s/app-template chart
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
controllers:
|
||||
main:
|
||||
replicaCount: 2
|
||||
replicas: 2
|
||||
annotations:
|
||||
docusaurus/source-hash: "2024-12-30-v1"
|
||||
initContainers:
|
||||
@@ -56,16 +56,17 @@ controllers:
|
||||
port: 80
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
podAffinityTerm:
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: docusaurus
|
||||
topologyKey: kubernetes.io/hostname
|
||||
pod:
|
||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
podAffinityTerm:
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: docusaurus
|
||||
topologyKey: kubernetes.io/hostname
|
||||
|
||||
service:
|
||||
main:
|
||||
|
||||
Reference in New Issue
Block a user