Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Envoy and Cruisecontrol custom label addition #951

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions api/v1beta1/kafkacluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions charts/kafka-operator/templates/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down