Skip to content

Commit

Permalink
Make secret fields mutable
Browse files Browse the repository at this point in the history
To allow for migrations, leveraging different secrets for the same pulp instance, fields have been made mutable

Closes #1343
  • Loading branch information
StopMotionCuber committed Sep 18, 2024
1 parent 26ac1d9 commit 350b3e7
Show file tree
Hide file tree
Showing 5 changed files with 515 additions and 184 deletions.
1 change: 1 addition & 0 deletions apis/repo-manager.pulpproject.org/v1beta2/pulp_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ type PulpSpec struct {
// Default: "pulp"
// +kubebuilder:default:="pulp"
// +kubebuilder:validation:Enum:=pulp;galaxy
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="deployment_type is immutable"
// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:hidden"}
DeploymentType string `json:"deployment_type,omitempty"`

Expand Down
Loading

0 comments on commit 350b3e7

Please sign in to comment.