Skip to content

Commit

Permalink
Addressing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dharaneeshvrd committed Jun 21, 2022
1 parent 7fe4ca6 commit 8d9ad65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1alpha1/hostedcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,7 @@ type PowerVSPlatformSpec struct {
// CISInstanceCRN is the IBMCloud CIS Service Instance's Cloud Resource Name
// This field is immutable. Once set, It can't be changed.
//
// +kubebuilder:validation:Pattern=`^crn:`
// +immutable
CISInstanceCRN string `json:"cisInstanceCRN"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ spec:
description: CISInstanceCRN is the IBMCloud CIS Service Instance's
Cloud Resource Name This field is immutable. Once set, It
can't be changed.
pattern: '^crn:'
type: string
controlPlaneOperatorCreds:
description: "ControlPlaneOperatorCreds is a reference to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ spec:
description: CISInstanceCRN is the IBMCloud CIS Service Instance's
Cloud Resource Name This field is immutable. Once set, It
can't be changed.
pattern: '^crn:'
type: string
controlPlaneOperatorCreds:
description: "ControlPlaneOperatorCreds is a reference to
Expand Down

0 comments on commit 8d9ad65

Please sign in to comment.