Skip to content

Commit 5265d5e

Browse files
authored
Merge pull request #110527 from dfitzmau/revert-OSDOCS-16842-16
Revert "OSDOCS-16842-16: CQA for NOP-1 AWS Load Balancer Operator"
2 parents d7875a6 + 9e73d03 commit 5265d5e

13 files changed

Lines changed: 111 additions & 243 deletions

modules/aws-installing-an-aws-load-balancer-operator.adoc

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
:_mod-docs-content-type: PROCEDURE
66
[id="aws-installing-an-aws-load-balancer-operator_{context}"]
77
= Installing an AWS Load Balancer Operator
8-
9-
[role="_abstract"]
10-
To install the AWS Load Balancer Operator and the AWS Load Balancer Controller, ensure that your environment meets the necessary requirements. Meeting these prerequisites is essential for the successful deployment of the Operator and controller.
8+
You can install an AWS Load Balancer Operator (ALBO) if you meet certain requirements.
119

1210
.Prerequisites
1311

@@ -83,13 +81,13 @@ ROSA
8381
endif::openshift-rosa[]
8482
cluster OIDC DNS:
8583
+
84+
--
8685
[source, terminal]
8786
----
8887
$ rosa describe cluster --cluster=<cluster_name> | grep -i 'OIDC'
8988
----
90-
+
9189
Save the output from the commands. You will use this information in future steps within this procedure.
92-
90+
--
9391
. Create the AWS IAM policy required for the ALBO:
9492
+
9593
.. Log in to the
@@ -111,16 +109,9 @@ $ oc new-project aws-load-balancer-operator
111109
[source,terminal]
112110
----
113111
$ IDP='{Cluster_OIDC_Endpoint}'
112+
$ IDP_ARN="arn:aws:iam::{AWS_AccountNo}:oidc-provider/${IDP}" <1>
114113
----
115-
+
116-
[source,terminal]
117-
----
118-
$ IDP_ARN="arn:aws:iam::{AWS_AccountNo}:oidc-provider/${IDP}"
119-
----
120-
+
121-
where:
122-
+
123-
`AWS_AccountNo`:: Replace `{AWS_AccountNo}` with your AWS account number and `{Cluster_OIDC_Endpoint}` with the OIDC DNS identified earlier in this procedure.
114+
<1> Replace `{AWS_AccountNo}` with your AWS account number and `{Cluster_OIDC_Endpoint}` with the OIDC DNS identified earlier in this procedure.
124115
+
125116
.. Verify that the trust policy was assigned to the AWS IAM role.
126117
+
@@ -174,7 +165,7 @@ $ echo $OPERATOR_ROLE_ARN
174165
+
175166
For more information on creating AWS IAM roles, see link:https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create.html[Creating IAM roles].
176167
+
177-
.. Attach the Operator's permission policy to the role:
168+
.. Attach the operator's permission policy to the role:
178169
+
179170
[source, terminal]
180171
----
@@ -349,7 +340,7 @@ spec:
349340
sourceNamespace: openshift-marketplace
350341
startingCSV: aws-load-balancer-operator.v1.0.0
351342
----
352-
343+
+
353344
. Create an AWS ALBC:
354345
+
355346
[source,yaml]

modules/aws-load-balancer-operator-environment.adoc

Lines changed: 0 additions & 65 deletions
This file was deleted.

modules/aws-load-balancer-operator-release-notes-1.0.0.adoc

Lines changed: 0 additions & 32 deletions
This file was deleted.

modules/aws-load-balancer-operator-release-notes-1.0.1.adoc

Lines changed: 0 additions & 14 deletions
This file was deleted.

modules/aws-load-balancer-operator-release-notes-1.1.0.adoc

Lines changed: 0 additions & 36 deletions
This file was deleted.

modules/aws-load-balancer-operator-release-notes-1.1.1.adoc

Lines changed: 0 additions & 14 deletions
This file was deleted.

modules/aws-load-balancer-operator-release-notes-1.2.0.adoc

Lines changed: 0 additions & 19 deletions
This file was deleted.

modules/aws-load-balancer-operator-release-notes-earlier-versions.adoc

Lines changed: 0 additions & 20 deletions
This file was deleted.

modules/aws-uninstalling-an-aws-load-balancer-operator.adoc

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,10 @@
55
:_mod-docs-content-type: PROCEDURE
66
[id="aws-uninstalling-an-aws-load-balancer-operator_{context}"]
77
= Uninstalling an AWS Load Balancer Operator
8-
9-
[role="_abstract"]
10-
To remove the AWS Load Balancer Operator and clean up associated resources, uninstall the Operator from the cluster. This ensures a complete cleanup of the environment and prevents unused resources from persisting.
8+
To uninstall an AWS Load Balancer Operator (ALBO) and perform an overall cleanup of the associated resources, perform the following procedure.
119

1210
.Procedure
13-
14-
. Clean up the sample application by deleting the Load Balancers created and managed by the ALBO.
15-
16-
. Clean up the AWS VPC tags by removing the VPC tags that were added to the subnets for discovering subnets and for creating Application Load Balancers (ALBs).
17-
18-
. Clean up AWS Load Balancer Operator components by deleting both the AWS Load Balancer Operator and the Application Load Balancer Controller.
11+
. Clean up the sample application by deleting the Load Balancers created and managed by the ALBO. For more information about deleting Load Balancers, see link:https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-delete.html[Delete an Application Load Balancer].
12+
. Clean up the AWS VPC tags by removing the VPC tags that were added to the subnets for discovering subnets and for creating Application Load Balancers (ALBs). For more information, see link:https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-basics[Tag basics].
13+
. Clean up ALBO components by deleting both the ALBO and the Application Load Balancer Controller (ALBC).
14+
For more information, see link:https://access.redhat.com/documentation/en-us/openshift_container_platform/4.13/html/operators/administrator-tasks#olm-deleting-operators-from-a-cluster[Deleting Operators from a cluster].

modules/using-ccoctl-create-iam-role-alb-controller.adoc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
[id="using-ccoctl-create-iam-role-alb-controller_{context}"]
77
= Creating an AWS IAM role for the controller by using the Cloud Credential Operator utility
88

9-
[role="_abstract"]
109
You can use the Cloud Credential Operator utility (`ccoctl`) to create an {aws-short} IAM role for the {aws-short} Load Balancer Controller. An {aws-short} IAM role is used to interact with subnets and Virtual Private Clouds (VPCs).
1110

1211
.Prerequisites
@@ -40,10 +39,7 @@ $ ccoctl aws create-iam-roles \
4039
2023/09/12 11:38:57 Saved credentials configuration to: /home/user/<credentials_requests_dir>/manifests/aws-load-balancer-operator-aws-load-balancer-controller-credentials.yaml
4140
2023/09/12 11:38:58 Updated Role policy for Role <name>-aws-load-balancer-operator-aws-load-balancer-controller created
4241
----
43-
+
44-
where:
45-
+
46-
`<`name>`:: Specifies the Amazon Resource Name (ARN) for an {aws-short} IAM role that was created for the {aws-short} Load Balancer Controller, such as `arn:aws:iam::777777777777:role/<name>-aws-load-balancer-operator-aws-load-balancer-controller`.
42+
<1> Note the Amazon Resource Name (ARN) of an {aws-short} IAM role that was created for the {aws-short} Load Balancer Controller, such as `arn:aws:iam::777777777777:role/<name>-aws-load-balancer-operator-aws-load-balancer-controller`.
4743
+
4844
[NOTE]
4945
====

0 commit comments

Comments
 (0)