Skip to content

Commit 3a0ebce

Browse files
change vpc tag key name to more generic
1 parent 8ae3e3c commit 3a0ebce

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/deploy/configurations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Currently, you can set only 1 namespace to watch in this flag. See [this Kuberne
7272
| aws-region | string | [instance metadata](#instance-metadata) | AWS Region for the kubernetes cluster |
7373
| aws-vpc-id | string | [instance metadata](#instance-metadata) | AWS VPC ID for the Kubernetes cluster |
7474
| aws-vpc-tags | stringMap | | Tags for the Kubernetes cluster VPC
75-
| aws-vpc-name-tag-key | string | Name | Optional tag key used with aws-vpc-tags add only if VPC name tag key is not the default value "Name"
75+
| aws-vpc-tag-key | string | Name | Optional tag key used with aws-vpc-tags add only if VPC name tag key is not the default value "Name"
7676
| allowed-certificate-authority-arns | stringList | [] | Specify an optional list of CA ARNs to filter on in cert discovery (empty means all CAs are allowed) |
7777
| backend-security-group | string | | Backend security group id to use for the ingress rules on the worker node SG |
7878
| cluster-name | string | | Kubernetes cluster name |

docs/deploy/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ You can set the IMDSv2 as follows:
3737
aws ec2 modify-instance-metadata-options --http-put-response-hop-limit 2 --http-tokens required --region <region> --instance-id <instance-id>
3838
```
3939

40-
Instead of depending on IMDSv2, you can specify the AWS Region via the controller flag `--aws-region`, and the AWS VPC via controller flag `--aws-vpc-id` or by specifying vpc tags via the flag `--aws-vpc-tags` and an optional flag `--aws-vpc-name-tag-key` if you have a different key for the tag other than "Name".
40+
Instead of depending on IMDSv2, you can specify the AWS Region via the controller flag `--aws-region`, and the AWS VPC via controller flag `--aws-vpc-id` or by specifying vpc tags via the flag `--aws-vpc-tags` and an optional flag `--aws-vpc-tag-key` if you have a different key for the tag other than "Name".
4141

4242
## Configure IAM
4343

pkg/aws/cloud_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const (
1515
flagAWSVpcTags = "aws-vpc-tags"
1616
flagAWSVpcCacheTTL = "aws-vpc-cache-ttl"
1717
flagAWSMaxRetries = "aws-max-retries"
18-
flagAWSVpcNameTagKey = "aws-vpc-name-tag-key"
18+
flagAWSVpcNameTagKey = "aws-vpc-tag-key"
1919
defaultVpcID = ""
2020
defaultVpcNameTagKey = "Name"
2121
defaultRegion = ""

0 commit comments

Comments
 (0)