Skip to content

Commit 8d9ad65

Browse files
committed
Addressing comments
1 parent 7fe4ca6 commit 8d9ad65

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

api/v1alpha1/hostedcluster_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,7 @@ type PowerVSPlatformSpec struct {
585585
// CISInstanceCRN is the IBMCloud CIS Service Instance's Cloud Resource Name
586586
// This field is immutable. Once set, It can't be changed.
587587
//
588+
// +kubebuilder:validation:Pattern=`^crn:`
588589
// +immutable
589590
CISInstanceCRN string `json:"cisInstanceCRN"`
590591

cmd/install/assets/hypershift-operator/hypershift.openshift.io_hostedclusters.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,7 @@ spec:
671671
description: CISInstanceCRN is the IBMCloud CIS Service Instance's
672672
Cloud Resource Name This field is immutable. Once set, It
673673
can't be changed.
674+
pattern: '^crn:'
674675
type: string
675676
controlPlaneOperatorCreds:
676677
description: "ControlPlaneOperatorCreds is a reference to

cmd/install/assets/hypershift-operator/hypershift.openshift.io_hostedcontrolplanes.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ spec:
579579
description: CISInstanceCRN is the IBMCloud CIS Service Instance's
580580
Cloud Resource Name This field is immutable. Once set, It
581581
can't be changed.
582+
pattern: '^crn:'
582583
type: string
583584
controlPlaneOperatorCreds:
584585
description: "ControlPlaneOperatorCreds is a reference to

0 commit comments

Comments
 (0)