@@ -15,7 +15,7 @@ You can install an AWS Load Balancer Operator and an AWS Load Balancer Controlle
15
15
* You have access to modify the VPC and subnets of the created ROSA cluster.
16
16
* You have installed the ROSA CLI (`rosa` ).
17
17
* 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.
19
19
20
20
[IMPORTANT]
21
21
====
@@ -86,7 +86,7 @@ $ IDP_ARN="arn:aws:iam::{AWS_AccountNo}:oidc-provider/${IDP}" <1>
86
86
.Example output
87
87
[source,terminal,subs="quotes,verbatim"]
88
88
----
89
- $ cat EOF albo-operator-trusted-policy.json
89
+ $ cat << EOF > albo-operator-trusted-policy.json
90
90
{
91
91
"Version": "2012-10-17",
92
92
"Statement": [
@@ -160,7 +160,7 @@ $ aws iam put-role-policy --role-name albo-operator --policy-name perms-policy-a
160
160
----
161
161
$ IDP='{Cluster_OIDC_Endpoint}'
162
162
$ 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
164
164
{
165
165
"Version": "2012-10-17",
166
166
"Statement": [
@@ -172,7 +172,7 @@ $ cat <EOF> albo-controller-trusted-policy.json
172
172
"Action": "sts:AssumeRoleWithWebIdentity",
173
173
"Condition": {
174
174
"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 "
176
176
}
177
177
}
178
178
}
@@ -196,7 +196,7 @@ $ echo $CONTROLLER_ROLE_ARN
196
196
ROLE arn:aws:iam::<aws_account_number>:role/albo-controller 2023-08-02T12:13:22Z
197
197
ASSUMEROLEPOLICYDOCUMENT 2012-10-17
198
198
STATEMENT 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
200
200
PRINCIPAL arn:aws:iam:<aws_account_number>:oidc-provider/<oidc_provider_id>
201
201
----
202
202
+
@@ -243,7 +243,7 @@ ELBv2 resources (such as ALBs and NLBs) created by AWS Load Balancer Operator do
243
243
+
244
244
[source,terminal]
245
245
----
246
- $ cat EOF | oc apply -f -
246
+ $ cat << EOF | oc apply -f -
247
247
apiVersion: operators.coreos.com/v1
248
248
kind: OperatorGroup
249
249
metadata:
258
258
+
259
259
[source,terminal]
260
260
----
261
- $ cat EOF | oc apply -f -
261
+ $ cat << EOF | oc apply -f -
262
262
apiVersion: operators.coreos.com/v1alpha1
263
263
kind: Subscription
264
264
metadata:
0 commit comments