Skip to content

Commit

Permalink
Fix let JKSPasswordName field to be empty (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartam1 authored Oct 11, 2022
1 parent e807183 commit 4bf3c5a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion api/v1beta1/kafkacluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ func (c IngressServiceSettings) GetServiceType() corev1.ServiceType {
// SSLSecrets defines the Kafka SSL secrets
type SSLSecrets struct {
TLSSecretName string `json:"tlsSecretName"`
JKSPasswordName string `json:"jksPasswordName"`
JKSPasswordName string `json:"jksPasswordName,omitempty"`
Create bool `json:"create,omitempty"`
IssuerRef *cmmeta.ObjectReference `json:"issuerRef,omitempty"`
// +kubebuilder:validation:Enum={"cert-manager"}
Expand Down
1 change: 0 additions & 1 deletion charts/kafka-operator/templates/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19744,7 +19744,6 @@ spec:
tlsSecretName:
type: string
required:
- jksPasswordName
- tlsSecretName
type: object
required:
Expand Down
1 change: 0 additions & 1 deletion config/base/crds/kafka.banzaicloud.io_kafkaclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19581,7 +19581,6 @@ spec:
tlsSecretName:
type: string
required:
- jksPasswordName
- tlsSecretName
type: object
required:
Expand Down

0 comments on commit 4bf3c5a

Please sign in to comment.