Skip to content

Commit c62f394

Browse files
rifelpetactions-userk8s-ci-robotdependabot[bot]der-eismann
authored
Merge upstream master (#6)
* Update dependencies * Update dependencies * Update dependencies * Bump peter-evans/create-pull-request from 5.0.2 to 6.0.0 Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 5.0.2 to 6.0.0. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](peter-evans/create-pull-request@1534078...b1ddad2) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Update dependencies * Stop marking helm releases as "Latest release" * Implements InstancesV2 interface Signed-off-by: Matt Merkes <[email protected]> * Update dependencies * Update OWNERS Add mmerkes as an approver * Moving OWNERS to emeritus Moves a set of owners to emeritus that haven't been active in this repo for a while. * Update OWNERS * Update dependencies * Get zone information from cache * Update pkg/providers/v1/zones.go Co-authored-by: Carter <[email protected]> * Updates unsafe code for zones.go * Update dependencies * Bump peter-evans/create-pull-request from 6.0.0 to 6.0.1 Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.0 to 6.0.1. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](peter-evans/create-pull-request@b1ddad2...a4f52f8) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Use 1.30 alpha.3 k8s packages * Add zone-id topology label to nodes Includes node e2e test to verify that the label is actually applied * Update pkg/providers/v1/zones.go Co-authored-by: Carter <[email protected]> * Update dependencies * updating deps to v0.30.0-beta.0 * updating version.txt to 1.30.0-beta.0 * Align annotation's table in Service Controller docs Signed-off-by: Alexandre Nicolaie <[email protected]> * Add missing documentation for the Service Controller Signed-off-by: Alexandre Nicolaie <[email protected]> * Update dependencies * Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.1 to 6.0.2. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](peter-evans/create-pull-request@a4f52f8...70a41ab) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Bump k8s lib to 0.30.0-rc.0 * Support rc in tag release * Update dependencies * Bump peter-evans/create-pull-request from 6.0.2 to 6.0.3 Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.2 to 6.0.3. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](peter-evans/create-pull-request@70a41ab...c55203c) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * (cleanup): Move types to their own files * (cleanup): remove unused volume handling * bumping go to 1.22.2 * (cleanup): remove instance group handling * Update dependencies * Bump peter-evans/create-pull-request from 6.0.3 to 6.0.4 Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.3 to 6.0.4. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](peter-evans/create-pull-request@c55203c...9153d83) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * bump golang.org/x/net to v0.24.0 Signed-off-by: Flavian Missi <[email protected]> * Update dependencies * Update dependencies * Use go-version-file in workflows * Bump Go to 1.23.3 * Bump Go to 1.22.3 in tests/e2e/go.mod * Ensure that addresses are added in network device index order * extract fargate into a standalone file Signed-off-by: Davanum Srinivas <[email protected]> * Update dependencies * Update dependencies * Update dependencies * allow creation of tokenreviews and subjectaccessreviews Co-Authored-By: Eric Wolak <[email protected]> * docs(footer): Add trademark disclaimer * bump golang version to 1.22.4 for master branch Signed-off-by: Davanum Srinivas <[email protected]> * Update dependencies * Add kmala to the owners file * Allow user to specify Registry Pull Secret * Update dependencies * Update dependencies * add support for new aws partitions in credential provider * log useful information about the cluster and the instance Signed-off-by: Davanum Srinivas <[email protected]> * format the instance metadata details log * Update dependencies * Bump actions/setup-go from 5.0.0 to 5.0.2 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.0 to 5.0.2. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@0c52d54...0a12ed9) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update dependencies * Handle error while registering/deregistering target during load balancer update * Update dependencies * Bump default branch to 1.31.0 * Switch to latest master of kops Signed-off-by: Davanum Srinivas <[email protected]> * Add configuration to allow Kube Proxy health checks when using cluster wide services * Ensure removal of security group rules on deleting load balancers * Sorting LB security groups should prefer tagged security group * Make metadata logging best-effort GetInstanceIdentityDocument returns a fatal error when AWS_EC2_METADATA_DISABLED is true. Make the logging best-effort and ignore errors from GetInstanceIdentityDocument. * update golang from 1.22.5 to 1.22.7 * Add node topology labels * Refactors setting node network topology labels * Updates ecr SDK to v2 SDK * Bump actions/setup-go from 5.0.2 to 5.1.0 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.2 to 5.1.0. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@0a12ed9...41dfa10) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Migrates InstanceTopologyManager to use sdk v2 * Documents running e2e tests ad hoc * Fixes typos and formatting in development.md * Removes unused autoscaling code * Fixes EC2 SDK v2 client configuration to assume role properly * Gracefully handles getting instance topology and unhandled variants * Update to latest ko * Update ECR Regex to support new dual stack endpoints, modify ECR regex to have 5 capture groups, elimiating un-needed captures, update tests for new endpoints and parseRegionFromECRPrivateHost to support multiple region combinations * release 1.32.0-rc.2 * Version bump 1.32 * Bump actions/setup-go from 5.1.0 to 5.2.0 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.1.0 to 5.2.0. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@41dfa10...3041bf5) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Bump default branch to 1.32.0 * Bump peter-evans/create-pull-request from 6.0.4 to 7.0.6 Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.4 to 7.0.6. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](peter-evans/create-pull-request@9153d83...67ccf78) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Update dependencies to resolve CVE-2024-45338 * Tidy go.sum * use typed client-go constructors for rate-limit related objects Signed-off-by: Min Jin <[email protected]> * optimize tagging controller workqueue handling * ecr-credential-provider: Fix warning about no region in image ref * Requires node topology labels to be set for known supported instance types * Optimize node controller describe instances calls * Update instances v2 tests * Bump peter-evans/create-pull-request from 7.0.6 to 7.0.7 Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7.0.6 to 7.0.7. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](peter-evans/create-pull-request@67ccf78...dd2324f) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Bump peter-evans/create-pull-request from 7.0.7 to 7.0.8 Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7.0.7 to 7.0.8. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](peter-evans/create-pull-request@dd2324f...271a8d0) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * feat: add tagging controller delays and work queue size metrics * clean up * Removed redundante work queue size metric and moved the measurement of tagging delay inside tagEc2Instance * added back log lines * Bump actions/setup-go from 5.2.0 to 5.4.0 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.2.0 to 5.4.0. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@3041bf5...0aaccfd) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * bump golang.org/x/oauth2 to v0.27.0 Signed-off-by: Min Jin <[email protected]> * bump golang.org/x/crypto to v0.35.0 Signed-off-by: Min Jin <[email protected]> * bump go runner to v2.3.1-go1.23.2-bookworm.0 Signed-off-by: Min Jin <[email protected]> * Enable concurrent worker syncs for tagging controller * Update default concurrency to 1 * Add validation for concurrency option * Release 1.33.0-beta.0 * 1.33 Rc release * Capturing initial tagging delay only if its the first tagging event. Renamed the metric to be more indicative of what its measuring * remove newlines * improved the function definition * added tests for isInitialTag * Batch tagging controller create/delete tags calls * Add delete tags logging * Remove enable batching flag * Add comments for exported methods * Fix linter errors * Address comments * V1.33.0 Release * upgraded to ec2 v2, buggy * add tagging files * test fixes and middleware additions * added middleware * merged upstream * cleanup debug statements * added test * put instanceid back in * added clarifying comments for v2 impls * updated v2 handler interface * Bump actions/setup-go from 5.4.0 to 5.5.0 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.4.0 to 5.5.0. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@0aaccfd...d35c59a) --- updated-dependencies: - dependency-name: actions/setup-go dependency-version: 5.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * updated middleware logging * lint fixes * added waitwithcontext, fixed signingregion and endpoint override * added tests for client retry and endpoint resolution * fixed Compute() tests to actually use Compute() * debug msgs * getregion debug * formatting for aws sdk test * more lint fixes * added debugging through describeinstances trace * pass credentials into Compute() directly * removed debug msgs * Added tests for delayPresign and delayAfterRetry * updated error checking tests to be e2e * added default mode to Compute() config initialization * Resolve conflicts --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Matt Merkes <[email protected]> Signed-off-by: Alexandre Nicolaie <[email protected]> Signed-off-by: Flavian Missi <[email protected]> Signed-off-by: Davanum Srinivas <[email protected]> Signed-off-by: Min Jin <[email protected]> Co-authored-by: github-actions <[email protected]> Co-authored-by: Kubernetes Prow Robot <[email protected]> Co-authored-by: Kubernetes Prow Robot <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Philipp Trulson <[email protected]> Co-authored-by: Matt Merkes <[email protected]> Co-authored-by: Carter <[email protected]> Co-authored-by: Jai Devmane <[email protected]> Co-authored-by: Alexandre Nicolaie <[email protected]> Co-authored-by: haoranleo <[email protected]> Co-authored-by: Carter <[email protected]> Co-authored-by: Flavian Missi <[email protected]> Co-authored-by: Ciprian Hacman <[email protected]> Co-authored-by: Jeremy Bopp <[email protected]> Co-authored-by: Davanum Srinivas <[email protected]> Co-authored-by: Aastha <[email protected]> Co-authored-by: Eric Wolak <[email protected]> Co-authored-by: Maria Salcedo <[email protected]> Co-authored-by: Keerthan Reddy Mala <[email protected]> Co-authored-by: Aman Pasi <[email protected]> Co-authored-by: Jay Deokar <[email protected]> Co-authored-by: Flora Wang <[email protected]> Co-authored-by: Joel Speed <[email protected]> Co-authored-by: Seth Jennings <[email protected]> Co-authored-by: vela <[email protected]> Co-authored-by: Bartlomiej Dworak <[email protected]> Co-authored-by: leigh <[email protected]> Co-authored-by: Min Jin <[email protected]> Co-authored-by: Shivendra Panicker <[email protected]> Co-authored-by: Shiv Bhosale <[email protected]> Co-authored-by: Ganesh Putta <[email protected]> Co-authored-by: Gargi Panatula <[email protected]>
1 parent f71e9fb commit c62f394

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+6231
-4231
lines changed

