Skip to content

Commit c4471de

Browse files
authored
cut v2.4.1 release (#2555)
* cut v2.4.1 release * Helm chart for v2.4.1 release
1 parent bd49f0d commit c4471de

File tree

8 files changed

+12
-14
lines changed

8 files changed

+12
-14
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:experimental
22

3-
FROM --platform=${TARGETPLATFORM} public.ecr.aws/docker/library/golang:1.17.4 AS base
3+
FROM --platform=${TARGETPLATFORM} public.ecr.aws/docker/library/golang:1.17.8 AS base
44
WORKDIR /workspace
55
# Copy the Go Modules manifests
66
COPY go.mod go.mod
@@ -25,7 +25,7 @@ RUN --mount=type=bind,target=. \
2525
CGO_LDFLAGS="-Wl,-z,relro,-z,now" \
2626
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
2727

28-
FROM public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-nonroot:2022-02-11-1644621179.2022 as bin-unix
28+
FROM public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-nonroot:2022-03-09-1646784337.2 as bin-unix
2929

3030
COPY --from=build /out/controller /controller
3131
ENTRYPOINT ["/controller"]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
MAKEFILE_PATH = $(dir $(realpath -s $(firstword $(MAKEFILE_LIST))))
33

44
# Image URL to use all building/pushing image targets
5-
IMG ?= amazon/aws-alb-ingress-controller:v2.4.0
5+
IMG ?= amazon/aws-alb-ingress-controller:v2.4.1
66

77
CRD_OPTIONS ?= "crd:crdVersions=v1"
88

config/controller/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ kind: Kustomization
99
images:
1010
- name: controller
1111
newName: amazon/aws-alb-ingress-controller
12-
newTag: v2.4.0
12+
newTag: v2.4.1

controllers/elbv2/targetgroupbinding_controller.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ type targetGroupBindingReconciler struct {
8484
// +kubebuilder:rbac:groups="",resources=pods/status,verbs=update;patch
8585
// +kubebuilder:rbac:groups="",resources=nodes,verbs=get;list;watch
8686
// +kubebuilder:rbac:groups="",resources=endpoints,verbs=get;list;watch
87-
// +kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch
8887
// +kubebuilder:rbac:groups="",resources=namespaces,verbs=get;list;watch
8988
// +kubebuilder:rbac:groups="",resources=events,verbs=create;patch
9089
// +kubebuilder:rbac:groups="discovery.k8s.io",resources=endpointslices,verbs=get;list;watch

controllers/ingress/group_controller.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ type groupReconciler struct {
109109
// +kubebuilder:rbac:groups=extensions,resources=ingresses,verbs=get;list;watch;update;patch
110110
// +kubebuilder:rbac:groups=extensions,resources=ingresses/status,verbs=update;patch
111111
// +kubebuilder:rbac:groups="",resources=services,verbs=get;list;watch;update;patch
112-
// +kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch
113112
// +kubebuilder:rbac:groups="",resources=events,verbs=create;patch
114113

115114
func (r *groupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) {

docs/deploy/installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ The IAM permissions can either be setup via IAM roles for ServiceAccount or can
7878
7979
1. Download IAM policy for the AWS Load Balancer Controller
8080
```
81-
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.0/docs/install/iam_policy.json
81+
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.1/docs/install/iam_policy.json
8282
```
8383
8484
1. Create an IAM policy called AWSLoadBalancerControllerIAMPolicy
@@ -103,7 +103,7 @@ The IAM permissions can either be setup via IAM roles for ServiceAccount or can
103103
#### Setup IAM manually
104104
If not setting up IAM for ServiceAccount, apply the IAM policies from the following URL at minimum.
105105
```
106-
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.0/docs/install/iam_policy.json
106+
curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-load-balancer-controller/v2.4.1/docs/install/iam_policy.json
107107
```
108108
109109
##### 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:
@@ -178,7 +178,7 @@ curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-lo
178178
### Apply YAML
179179
1. Download spec for load balancer controller.
180180
```
181-
wget https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/download/v2.4.0/v2_4_0_full.yaml
181+
wget https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/download/v2.4.1/v2_4_1_full.yaml
182182
```
183183
1. Edit the saved yaml file, go to the Deployment spec, and set the controller --cluster-name arg value to your EKS cluster name
184184
```
@@ -202,7 +202,7 @@ curl -o iam-policy.json https://raw.githubusercontent.com/kubernetes-sigs/aws-lo
202202
```
203203
1. Apply the yaml file
204204
```
205-
kubectl apply -f v2_4_0_full.yaml
205+
kubectl apply -f v2_4_1_full.yaml
206206
```
207207
208208

helm/aws-load-balancer-controller/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
name: aws-load-balancer-controller
33
description: AWS Load Balancer Controller Helm chart for Kubernetes
4-
version: 1.4.0
5-
appVersion: v2.4.0
4+
version: 1.4.1
5+
appVersion: v2.4.1
66
home: https://github.com/aws/eks-charts
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

helm/aws-load-balancer-controller/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replicaCount: 2
66

77
image:
88
repository: 602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-load-balancer-controller
9-
tag: v2.4.0
9+
tag: v2.4.1
1010
pullPolicy: IfNotPresent
1111

1212
imagePullSecrets: []
@@ -274,4 +274,4 @@ serviceMonitor:
274274
clusterSecretsPermissions:
275275
# allowAllSecrets allows the controller to access all secrets in the cluster.
276276
# This is to get backwards compatible behavior, but *NOT* recommended for security reasons
277-
allowAllSecrets: false
277+
allowAllSecrets: false

0 commit comments

Comments
 (0)