Skip to content

Commit

Permalink
refactor(api-auth): set tls secret field required
Browse files Browse the repository at this point in the history
  • Loading branch information
whg517 committed Sep 2, 2024
1 parent 1b3c933 commit 25b7650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/authentication/v1alpha1/authentication_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ type OIDCTls struct {
}

type TLSPrivider struct {
// +kubebuilder:validation:Optional
CertSecretClass string `json:"certSecretClass,omitempty"`
// +kubebuilder:validation:Required
CertSecretClass string `json:"certSecretClass"`
}

type StaticProvider struct {
Expand Down

0 comments on commit 25b7650

Please sign in to comment.