Skip to content

Commit

Permalink
Enabling k8s-csr for PKIbackend in kafka cluster spec (#970)
Browse files Browse the repository at this point in the history
* Adding Affinity for Cruise Control

* removing pkg/sdk

* Adding api changes for tag

* Adding Affinity in Cruise Control implementation

* Adding IT for CC affinity

* fixing IT for CC affinity

* Adding value comparision in CC IT

* Enabling k8s-csr in kafka cluster spec
  • Loading branch information
shubhamcoc authored May 12, 2023
1 parent 7b72374 commit 27bfa47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1beta1/kafkacluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ type SSLSecrets struct {
JKSPasswordName string `json:"jksPasswordName,omitempty"`
Create bool `json:"create,omitempty"`
IssuerRef *cmmeta.ObjectReference `json:"issuerRef,omitempty"`
// +kubebuilder:validation:Enum={"cert-manager"}
// +kubebuilder:validation:Enum={"cert-manager","k8s-csr"}
PKIBackend PKIBackend `json:"pkiBackend,omitempty"`
}

Expand Down
1 change: 1 addition & 0 deletions charts/kafka-operator/templates/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21084,6 +21084,7 @@ spec:
the PKIManager
enum:
- cert-manager
- k8s-csr
type: string
tlsSecretName:
type: string
Expand Down
1 change: 1 addition & 0 deletions config/base/crds/kafka.banzaicloud.io_kafkaclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20921,6 +20921,7 @@ spec:
the PKIManager
enum:
- cert-manager
- k8s-csr
type: string
tlsSecretName:
type: string
Expand Down

0 comments on commit 27bfa47

Please sign in to comment.