diff --git a/api/v1beta1/kafkacluster_types.go b/api/v1beta1/kafkacluster_types.go index 61d8fab09..7f11832a4 100644 --- a/api/v1beta1/kafkacluster_types.go +++ b/api/v1beta1/kafkacluster_types.go @@ -265,6 +265,9 @@ type CruiseControlConfig struct { // Annotations to be applied to CruiseControl pod // +optional CruiseControlAnnotations map[string]string `json:"cruiseControlAnnotations,omitempty"` + // Labels to be applied to CruiseControl pod + // +optional + CruiseControlLabels map[string]string `json:"cruiseControlLabels,omitempty"` // InitContainers add extra initContainers to CruiseControl pod InitContainers []corev1.Container `json:"initContainers,omitempty"` // Volumes define some extra Kubernetes Volumes for the CruiseControl Pods. @@ -330,6 +333,8 @@ type EnvoyConfig struct { Tolerations []corev1.Toleration `json:"tolerations,omitempty"` // Annotations defines the annotations placed on the envoy ingress controller deployment Annotations map[string]string `json:"annotations,omitempty"` + // Labels defines the labels placed on the envoy ingress controller deployment + Labels map[string]string `json:"labels,omitempty"` // If specified and supported by the platform, traffic through the // cloud-provider load-balancer will be restricted to the specified client // IPs. This field will be ignored if the diff --git a/charts/kafka-operator/templates/crds.yaml b/charts/kafka-operator/templates/crds.yaml index 986098ae6..4dc02a311 100644 --- a/charts/kafka-operator/templates/crds.yaml +++ b/charts/kafka-operator/templates/crds.yaml @@ -12537,6 +12537,11 @@ spec: type: object cruiseControlEndpoint: type: string + cruiseControlLabels: + additionalProperties: + type: string + description: Labels to be applied to CruiseControl pod + type: object cruiseControlOperationSpec: description: CruiseControlOperationSpec specifies the configuration of the CruiseControlOperation handling @@ -16832,6 +16837,12 @@ spec: type: object x-kubernetes-map-type: atomic type: array + labels: + additionalProperties: + type: string + description: Labels defines the labels placed on the + envoy ingress controller deployment + type: object loadBalancerIP: description: LoadBalancerIP can be used to specify an exact IP for the LoadBalancer service