Skip to content

Commit ade6855

Browse files
authored
Merge pull request #73962 from mletalie/OSDOCS-10073
[OSDOCS-10073]Update documentation: Expose cluster delete protection feature (ROSA CLI)
2 parents 9ac13ba + 86627d6 commit ade6855

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

modules/rosa-edit-objects.adoc

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ $ rosa edit cluster --cluster=<cluster_name> | <cluster_id> [arguments]
3131
|--private
3232
|Restricts a primary API endpoint to direct, private connectivity.
3333

34+
|--enable-delete-protection=true
35+
|Enables the delete protection feature.
36+
37+
|--enable-delete-protection=false
38+
|Disables the delete protection feature.
39+
40+
3441
|===
3542

3643
.Optional arguments inherited from parent commands
@@ -85,19 +92,19 @@ $ rosa edit ingress --cluster=<cluster_name> | <cluster_id> [arguments]
8592
|--cluster
8693
|Required: The name or ID (string) of the cluster to which the ingress will be added.
8794

88-
|--cluster-routes-hostname
95+
|--cluster-routes-hostname
8996
|Components route hostname for OAuth, console, and download.
9097

91-
|--cluster-routes-tls-secret-ref
98+
|--cluster-routes-tls-secret-ref
9299
|Components route TLS secret reference for OAuth, console, and download.
93100

94-
|--excluded-namespaces
101+
|--excluded-namespaces
95102
|Excluded namespaces for ingress. Format is a comma-separated list `value1, value2...`. If no values are specified, all namespaces will be exposed.
96103

97104
|--label-match
98105
|The label match (string) for ingress. The format must be a comma-delimited list of key=value pairs. If no label is specified, all routes are exposed on both routers.
99106

100-
|--lb-type
107+
|--lb-type
101108
|Type of Load Balancer. Options are `classic`, `nlb`.
102109

103110
|--namespace-ownership-policy
@@ -109,7 +116,7 @@ $ rosa edit ingress --cluster=<cluster_name> | <cluster_id> [arguments]
109116
|--route-selector
110117
|Route Selector for ingress. Format is a comma-separated list of key=value. If no label is specified, all routes will be exposed on both routers. For legacy ingress support these are inclusion labels, otherwise they are treated as exclusion label.
111118

112-
|--wildcard-policy
119+
|--wildcard-policy
113120
|Wildcard Policy for ingress. Options are `WildcardsDisallowed` and `WildcardsAllowed`. Default is `WildcardsDisallowed`.
114121
|===
115122

rosa_install_access_delete_clusters/rosa-sts-deleting-cluster.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ include::modules/rosa-unlinking-and-deleting-ocm-and-user-iam-roles.adoc[levelof
4040
[id="additional-resources_rosa-sts-deleting-cluster"]
4141
== Additional resources
4242

43+
* For information about the cluster delete protection feature, see xref:../cli_reference/rosa_cli/rosa-manage-objects-cli.adoc#rosa-edit-objects_rosa-managing-objects-cli[Edit objects].
4344
* For information about the AWS IAM resources for ROSA clusters that use STS, see xref:../rosa_architecture/rosa-sts-about-iam-resources.adoc#rosa-sts-about-iam-resources[About IAM resources for ROSA clusters that use STS].
4445
* For information on cluster errors that are due to missing IAM roles, see xref:../support/troubleshooting/rosa-troubleshooting-deployments.adoc#rosa-troubleshooting-cluster-deletion_rosa-troubleshooting-cluster-deployments[Repairing a cluster that cannot be deleted].

0 commit comments

Comments
 (0)