From f4c31afffedccb08869b2d4aedc950e4dbafdd66 Mon Sep 17 00:00:00 2001 From: liwen wu Date: Tue, 29 Nov 2022 05:17:43 +0000 Subject: [PATCH 1/3] Skip creating serviceaccount --- helm/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/values.yaml b/helm/values.yaml index e42a739a..7d1c8532 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -4,7 +4,7 @@ image: repository: public.ecr.aws/aws-application-networking-k8s/aws-gateway-controller - tag: v0.0.1 + tag: v0.0.2 pullPolicy: IfNotPresent pullSecrets: [] @@ -63,7 +63,7 @@ installScope: cluster serviceAccount: # Specifies whether a service account should be created - create: true + create: false # The name of the service account to use. name: gateway-api-controller annotations: {} From 4678880cf76e6e10eae0a5120e4a57c3bc9d0328 Mon Sep 17 00:00:00 2001 From: liwen wu Date: Tue, 29 Nov 2022 19:42:34 +0000 Subject: [PATCH 2/3] Revert serviceaccount default to create true --- helm/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/values.yaml b/helm/values.yaml index 7d1c8532..165e2a85 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -63,7 +63,7 @@ installScope: cluster serviceAccount: # Specifies whether a service account should be created - create: false + create: true # The name of the service account to use. name: gateway-api-controller annotations: {} From 38204be07d209a691efd397edb4ff84e10317697 Mon Sep 17 00:00:00 2001 From: liwen wu Date: Tue, 29 Nov 2022 19:46:52 +0000 Subject: [PATCH 3/3] Add helm install command --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 49d44741..f8ead130 100644 --- a/README.md +++ b/README.md @@ -82,12 +82,21 @@ eksctl create iamserviceaccount \ --approve ``` -Step 4: deploy into cluster +Step 4: Deploy into cluster using generated deploy.yaml ``` kubectl apply -f deploy.yaml ``` +Step 4: Deploy using helm Chart + +``` +helm install(or upgrade) gateway-api-controller \ +oci://public.ecr.aws/aws-application-networking-k8s/aws-gateway-controller-chart\ + --version=v0.0.2 \ + --set=aws.region=us-west-2 --set=serviceAccount.create=false --namespace system +``` + You can find more details are in [Detail Notes](https://code.amazon.com/packages/MercuryK8SController/blobs/mainline/--/developer.md) and [end-to-end Smoke Test](https://quip-amazon.com/FaquAsssAitb/Testing-Manual-end-to-end-Smoke-Testing-for-Kubernetes-Controllers).