Update SecretTemplate API comments with new behaviour.
Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
This commit is contained in:
parent
7a4be1edfd
commit
86ae0545d2
@ -123,18 +123,10 @@ type CertificateSpec struct {
|
||||
// denoted issuer.
|
||||
SecretName string
|
||||
|
||||
// SecretTemplate defines annotations and labels to be propagated to the
|
||||
// Kubernetes Secret when it is created or updated. Once created, labels and
|
||||
// annotations are not yet removed from the Secret when they are removed from
|
||||
// the template unless the
|
||||
// 'ExperimentalSecretApplySecretTemplateControllerMinKubernetesVTODO'
|
||||
// feature gate is enabled.
|
||||
// See:
|
||||
// - https://github.com/jetstack/cert-manager/issues/4292
|
||||
// - https://github.com/jetstack/cert-manager/pull/4638
|
||||
// - TODO: website link
|
||||
// +optional
|
||||
SecretTemplate *CertificateSecretTemplate `json:"secretTemplate,omitempty"`
|
||||
// SecretTemplate defines annotations and labels to be copied to the
|
||||
// Certificate's Secret. Labels and annotations on the Secret will be changed
|
||||
// as they appear on the SecretTemplate.
|
||||
SecretTemplate *CertificateSecretTemplate
|
||||
|
||||
// Keystores configures additional keystore output formats stored in the
|
||||
// `secretName` Secret resource.
|
||||
|
||||
@ -135,16 +135,9 @@ type CertificateSpec struct {
|
||||
// denoted issuer.
|
||||
SecretName string `json:"secretName"`
|
||||
|
||||
// SecretTemplate defines annotations and labels to be propagated to the
|
||||
// Kubernetes Secret when it is created or updated. Once created, labels and
|
||||
// annotations are not yet removed from the Secret when they are removed from
|
||||
// the template unless the
|
||||
// 'ExperimentalSecretApplySecretTemplateControllerMinKubernetesVTODO'
|
||||
// feature gate is enabled.
|
||||
// See:
|
||||
// - https://github.com/jetstack/cert-manager/issues/4292
|
||||
// - https://github.com/jetstack/cert-manager/pull/4638
|
||||
// - TODO: website link
|
||||
// SecretTemplate defines annotations and labels to be copied to the
|
||||
// Certificate's Secret. Labels and annotations on the Secret will be changed
|
||||
// as they appear on the SecretTemplate.
|
||||
// +optional
|
||||
SecretTemplate *CertificateSecretTemplate `json:"secretTemplate,omitempty"`
|
||||
|
||||
|
||||
@ -133,16 +133,9 @@ type CertificateSpec struct {
|
||||
// denoted issuer.
|
||||
SecretName string `json:"secretName"`
|
||||
|
||||
// SecretTemplate defines annotations and labels to be propagated to the
|
||||
// Kubernetes Secret when it is created or updated. Once created, labels and
|
||||
// annotations are not yet removed from the Secret when they are removed from
|
||||
// the template unless the
|
||||
// 'ExperimentalSecretApplySecretTemplateControllerMinKubernetesVTODO'
|
||||
// feature gate is enabled.
|
||||
// See:
|
||||
// - https://github.com/jetstack/cert-manager/issues/4292
|
||||
// - https://github.com/jetstack/cert-manager/pull/4638
|
||||
// - TODO: website link
|
||||
// SecretTemplate defines annotations and labels to be copied to the
|
||||
// Certificate's Secret. Labels and annotations on the Secret will be changed
|
||||
// as they appear on the SecretTemplate.
|
||||
// +optional
|
||||
SecretTemplate *CertificateSecretTemplate `json:"secretTemplate,omitempty"`
|
||||
|
||||
|
||||
@ -134,16 +134,9 @@ type CertificateSpec struct {
|
||||
// denoted issuer.
|
||||
SecretName string `json:"secretName"`
|
||||
|
||||
// SecretTemplate defines annotations and labels to be propagated to the
|
||||
// Kubernetes Secret when it is created or updated. Once created, labels and
|
||||
// annotations are not yet removed from the Secret when they are removed from
|
||||
// the template unless the
|
||||
// 'ExperimentalSecretApplySecretTemplateControllerMinKubernetesVTODO'
|
||||
// feature gate is enabled.
|
||||
// See:
|
||||
// - https://github.com/jetstack/cert-manager/issues/4292
|
||||
// - https://github.com/jetstack/cert-manager/pull/4638
|
||||
// - TODO: website link
|
||||
// SecretTemplate defines annotations and labels to be copied to the
|
||||
// Certificate's Secret. Labels and annotations on the Secret will be changed
|
||||
// as they appear on the SecretTemplate.
|
||||
// +optional
|
||||
SecretTemplate *CertificateSecretTemplate `json:"secretTemplate,omitempty"`
|
||||
|
||||
|
||||
@ -138,16 +138,9 @@ type CertificateSpec struct {
|
||||
// denoted issuer.
|
||||
SecretName string `json:"secretName"`
|
||||
|
||||
// SecretTemplate defines annotations and labels to be propagated to the
|
||||
// Kubernetes Secret when it is created or updated. Once created, labels and
|
||||
// annotations are not yet removed from the Secret when they are removed from
|
||||
// the template unless the
|
||||
// 'ExperimentalSecretApplySecretTemplateControllerMinKubernetesVTODO'
|
||||
// feature gate is enabled.
|
||||
// See:
|
||||
// - https://github.com/jetstack/cert-manager/issues/4292
|
||||
// - https://github.com/jetstack/cert-manager/pull/4638
|
||||
// - TODO: website link
|
||||
// SecretTemplate defines annotations and labels to be copied to the
|
||||
// Certificate's Secret. Labels and annotations on the Secret will be changed
|
||||
// as they appear on the SecretTemplate.
|
||||
// +optional
|
||||
SecretTemplate *CertificateSecretTemplate `json:"secretTemplate,omitempty"`
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user