Skip to content

Commit

Permalink
Merge pull request #348 from catpineapple/kerberos-type-fix
Browse files Browse the repository at this point in the history
[fix](dcr) fix kerberos type
  • Loading branch information
intelligentfu8 authored Mar 4, 2025
2 parents 5ea7e13 + 4b9cce4 commit 528c324
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 14 deletions.
4 changes: 2 additions & 2 deletions api/doris/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ type DorisClusterSpec struct {

type KerberosInfo struct {
// Krb5ConfigMap is the name of configmap within 'krb5.conf'
Krb5ConfigMap string `json:"krb5ConfigMap"`
Krb5ConfigMap string `json:"krb5ConfigMap,omitempty"`

// SecretName is the name of sercet within '*.keytab' files,
// refer to the following command to create a Secret :
// 'kubectl create secret generic {secret-name} --from-file=. '
KeytabSecretName string `json:"keytabSecretName"`
KeytabSecretName string `json:"keytabSecretName,omitempty"`

// KeytabPath is the path where the Secret is finally stored inside the pod. default '/etc/keytab/'.
// It is not recommended to modify it unless necessary.
Expand Down
3 changes: 0 additions & 3 deletions config/crd/bases/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8868,9 +8868,6 @@ spec:
krb5ConfigMap:
description: Krb5ConfigMap is the name of configmap within 'krb5.conf'
type: string
required:
- keytabSecretName
- krb5ConfigMap
type: object
type: object
status:
Expand Down
3 changes: 0 additions & 3 deletions config/crd/bases/doris.apache.com_dorisclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8868,9 +8868,6 @@ spec:
krb5ConfigMap:
description: Krb5ConfigMap is the name of configmap within 'krb5.conf'
type: string
required:
- keytabSecretName
- krb5ConfigMap
type: object
type: object
status:
Expand Down
3 changes: 0 additions & 3 deletions config/crd/bases/doris.selectdb.com_dorisclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8868,9 +8868,6 @@ spec:
krb5ConfigMap:
description: Krb5ConfigMap is the name of configmap within 'krb5.conf'
type: string
required:
- keytabSecretName
- krb5ConfigMap
type: object
type: object
status:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8868,9 +8868,6 @@ spec:
krb5ConfigMap:
description: Krb5ConfigMap is the name of configmap within 'krb5.conf'
type: string
required:
- keytabSecretName
- krb5ConfigMap
type: object
type: object
status:
Expand Down

0 comments on commit 528c324

Please sign in to comment.