Last active
February 2, 2020 05:56
-
-
Save leandrosiow/98d36fbadafa72e77e0fa8740eb59737 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script sets up the VPC Webhook for an EKS Cluster. | |
# | |
# Download the webhook-create-signed-cert.sh and webhook-patch-ca-bundle.sh files | |
curl -o webhook-create-signed-cert.sh https://amazon-eks.s3-us-west-2.amazonaws.com/manifests/us-west-2/vpc-admission-webhook/latest/webhook-create-signed-cert.sh | |
curl -o webhook-patch-ca-bundle.sh https://amazon-eks.s3-us-west-2.amazonaws.com/manifests/us-west-2/vpc-admission-webhook/latest/webhook-patch-ca-bundle.sh | |
# Download the Deployment YAML file | |
curl -o vpc-admission-webhook-deployment.yaml https://amazon-eks.s3-us-west-2.amazonaws.com/manifests/us-west-2/vpc-admission-webhook/latest/vpc-admission-webhook-deployment.yaml | |
# Changes permissions of webhook-create-signed-cert.sh and webhook-patch-ca-bundle.sh | |
chmod +x webhook-create-signed-cert.sh webhook-patch-ca-bundle.sh | |
# Run the webhook-create-signed-cert.sh script | |
./webhook-create-signed-cert.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment