Skip to content

Commit

Permalink
feat: remove explicit properties enabling specific cs provisioner steps
Browse files Browse the repository at this point in the history
Now the steps are enabled by default, and the properties that
enable/disable some of them have been renamed
  • Loading branch information
miguelsorianod committed Dec 4, 2024
1 parent 7f10a13 commit 6a8755a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
6 changes: 0 additions & 6 deletions dev-infrastructure/docs/development-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,12 +393,6 @@ Then register it with the Maestro Server
"subnet_resource_id": "$SUBNETRESOURCEID",
"network_security_group_resource_id":"$NSG"
},
"properties": {
"provisioner_hostedcluster_step_enabled": "true",
"provisioner_managedcluster_step_enabled": "true",
"np_provisioner_provision_enabled": "true",
"np_provisioner_deprovision_enabled": "true"
},
"version": {
"id": "openshift-v4.17.0"
}
Expand Down
16 changes: 2 additions & 14 deletions internal/ocm/ocm.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,8 @@ type ClusterServiceClientSpec interface {
func getDefaultAdditionalProperities() map[string]string {
// additionalProperties should be empty in production, it is configurable for development to pin to specific
// provision shards or instruct CS to skip the full provisioning/deprovisioning flow.
additionalProperties := map[string]string{
// Enable the ARO HCP provisioner during development. For now, if not set a cluster will not progress past the
// installing state in CS.
"provisioner_hostedcluster_step_enabled": "true",
// Enable the provisioning of ACM's ManagedCluster CR associated to the ARO-HCP
// cluster during ARO-HCP Cluster provisioning. For now, if not set a cluster will not progress past the
// installing state in CS.
"provisioner_managedcluster_step_enabled": "true",

// Enable the provisioning and deprovisioning of ARO-HCP Node Pools. For now, if not set the provisioning
// and deprovisioning of day 2 ARO-HCP Node Pools will not be performed on the Management Cluster.
"np_provisioner_provision_enabled": "true",
"np_provisioner_deprovision_enabled": "true",
}
additionalProperties := map[string]string{}

return additionalProperties
}

Expand Down

0 comments on commit 6a8755a

Please sign in to comment.