Skip to content

Commit

Permalink
Address latest review comment
Browse files Browse the repository at this point in the history
Signed-off-by: Rashmi Gottipati <chowdary.grashmi@gmail.com>
  • Loading branch information
rashmigottipati committed May 14, 2024
1 parent 3fc6449 commit fffc98a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/clusterextension_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ type CRDUpgradeSafetyPreflightConfig struct {
//+kubebuilder:validation:Enum:=Enabled;Disabled
//+kubebuilder:default:=Enabled
//+kubebuilder:Optional
CRDUpgradeSafetyMode CRDUpgradeSafetyMode `json:"crdUpgradeSafetyMode,omitempty"`
CRDUpgradeSafetyMode CRDUpgradeSafetyMode `json:"mode,omitempty"`
}

type CRDUpgradeSafetyMode string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
that sets the CRD Upgrade Safety validations to either Enabled/Disabled.
By default, this is set to "Enabled".
properties:
crdUpgradeSafetyMode:
mode:
default: Enabled
enum:
- Enabled
Expand Down

0 comments on commit fffc98a

Please sign in to comment.