From 38dd957965d70475044ed8a059063bd0bf5c810d Mon Sep 17 00:00:00 2001 From: guessi Date: Sat, 18 Nov 2023 02:38:07 +0800 Subject: [PATCH] Fix outdated links --- pkg/addons/default/aws_node_generate.go | 2 +- pkg/apis/eksctl.io/v1alpha5/assets/schema.json | 12 ++++++------ userdocs/src/usage/security.md | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pkg/addons/default/aws_node_generate.go b/pkg/addons/default/aws_node_generate.go index f229625c1ac..f908e58459e 100644 --- a/pkg/addons/default/aws_node_generate.go +++ b/pkg/addons/default/aws_node_generate.go @@ -1,4 +1,4 @@ package defaultaddons -// Please refer to https://docs.aws.amazon.com/eks/latest/userguide/cni-upgrades.html +// Please refer to https://docs.aws.amazon.com/eks/latest/userguide/managing-vpc-cni.html //go:generate curl --silent --location https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/v1.12.6/config/master/aws-k8s-cni.yaml?raw=1 --output assets/aws-node.yaml diff --git a/pkg/apis/eksctl.io/v1alpha5/assets/schema.json b/pkg/apis/eksctl.io/v1alpha5/assets/schema.json index 9af02753c72..18571c97694 100755 --- a/pkg/apis/eksctl.io/v1alpha5/assets/schema.json +++ b/pkg/apis/eksctl.io/v1alpha5/assets/schema.json @@ -1420,8 +1420,8 @@ "metrics" ], "additionalProperties": false, - "description": "used by the scaling config, see [cloudformation docs](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-metricscollection.html)", - "x-intellij-html-description": "used by the scaling config, see cloudformation docs" + "description": "used by the scaling config, see [cloudformation docs](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-metricscollection.html)", + "x-intellij-html-description": "used by the scaling config, see cloudformation docs" }, "NodeGroup": { "required": [ @@ -2337,8 +2337,8 @@ "properties": { "autoScaler": { "type": "boolean", - "description": "adds policies for cluster-autoscaler. See [autoscaler AWS docs](https://docs.aws.amazon.com/eks/latest/userguide/cluster-autoscaler.html).", - "x-intellij-html-description": "adds policies for cluster-autoscaler. See autoscaler AWS docs.", + "description": "adds policies for cluster-autoscaler. See [autoscaler AWS docs](https://docs.aws.amazon.com/eks/latest/userguide/autoscaling.html#cluster-autoscaler).", + "x-intellij-html-description": "adds policies for cluster-autoscaler. See autoscaler AWS docs.", "default": "false" }, "awsLoadBalancerController": { @@ -2355,8 +2355,8 @@ }, "ebsCSIController": { "type": "boolean", - "description": "adds policies for using the ebs-csi-controller. See [aws-ebs-csi-driver docs](https://github.com/kubernetes-sigs/aws-ebs-csi-driver#set-up-driver-permission).", - "x-intellij-html-description": "adds policies for using the ebs-csi-controller. See aws-ebs-csi-driver docs.", + "description": "adds policies for using the ebs-csi-controller. See [aws-ebs-csi-driver docs](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/docs/install.md#set-up-driver-permissions).", + "x-intellij-html-description": "adds policies for using the ebs-csi-controller. See aws-ebs-csi-driver docs.", "default": "false" }, "efsCSIController": { diff --git a/userdocs/src/usage/security.md b/userdocs/src/usage/security.md index 23438d5f972..7c7c717c329 100644 --- a/userdocs/src/usage/security.md +++ b/userdocs/src/usage/security.md @@ -7,7 +7,7 @@ Enable [`withOIDC`](/usage/schema/#iam-withOIDC) to automatically create an [IRSA](/usage/iamserviceaccounts/) for the amazon CNI plugin and limit permissions granted to nodes in your cluster, instead granting the necessary permissions only to the CNI service account. The background is described in [this AWS -documentation](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-cni-walkthrough.html). +documentation](https://docs.aws.amazon.com/eks/latest/userguide/cni-iam-role.html). ## `disablePodIMDS`