Skip to content

Commit 7bd200b

Browse files
aanchal22akhandelwal
andauthored
Make chargeback fields as optional (#167)
* chargedBack field added * Removing chargeback fields as required * updating cluster_types --------- Co-authored-by: akhandelwal <[email protected]>
1 parent e305a8e commit 7bd200b

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

config/crd/bases/registry.ethos.adobe.com_clusters.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,6 @@ spec:
333333
- apiServer
334334
- argoInstance
335335
- businessUnit
336-
- chargebackBusinessUnit
337-
- chargedBack
338336
- cloudProviderRegion
339337
- cloudType
340338
- environment

pkg/api/registry/v1/cluster_types.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,9 @@ type ClusterSpec struct {
5656
BusinessUnit string `json:"businessUnit"`
5757

5858
// The BU responsible for paying for the cluster.
59-
// +kubebuilder:validation:Required
6059
ChargebackBusinessUnit string `json:"chargebackBusinessUnit"`
6160

6261
// Whether the cluster is charged back to the chargebackBusinessUnit
63-
// +kubebuilder:validation:Required
6462
ChargedBack bool `json:"chargedBack"`
6563

6664
// The Org that is responsible for the cluster operations

0 commit comments

Comments
 (0)