Skip to content

Commit

Permalink
add(api/kafkauser_types): description for SecretName (#1030)
Browse files Browse the repository at this point in the history
Co-authored-by: Patrik Egyed <[email protected]>
  • Loading branch information
matewolf and pregnor authored Aug 15, 2023
1 parent 4329189 commit 956d251
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1alpha1/kafkauser_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const (
// KafkaUserSpec defines the desired state of KafkaUser
// +k8s:openapi-gen=true
type KafkaUserSpec struct {
// secretName is used as the name of the K8S secret that contains the certificate of the KafkaUser. SecretName should be unique inside the namespace where KafkaUser is located.
SecretName string `json:"secretName"`
ClusterRef ClusterReference `json:"clusterRef"`
// Annotations defines the annotations placed on the certificate or certificate signing request object
Expand Down
3 changes: 3 additions & 0 deletions config/base/crds/kafka.banzaicloud.io_kafkausers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ spec:
- pkiBackend
type: object
secretName:
description: secretName is used as the name of the K8S secret that
contains the certificate of the KafkaUser. SecretName should be
unique inside the namespace where KafkaUser is located.
type: string
topicGrants:
items:
Expand Down

0 comments on commit 956d251

Please sign in to comment.