Update SecretTemplate API comments to highlight that annotations are
appended to base annotations Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
This commit is contained in:
parent
38084fb719
commit
5019aaacfc
@ -206,7 +206,7 @@ spec:
|
||||
description: SecretName is the name of the secret resource that will be automatically created and managed by this Certificate resource. It will be populated with a private key and certificate, signed by the denoted issuer.
|
||||
type: string
|
||||
secretTemplate:
|
||||
description: 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.
|
||||
description: 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 when added or removed. SecretTemplate annotations are added in conjunction with, and cannot overwrite, the base set of annotations cert-manager sets on the Certificate's Secret.
|
||||
type: object
|
||||
properties:
|
||||
annotations:
|
||||
|
||||
@ -125,7 +125,9 @@ type CertificateSpec struct {
|
||||
|
||||
// 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.
|
||||
// as they appear on the SecretTemplate when added or removed. SecretTemplate
|
||||
// annotations are added in conjunction with, and cannot overwrite, the base
|
||||
// set of annotations cert-manager sets on the Certificate's Secret.
|
||||
SecretTemplate *CertificateSecretTemplate
|
||||
|
||||
// Keystores configures additional keystore output formats stored in the
|
||||
|
||||
@ -137,7 +137,9 @@ type CertificateSpec struct {
|
||||
|
||||
// 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.
|
||||
// as they appear on the SecretTemplate when added or removed. SecretTemplate
|
||||
// annotations are added in conjunction with, and cannot overwrite, the base
|
||||
// set of annotations cert-manager sets on the Certificate's Secret.
|
||||
// +optional
|
||||
SecretTemplate *CertificateSecretTemplate `json:"secretTemplate,omitempty"`
|
||||
|
||||
|
||||
@ -135,7 +135,9 @@ type CertificateSpec struct {
|
||||
|
||||
// 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.
|
||||
// as they appear on the SecretTemplate when added or removed. SecretTemplate
|
||||
// annotations are added in conjunction with, and cannot overwrite, the base
|
||||
// set of annotations cert-manager sets on the Certificate's Secret.
|
||||
// +optional
|
||||
SecretTemplate *CertificateSecretTemplate `json:"secretTemplate,omitempty"`
|
||||
|
||||
|
||||
@ -136,7 +136,9 @@ type CertificateSpec struct {
|
||||
|
||||
// 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.
|
||||
// as they appear on the SecretTemplate when added or removed. SecretTemplate
|
||||
// annotations are added in conjunction with, and cannot overwrite, the base
|
||||
// set of annotations cert-manager sets on the Certificate's Secret.
|
||||
// +optional
|
||||
SecretTemplate *CertificateSecretTemplate `json:"secretTemplate,omitempty"`
|
||||
|
||||
|
||||
@ -140,7 +140,9 @@ type CertificateSpec struct {
|
||||
|
||||
// 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.
|
||||
// as they appear on the SecretTemplate when added or removed. SecretTemplate
|
||||
// annotations are added in conjunction with, and cannot overwrite, the base
|
||||
// set of annotations cert-manager sets on the Certificate's Secret.
|
||||
// +optional
|
||||
SecretTemplate *CertificateSecretTemplate `json:"secretTemplate,omitempty"`
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user