Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 398652a

Browse files
committed
HOTFIX: add new fields to crd in helm chart
1 parent 974b784 commit 398652a

File tree

2 files changed

+48
-21
lines changed

2 files changed

+48
-21
lines changed

charts/kafka-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: kafka-operator
3-
version: 0.0.6
3+
version: 0.0.7
44
description: kafka-operator manages Kafka deployments on Kubernetes
55
sources:
66
- https://github.com/banzaicloud/kafka-operator

charts/kafka-operator/templates/operator-kafka-crd.yaml

Lines changed: 47 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ spec:
3535
spec:
3636
properties:
3737
brokerConfigs:
38-
description: RackAwarenessEnabled bool `json:"rackAwarenessEnabled,omitempty"`
3938
items:
4039
properties:
4140
config:
@@ -45,6 +44,8 @@ spec:
4544
type: integer
4645
image:
4746
type: string
47+
nodeAffinity:
48+
type: object
4849
storageConfigs:
4950
items:
5051
properties:
@@ -53,15 +54,28 @@ spec:
5354
pvcSpec:
5455
type: object
5556
required:
56-
- mountPath
57-
- pvcSpec
57+
- mountPath
58+
- pvcSpec
5859
type: object
5960
type: array
6061
required:
61-
- id
62-
- storageConfigs
62+
- id
63+
- storageConfigs
6364
type: object
6465
type: array
66+
cruiseControlConfig:
67+
properties:
68+
capacityConfig:
69+
type: string
70+
clusterConfigs:
71+
type: string
72+
config:
73+
type: string
74+
required:
75+
- config
76+
- capacityConfig
77+
- clusterConfigs
78+
type: object
6579
listenersConfig:
6680
properties:
6781
externalListeners:
@@ -78,10 +92,10 @@ spec:
7892
type:
7993
type: string
8094
required:
81-
- type
82-
- name
83-
- externalStartingPort
84-
- containerPort
95+
- type
96+
- name
97+
- externalStartingPort
98+
- containerPort
8599
type: object
86100
type: array
87101
internalListeners:
@@ -97,10 +111,10 @@ spec:
97111
usedForInnerBrokerCommunication:
98112
type: boolean
99113
required:
100-
- type
101-
- name
102-
- usedForInnerBrokerCommunication
103-
- containerPort
114+
- type
115+
- name
116+
- usedForInnerBrokerCommunication
117+
- containerPort
104118
type: object
105119
type: array
106120
sslSecrets:
@@ -110,11 +124,22 @@ spec:
110124
tlsSecretName:
111125
type: string
112126
required:
113-
- tlsSecretName
114-
- jksPasswordName
127+
- tlsSecretName
128+
- jksPasswordName
115129
type: object
116130
required:
117-
- internalListeners
131+
- internalListeners
132+
type: object
133+
oneBrokerPerNode:
134+
type: boolean
135+
rackAwareness:
136+
properties:
137+
labels:
138+
items:
139+
type: string
140+
type: array
141+
required:
142+
- labels
118143
type: object
119144
serviceAccount:
120145
type: string
@@ -123,10 +148,12 @@ spec:
123148
type: string
124149
type: array
125150
required:
126-
- listenersConfig
127-
- zkAddresses
128-
- brokerConfigs
129-
- serviceAccount
151+
- listenersConfig
152+
- zkAddresses
153+
- brokerConfigs
154+
- oneBrokerPerNode
155+
- cruiseControlConfig
156+
- serviceAccount
130157
type: object
131158
status:
132159
properties:

0 commit comments

Comments
 (0)