fix typo in tmpl and run codegen

This commit is contained in:
Ryan Richard
2024-08-05 10:44:04 -07:00
parent b70db9dc03
commit 06b7d302a2
74 changed files with 338 additions and 34 deletions

View File

@@ -23,7 +23,7 @@ type CertificateAuthorityDataSourceSpec struct {
// Allowed values are "Secret" or "ConfigMap".
// "ConfigMap" uses a Kubernetes configmap to source CA Bundles.
// "Secret" uses Kubernetes secrets of type kubernetes.io/tls or Opaque to source CA Bundles.
Kind string `json:"kind"`
Kind CertificateAuthorityDataSourceKind `json:"kind"`
// Name is the resource name of the secret or configmap from which to read the CA bundle.
// The referenced secret or configmap must be created in the same namespace where Pinniped Concierge is installed.
// +kubebuilder:validation:MinLength=1

View File

@@ -23,7 +23,7 @@ type CertificateAuthorityDataSourceSpec struct {
// Allowed values are "Secret" or "ConfigMap".
// "ConfigMap" uses a Kubernetes configmap to source CA Bundles.
// "Secret" uses Kubernetes secrets of type kubernetes.io/tls or Opaque to source CA Bundles.
Kind string `json:"kind"`
Kind CertificateAuthorityDataSourceKind `json:"kind"`
// Name is the resource name of the secret or configmap from which to read the CA bundle.
// The referenced secret or configmap must be created in the same namespace where Pinniped Supervisor is installed.
// +kubebuilder:validation:MinLength=1