mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 10:00:11 +00:00
update docs to not pass bundle version latest for clusteradm init (#1000)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m27s
Close stale issues and PRs / stale (push) Successful in 34s
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m27s
Close stale issues and PRs / stale (push) Successful in 34s
Signed-off-by: Jeffrey Wong <jeffreywong0417@gmail.com>
This commit is contained in:
@@ -69,7 +69,7 @@ The hub and spoke can be joined using AWS IAM based authentication by running fo
|
|||||||
|
|
||||||
4. Login to hub EKS clusters and initialize hub:
|
4. Login to hub EKS clusters and initialize hub:
|
||||||
```shell
|
```shell
|
||||||
clusteradm init --bundle-version latest --registration-drivers awsirsa \
|
clusteradm init --registration-drivers awsirsa \
|
||||||
--feature-gates ManagedClusterAutoApproval=true \
|
--feature-gates ManagedClusterAutoApproval=true \
|
||||||
--auto-approved-arn-patterns "arn:aws:eks:us-west-2:123412341234:cluster/.*" --wait
|
--auto-approved-arn-patterns "arn:aws:eks:us-west-2:123412341234:cluster/.*" --wait
|
||||||
|
|
||||||
@@ -83,7 +83,7 @@ The hub and spoke can be joined using AWS IAM based authentication by running fo
|
|||||||
```shell
|
```shell
|
||||||
clusteradm join --hub-token $TOKEN --hub-apiserver $HUB_API_SERVER \
|
clusteradm join --hub-token $TOKEN --hub-apiserver $HUB_API_SERVER \
|
||||||
--wait --cluster-name $SPOKE_CLUSTER_NAME --singleton \
|
--wait --cluster-name $SPOKE_CLUSTER_NAME --singleton \
|
||||||
--bundle-version latest --registration-auth awsirsa \
|
--registration-auth awsirsa \
|
||||||
--hub-cluster-arn arn:aws:eks:$HUB_REGION:"$HUB_ACCOUNT_ID":cluster/$HUB_CLUSTER_NAME
|
--hub-cluster-arn arn:aws:eks:$HUB_REGION:"$HUB_ACCOUNT_ID":cluster/$HUB_CLUSTER_NAME
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user