@@ -15,7 +15,7 @@ You can install an AWS Load Balancer Operator and an AWS Load Balancer Controlle
1515* You have access to modify the VPC and subnets of the created ROSA cluster.
1616* You have installed the ROSA CLI (`rosa` ).
1717* You have installed the Amazon Web Services (AWS) CLI.
18- * You are using OpenShift Container Platform 4.13 or later.
18+ * You are using {product-title} 4.13 or later.
1919
2020[IMPORTANT]
2121====
@@ -86,7 +86,7 @@ $ IDP_ARN="arn:aws:iam::{AWS_AccountNo}:oidc-provider/${IDP}" <1>
8686.Example output
8787[source,terminal,subs="quotes,verbatim"]
8888----
89- $ cat EOF albo-operator-trusted-policy.json
89+ $ cat << EOF > albo-operator-trusted-policy.json
9090{
9191 "Version": "2012-10-17",
9292 "Statement": [
@@ -160,7 +160,7 @@ $ aws iam put-role-policy --role-name albo-operator --policy-name perms-policy-a
160160----
161161$ IDP='{Cluster_OIDC_Endpoint}'
162162$ IDP_ARN="arn:aws:iam::{AWS_AccountNo}:oidc-provider/${IDP}"
163- $ cat <EOF> albo-controller-trusted-policy.json
163+ $ cat << EOF > albo-controller-trusted-policy.json
164164{
165165 "Version": "2012-10-17",
166166 "Statement": [
@@ -172,7 +172,7 @@ $ cat <EOF> albo-controller-trusted-policy.json
172172 "Action": "sts:AssumeRoleWithWebIdentity",
173173 "Condition": {
174174 "StringEquals": {
175- "${IDP} :sub": "system:serviceaccount:aws-load-balancer-operator:aws-load-balancer-controller-cluster "
175+ "${IDP} :sub": "system:serviceaccount:aws-load-balancer-operator:aws-load-balancer-operator- controller-manager "
176176 }
177177 }
178178 }
@@ -196,7 +196,7 @@ $ echo $CONTROLLER_ROLE_ARN
196196ROLE arn:aws:iam::<aws_account_number>:role/albo-controller 2023-08-02T12:13:22Z
197197ASSUMEROLEPOLICYDOCUMENT 2012-10-17
198198STATEMENT sts:AssumeRoleWithWebIdentity Allow
199- STRINGEQUALS system:serviceaccount:aws-load-balancer-operator:aws-load-balancer-controller-cluster
199+ STRINGEQUALS system:serviceaccount:aws-load-balancer-operator:aws-load-balancer-operator- controller-manager
200200PRINCIPAL arn:aws:iam:<aws_account_number>:oidc-provider/<oidc_provider_id>
201201----
202202+
@@ -243,7 +243,7 @@ ELBv2 resources (such as ALBs and NLBs) created by AWS Load Balancer Operator do
243243+
244244[source,terminal]
245245----
246- $ cat EOF | oc apply -f -
246+ $ cat << EOF | oc apply -f -
247247apiVersion: operators.coreos.com/v1
248248kind: OperatorGroup
249249metadata:
258258+
259259[source,terminal]
260260----
261- $ cat EOF | oc apply -f -
261+ $ cat << EOF | oc apply -f -
262262apiVersion: operators.coreos.com/v1alpha1
263263kind: Subscription
264264metadata:
0 commit comments