diff --git a/Dockerfile b/Dockerfile index 3487102dc..b3e6effe5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ RUN --mount=type=bind,target=. \ CGO_LDFLAGS="-Wl,-z,relro,-z,now" \ go build -buildmode=pie -tags 'osusergo,netgo,static_build' -ldflags="-s -w -linkmode=external -extldflags '-static-pie' -X ${VERSION_PKG}.GitVersion=${GIT_VERSION} -X ${VERSION_PKG}.GitCommit=${GIT_COMMIT} -X ${VERSION_PKG}.BuildDate=${BUILD_DATE}" -mod=readonly -a -o /out/controller main.go -FROM public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-nonroot:2021-08-22-1629654770 as bin-unix +FROM public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-nonroot:2021-12-01-1638322424 as bin-unix COPY --from=build /out/controller /controller ENTRYPOINT ["/controller"] diff --git a/Makefile b/Makefile index f958b34e3..2113d22a8 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ MAKEFILE_PATH = $(dir $(realpath -s $(firstword $(MAKEFILE_LIST)))) # Image URL to use all building/pushing image targets -IMG ?= amazon/aws-alb-ingress-controller:v2.3.0 +IMG ?= amazon/aws-alb-ingress-controller:v2.3.1 CRD_OPTIONS ?= "crd:crdVersions=v1" diff --git a/config/controller/kustomization.yaml b/config/controller/kustomization.yaml index fab1042ff..4de835ba3 100644 --- a/config/controller/kustomization.yaml +++ b/config/controller/kustomization.yaml @@ -9,4 +9,4 @@ kind: Kustomization images: - name: controller newName: amazon/aws-alb-ingress-controller - newTag: v2.3.0 + newTag: v2.3.1 diff --git a/docs/deploy/installation.md b/docs/deploy/installation.md index 96b750571..9dbf5ff29 100644 --- a/docs/deploy/installation.md +++ b/docs/deploy/installation.md @@ -74,7 +74,7 @@ The IAM permissions can either be setup via IAM roles for ServiceAccount or can 1. Download IAM policy for the AWS Load Balancer Controller ``` - curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.3.0/docs/install/iam_policy.json + curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.3.1/docs/install/iam_policy.json ``` 1. Create an IAM policy called AWSLoadBalancerControllerIAMPolicy @@ -99,7 +99,7 @@ The IAM permissions can either be setup via IAM roles for ServiceAccount or can #### Setup IAM manually If not setting up IAM for ServiceAccount, apply the IAM policies from the following URL at minimum. ``` -curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.3.0/docs/install/iam_policy.json +curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.3.1/docs/install/iam_policy.json ``` ##### IAM permission subset for those who use *TargetGroupBinding* only and don't plan to use the AWS Load Balancer Controller to manage security group rules: @@ -173,7 +173,7 @@ curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-lo ### Apply YAML 1. Download spec for load balancer controller. ``` - wget https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/download/v2.3.0/v2_3_0_full.yaml + wget https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/download/v2.3.1/v2_3_1_full.yaml ``` 1. Edit the saved yaml file, go to the Deployment spec, and set the controller --cluster-name arg value to your EKS cluster name ``` @@ -197,7 +197,7 @@ curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-lo ``` 1. Apply the yaml file ``` - kubectl apply -f v2_3_0_full.yaml + kubectl apply -f v2_3_1_full.yaml ``` diff --git a/helm/aws-load-balancer-controller/Chart.yaml b/helm/aws-load-balancer-controller/Chart.yaml index 8a7b04c31..5bdcea898 100644 --- a/helm/aws-load-balancer-controller/Chart.yaml +++ b/helm/aws-load-balancer-controller/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: aws-load-balancer-controller description: AWS Load Balancer Controller Helm chart for Kubernetes version: 1.3.3 -appVersion: v2.3.0 +appVersion: v2.3.1 home: https://github.com/aws/eks-charts icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png sources: diff --git a/helm/aws-load-balancer-controller/values.yaml b/helm/aws-load-balancer-controller/values.yaml index e961dc982..e679c8420 100644 --- a/helm/aws-load-balancer-controller/values.yaml +++ b/helm/aws-load-balancer-controller/values.yaml @@ -6,7 +6,7 @@ replicaCount: 2 image: repository: 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-load-balancer-controller - tag: v2.3.0 + tag: v2.3.1 pullPolicy: IfNotPresent imagePullSecrets: []