1
0
mirror of https://github.com/containous/traefik.git synced 2024-12-22 13:34:03 +03:00

fix: add missing RequireAnyClientCert value to TLSOption CRD

This commit is contained in:
Kevin Pollet 2021-09-24 11:32:07 +02:00 committed by GitHub
parent 61ceb7a32c
commit 126b32c579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -54,6 +54,7 @@ spec:
enum:
- NoClientCert
- RequestClientCert
- RequireAnyClientCert
- VerifyClientCertIfGiven
- RequireAndVerifyClientCert
type: string

View File

@ -1226,6 +1226,7 @@ spec:
enum:
- NoClientCert
- RequestClientCert
- RequireAnyClientCert
- VerifyClientCertIfGiven
- RequireAndVerifyClientCert
type: string

View File

@ -36,7 +36,7 @@ type TLSOptionSpec struct {
type ClientAuth struct {
// SecretName is the name of the referenced Kubernetes Secret to specify the certificate details.
SecretNames []string `json:"secretNames,omitempty"`
// +kubebuilder:validation:Enum=NoClientCert;RequestClientCert;VerifyClientCertIfGiven;RequireAndVerifyClientCert
// +kubebuilder:validation:Enum=NoClientCert;RequestClientCert;RequireAnyClientCert;VerifyClientCertIfGiven;RequireAndVerifyClientCert
// ClientAuthType defines the client authentication type to apply.
ClientAuthType string `json:"clientAuthType,omitempty"`
}