Skip to content

Commit 7403e9d

Browse files
pascalfreundsrfPascal Freund
andauthored
[zookeeper] Fix/allow zookeeper to scale to 0 replicas (CloudPirates-io#196)
* Update values.schema.json to allow zookeeper to scale to 0 replicas * Bump zookeeper chart version * Add targetPlatform field for rendering the securityContext --------- Co-authored-by: Pascal Freund <[email protected]>
1 parent 93762d4 commit 7403e9d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

charts/zookeeper/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: zookeeper
33
description: Apache ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.
44
type: application
5-
version: 0.1.4
5+
version: 0.1.5
66
appVersion: "3.9.3"
77
keywords:
88
- zookeeper
@@ -25,4 +25,4 @@ dependencies:
2525
- name: common
2626
version: "1.x.x"
2727
repository: oci://registry-1.docker.io/cloudpirates
28-
icon: https://a.storyblok.com/f/143071/512x512/07b0f90b58/apache-zookeeper-logo.svg
28+
icon: https://a.storyblok.com/f/143071/512x512/07b0f90b58/apache-zookeeper-logo.svg

charts/zookeeper/values.schema.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"pullPolicy": { "type": "string", "enum": ["Always", "Never", "IfNotPresent"] }
3434
}
3535
},
36-
"replicaCount": { "type": "integer", "minimum": 1 },
36+
"replicaCount": { "type": "integer", "minimum": 0 },
3737
"metrics": {
3838
"type": "object",
3939
"properties": {
@@ -157,6 +157,10 @@
157157
},
158158
"nodeSelector": { "type": "object", "additionalProperties": { "type": "string" } },
159159
"priorityClassName": { "type": "string" },
160+
"targetPlatform": {
161+
"type": "string",
162+
"description": "Target platform for deployment (e.g., openshift, default)"
163+
},
160164
"tolerations": {
161165
"type": "array",
162166
"items": {

0 commit comments

Comments
 (0)