Add "IfNotPresent" to ResolvePolicy enum

Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
This commit is contained in:
Sergen Yalçın 2022-06-16 13:48:01 +03:00
parent 75dda897e5
commit 23dad77b17
No known key found for this signature in database
GPG Key ID: 1EC8D6C7CC79DB6B
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ type Policy struct {
// the corresponding field is not present. Use 'Always' to resolve the
// reference on every reconcile.
// +optional
// +kubebuilder:validation:Enum=Always
// +kubebuilder:validation:Enum=Always;IfNotPresent
Resolve *ResolvePolicy `json:"resolve,omitempty"`
// Resolution specifies whether resolution of this reference is required.