Skip to content

Commit

Permalink
Update Helm Schema Validation for topologySpreadConstraints and custo…
Browse files Browse the repository at this point in the history
…mCertSecretPath (#4112)

* change type for topologySpreadConstraints and customCertSecretPath from object to list

* change type from object to list for customCertSecretPath and topologySpreadConstraints

* fix list to array
  • Loading branch information
AliaksandrTsimokhau authored Feb 13, 2025
1 parent 34525fe commit 700b19c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions install/helm/agones/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@
"type": "integer"
},
"topologySpreadConstraints": {
"type": "object"
"type": "array"
},
"apiServerQPS": {
"type": "integer"
Expand Down Expand Up @@ -736,7 +736,7 @@
]
},
"topologySpreadConstraints": {
"type": "object"
"type": "array"
}
},
"allOf": [
Expand Down Expand Up @@ -1093,7 +1093,7 @@
]
},
"topologySpreadConstraints": {
"type": "object"
"type": "array"
},
"healthCheck": {
"$ref": "#/definitions/healthCheck"
Expand Down Expand Up @@ -1209,7 +1209,7 @@
"type": "boolean"
},
"customCertSecretPath": {
"type": "object"
"type": "array"
},
"allocationApiService": {
"type": "object",
Expand Down Expand Up @@ -1286,7 +1286,7 @@
]
},
"topologySpreadConstraints": {
"type": "object"
"type": "array"
}
},
"allOf": [
Expand Down
10 changes: 5 additions & 5 deletions install/helm/agones/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ agones:
replicas: 2
pdb:
minAvailable: 1
topologySpreadConstraints: {}
topologySpreadConstraints: []
extensions:
resources: {}
# requests:
Expand Down Expand Up @@ -134,7 +134,7 @@ agones:
mutatingWebhook:
annotations: {}
disableCaBundle: false
customCertSecretPath: {}
customCertSecretPath: []
persistentLogs: true
persistentLogsSizeLimitMB: 10000
logLevel: info
Expand All @@ -158,7 +158,7 @@ agones:
initialDelaySeconds: 3
periodSeconds: 3
failureThreshold: 3
topologySpreadConstraints: {}
topologySpreadConstraints: []
ping:
install: true
pdb:
Expand Down Expand Up @@ -202,7 +202,7 @@ agones:
periodSeconds: 3
failureThreshold: 3
timeoutSeconds: 1
topologySpreadConstraints: {}
topologySpreadConstraints: []
allocator:
install: true
pdb:
Expand Down Expand Up @@ -273,7 +273,7 @@ agones:
remoteAllocationTimeout: 10s
totalRemoteAllocationTimeout: 30s
allocationBatchWaitTime: 500ms
topologySpreadConstraints: {}
topologySpreadConstraints: []
image:
registry: us-docker.pkg.dev/agones-images/release
tag: 1.48.0-dev
Expand Down

0 comments on commit 700b19c

Please sign in to comment.