.github/workflows/deps.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
required: true
1313
default: 'master'
1414
type: string
15-
base_ref:
15+
base_ref:
1616
description: 'Base git reference (tag/branch/commit) to compare against head_ref'
1717
required: true
1818
default: 'master'
@@ -42,10 +42,8 @@ jobs:
4242
- id: govulncheck
4343
uses: golang/govulncheck-action@v1
4444
with:
45-
go-version-input: 1.21.5
4645
go-version-file: go.mod
4746
- id: govulncheck-tests-e2e
4847
uses: golang/govulncheck-action@v1
4948
with:
50-
go-version-input: 1.21.5
5149
go-version-file: tests/e2e/go.mod

.github/workflows/helm_chart_release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ jobs:
3030
env:
3131
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
3232
with:
33-
config: .github/cr.yaml
33+
config: .github/cr.yaml
34+
mark_as_latest: false

.github/workflows/update-deps.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
contents: write
1818
pull-requests: write
1919
steps:
20-
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
21-
with:
22-
go-version: '1.21.5'
2320
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
21+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
22+
with:
23+
go-version-file: go.mod
2424
- name: Update Dependencies
2525
id: update_deps
2626
run: |
@@ -30,7 +30,7 @@ jobs:
3030
echo 'EOF' >> $GITHUB_OUTPUT
3131
- name: Create PR
3232
if: ${{ steps.update_deps.outputs.changes != '' }}
33-
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38
33+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e
3434
with:
3535
title: 'Update dependencies'
3636
commit-message: Update dependencies
@@ -45,4 +45,3 @@ jobs:
4545
release-note-none
4646
body: |
4747
Updating go.mod with latest dependencies.
48-

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ site/
1010
e2e.test
1111
.idea/
1212
**/*.swp
13+
.DS_Store

.ko.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
defaultBaseImage: registry.k8s.io/build-image/go-runner:v2.3.1-go1.21.5-bookworm.0
1+
defaultBaseImage: registry.k8s.io/build-image/go-runner:v2.4.0-go1.24.0-bookworm.0

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
## BUILD ARGS ##
1515
################################################################################
1616
# This build arg allows the specification of a custom Golang image.
17-
ARG GOLANG_IMAGE=golang:1.21.5
17+
ARG GOLANG_IMAGE=golang:1.24.0
1818

1919
# Datadog's base docker image
2020
ARG BASE_IMAGE

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SHELL := /bin/bash
1818
GOOS ?= $(shell go env GOOS)
1919
GOARCH ?= $(shell go env GOARCH)
2020
GOPROXY ?= $(shell go env GOPROXY)
21-
GIT_VERSION := $(shell git describe --dirty --tags --match='v*')
21+
GIT_VERSION ?= $(shell git describe --dirty --tags --match='v*')
2222
VERSION ?= $(GIT_VERSION)
2323
IMAGE_REPOSITORY ?= provider-aws/cloud-controller-manager
2424
IMAGE ?= $(IMAGE_REPOSITORY):$(VERSION)
@@ -110,7 +110,7 @@ ko-build-tar: ko
110110

111111
.PHONY: ko-build-local
112112
ko-build-local: ko
113-
KO_DOCKER_REPO="$(IMAGE_REPOSITORY)" GOFLAGS="-ldflags=-X=k8s.io/component-base/version.gitVersion=$(VERSION)" ko build --tags ${VERSION} --platform=linux/amd64 --bare ./cmd/aws-cloud-controller-manager/ --push=false --local
113+
KO_DOCKER_REPO="ko.local" GOFLAGS="-ldflags=-X=k8s.io/component-base/version.gitVersion=$(VERSION)" ko build --tags ${VERSION} --platform=linux/amd64 --bare ./cmd/aws-cloud-controller-manager/ --push=false --local
114114
docker tag ko.local:${VERSION} $(IMAGE)
115115

116116
.PHONY: e2e.test
@@ -122,6 +122,9 @@ e2e.test:
122122
.PHONY: check
123123
check: verify-fmt verify-lint vet
124124

125+
.PHONY: develop
126+
develop: aws-cloud-controller-manager test update-fmt check
127+
125128
.PHONY: test
126129
test:
127130
go test -count=1 -race -v $(shell go list ./...)

OWNERS

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
approvers:
22
- dims
3-
- justinsb
43
- nckturner
5-
- M00nF1sh
6-
- andrewsykim
7-
- wongma7
84
- olemarkus
95
- hakman
106
- kishorj
117
- cartermckinnon
8+
- mmerkes
9+
- wongma7
10+
- kmala
1211
reviewers:
1312
- dims
14-
- justinsb
1513
- nckturner
16-
- M00nF1sh
17-
- andrewsykim
18-
- wongma7
1914
- olemarkus
2015
- hakman
2116
- kishorj
2217
- cartermckinnon
2318
- mmerkes
19+
- kmala
2420
emeritus_approvers:
2521
- zmerlynn
2622
- gnufied
@@ -32,3 +28,6 @@ emeritus_approvers:
3228
- leakingtapan
3329
- ayberk
3430
- jaypipes
31+
- M00nF1sh
32+
- andrewsykim
33+
- justinsb

charts/aws-cloud-controller-manager/templates/daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ spec:
3232
hostNetwork: true
3333
{{- end }}
3434
securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}
35+
{{- with .Values.imagePullSecrets }}
36+
imagePullSecrets:
37+
{{- toYaml . | nindent 8 }}
38+
{{- end }}
3539
containers:
3640
- name: {{ .Chart.Name }}
3741
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"

charts/aws-cloud-controller-manager/values.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ image:
88
repository: registry.k8s.io/provider-aws/cloud-controller-manager
99
tag: v1.27.1
1010

11+
# Specify image pull secrets
12+
imagePullSecrets: []
13+
1114
# nameOverride overrides `cloud-controller-manager.fullname`
1215
nameOverride: "aws-cloud-controller-manager"
1316

@@ -95,6 +98,18 @@ clusterRoleRules:
9598
- serviceaccounts/token
9699
verbs:
97100
- create
101+
- apiGroups:
102+
- authentication.k8s.io
103+
resources:
104+
- tokenreviews
105+
verbs:
106+
- create
107+
- apiGroups:
108+
- authorization.k8s.io
109+
resources:
110+
- subjectaccessreviews
111+
verbs:
112+
- create
98113

99114
# resources -- Pod resource requests and limits.
100115
resources:

0 commit comments

Comments
 (0)