mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-14 11:57:59 +00:00
add missing default values for spec.target (#1431)
Add missing default values for ExternalSecretTarget on CRD definition Fixes #1233 Signed-off-by: Helena Steck <steckhelena@gmail.com>
This commit is contained in:
parent
dfb5c9419b
commit
2b5710d8d5
4 changed files with 13 additions and 0 deletions
|
@ -271,6 +271,7 @@ type FindName struct {
|
|||
// ExternalSecretSpec defines the desired state of ExternalSecret.
|
||||
type ExternalSecretSpec struct {
|
||||
SecretStoreRef SecretStoreRef `json:"secretStoreRef"`
|
||||
// +kubebuilder:default={creationPolicy:Owner,deletionPolicy:Retain}
|
||||
// +optional
|
||||
Target ExternalSecretTarget `json:"target,omitempty"`
|
||||
|
||||
|
|
|
@ -220,6 +220,9 @@ spec:
|
|||
- name
|
||||
type: object
|
||||
target:
|
||||
default:
|
||||
creationPolicy: Owner
|
||||
deletionPolicy: Retain
|
||||
description: ExternalSecretTarget defines the Kubernetes Secret
|
||||
to be created There can be only one target per ExternalSecret.
|
||||
properties:
|
||||
|
|
|
@ -453,6 +453,9 @@ spec:
|
|||
- name
|
||||
type: object
|
||||
target:
|
||||
default:
|
||||
creationPolicy: Owner
|
||||
deletionPolicy: Retain
|
||||
description: ExternalSecretTarget defines the Kubernetes Secret to
|
||||
be created There can be only one target per ExternalSecret.
|
||||
properties:
|
||||
|
|
|
@ -186,6 +186,9 @@ spec:
|
|||
- name
|
||||
type: object
|
||||
target:
|
||||
default:
|
||||
creationPolicy: Owner
|
||||
deletionPolicy: Retain
|
||||
description: ExternalSecretTarget defines the Kubernetes Secret to be created There can be only one target per ExternalSecret.
|
||||
properties:
|
||||
creationPolicy:
|
||||
|
@ -2949,6 +2952,9 @@ spec:
|
|||
- name
|
||||
type: object
|
||||
target:
|
||||
default:
|
||||
creationPolicy: Owner
|
||||
deletionPolicy: Retain
|
||||
description: ExternalSecretTarget defines the Kubernetes Secret to be created There can be only one target per ExternalSecret.
|
||||
properties:
|
||||
creationPolicy:
|
||||
|
|
Loading…
Reference in a new issue