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

Enabling k8s-csr for PKIbackend in kafka cluster spec #970

Merged
merged 12 commits into from
May 12, 2023
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