Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-6355: Rebase to v1.15.0 for OCP 4.13 #215

Merged
merged 131 commits into from
Feb 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
a6a7b09
Add controller nodeAffinity to prefer EC2 over Fargate
torredil Aug 23, 2022
5012723
Retrieve region/AZ from topology label
torredil Aug 25, 2022
9fb4ada
add initContainer to the controller's template
InsomniaCoder Sep 9, 2022
8767669
Merge pull request #1387 from kubernetes-sigs/release-1.11
k8s-ci-robot Sep 15, 2022
7490575
Release Helm chart v2.11.0
torredil Sep 15, 2022
96dd5aa
add link to install guide
geoffcline Sep 14, 2022
1504bbe
Merge pull request #1388 from torredil/helm-release
k8s-ci-robot Sep 15, 2022
4287fd4
Merge pull request #1383 from geoffcline/patch-1
k8s-ci-robot Sep 16, 2022
3221cca
Update release notes; Implement useOldCSIDriver parameter
ConnorJC3 Sep 16, 2022
6522c55
Merge pull request #1391 from ConnorJC3/fix-helm-chart
k8s-ci-robot Sep 16, 2022
c515a75
Merge pull request #1379 from InsomniaCoder/introduce-init-container
k8s-ci-robot Sep 20, 2022
98da3a7
Add resolver to handle custom endpoints
bertinatto Sep 22, 2022
b62940a
Merge pull request #1398 from bertinatto/fix-custom-endpoints-sts
k8s-ci-robot Sep 22, 2022
666f2bc
Add enableMetrics configuration
torredil Sep 23, 2022
f5aa1b7
Add self to OWNERS
ConnorJC3 Sep 23, 2022
6d70467
Merge pull request #1399 from ConnorJC3/add-self-to-owners
k8s-ci-robot Sep 23, 2022
03cde05
Merge pull request #1380 from torredil/metrics
k8s-ci-robot Sep 23, 2022
fcf2fa7
Merge pull request #1360 from torredil/fargate-affinity
k8s-ci-robot Sep 26, 2022
ad80aef
Move default toleration to values.yaml so it can be overriden if desi…
cnmcavoy Sep 27, 2022
91881c3
Cleanup OWNERS
ConnorJC3 Sep 27, 2022
a8adf9c
Merge pull request #1400 from cnmcavoy/cnmcavoy/override-taints
k8s-ci-robot Sep 28, 2022
5bbff72
Add snow device types to parameters
Sep 28, 2022
4adc00f
Merge pull request #1404 from TerryHowe/add-snow-device-types
k8s-ci-robot Sep 28, 2022
a4cc408
revise preqs for install docs
geoffcline Sep 15, 2022
3d5d549
Merge pull request #1389 from geoffcline/gdc-patch-2
k8s-ci-robot Sep 29, 2022
7f14be8
Release v1.11.4
torredil Sep 29, 2022
c27ccef
Update workflows
torredil Sep 29, 2022
363ae7e
Merge pull request #1406 from torredil/release-1.11
k8s-ci-robot Sep 29, 2022
fabb0d7
Merge pull request #1401 from torredil/update-workflows
k8s-ci-robot Sep 29, 2022
584b169
Merge pull request #1407 from kubernetes-sigs/release-1.11
k8s-ci-robot Sep 29, 2022
4231cd0
Build Windows container for Windows Server 2022 LTSC
ConnorJC3 Sep 29, 2022
e7d9548
Merge pull request #1403 from ConnorJC3/cleanup-owners
k8s-ci-robot Sep 29, 2022
3700dc7
Add .image-* files from Makefile to .gitignore
ConnorJC3 Sep 30, 2022
a5b1b9a
Merge pull request #1410 from ConnorJC3/gitignore-image
k8s-ci-robot Sep 30, 2022
b50903b
Update trivy.yaml workflow event trigger
torredil Sep 30, 2022
562c0a2
Merge pull request #1411 from torredil/update-trivy
k8s-ci-robot Sep 30, 2022
74ab96e
Merge pull request #1408 from ConnorJC3/windows-2022ltsc
k8s-ci-robot Oct 3, 2022
d20afd3
Add support for io2 Block Express volumes
ConnorJC3 Sep 30, 2022
eebda78
Merge pull request #1409 from ConnorJC3/io2-iops
k8s-ci-robot Oct 4, 2022
c60d218
Release v1.12.0
torredil Oct 4, 2022
3bc74c4
Merge pull request #1412 from torredil/release-1.12
k8s-ci-robot Oct 4, 2022
5d25481
Merge pull request #1413 from kubernetes-sigs/release-1.12
k8s-ci-robot Oct 4, 2022
d25d620
Add release and support policy to README.md
torredil Oct 4, 2022
b20a80d
Release Helm chart v2.12.0
torredil Oct 4, 2022
4e19d41
Merge pull request #1392 from torredil/update-readme
k8s-ci-robot Oct 4, 2022
7016a78
Merge pull request #1414 from torredil/helm-release-112
k8s-ci-robot Oct 4, 2022
5860265
Add parameter to force enable snapshotter sidecar
ConnorJC3 Oct 6, 2022
a4ae7df
Upgrade ginkgo to v2
torredil Oct 6, 2022
ddb6bdb
Upgrade K8s to v1.25
torredil Oct 6, 2022
1cfdeb9
Use upstream binary for e2e-kubernetes
torredil Oct 6, 2022
f211462
Merge pull request #1418 from ConnorJC3/force-enable-snapshotter
k8s-ci-robot Oct 7, 2022
6f5db70
Add serviceMonitor.labels parameter
torredil Oct 7, 2022
4c88b87
Merge pull request #1419 from torredil/update-metrics
k8s-ci-robot Oct 7, 2022
c156536
Merge pull request #1341 from torredil/update-k8s-ci
k8s-ci-robot Oct 7, 2022
852a539
Update go version in 1.19
torredil Oct 7, 2022
66c6054
Merge pull request #1421 from torredil/update-go-unit-tests
k8s-ci-robot Oct 7, 2022
d0c961a
Update and run update-gomock
torredil Oct 10, 2022
bf6a5c4
Merge pull request #1422 from torredil/update-go-unit-tests
k8s-ci-robot Oct 10, 2022
eca3bf2
Release v1.12.1
ConnorJC3 Oct 12, 2022
ea4e876
Merge branch 'master' into release-1.12
ConnorJC3 Oct 12, 2022
495f97b
Add version information from tag to GCR build
ConnorJC3 Oct 12, 2022
1c01cde
Merge pull request #1426 from ConnorJC3/fix-version-gcr
k8s-ci-robot Oct 12, 2022
80ddf8f
Merge pull request #1425 from kubernetes-sigs/release-1.12
k8s-ci-robot Oct 13, 2022
fc75036
refactor: Move the default controller tolerations in the helm chart v…
Linutux42 Oct 13, 2022
82def39
Merge pull request #1427 from Linutux42/master
k8s-ci-robot Oct 13, 2022
8fbe47d
[BUG] pkg/driver/controller.go uses ToLower
yevhenvolchenko Oct 13, 2022
ee0a9c4
Merge pull request #1429 from yevhenvolchenko/patch-1
k8s-ci-robot Oct 14, 2022
ab50211
Increase cloudbuild timeout
torredil Oct 14, 2022
3edb878
Merge pull request #1430 from torredil/cloudbuild-timeout
k8s-ci-robot Oct 14, 2022
7f0b31a
Upgrade CI dependencies
torredil Oct 28, 2022
0bffb60
Upgrade Go dependencies
torredil Oct 28, 2022
e693131
Merge pull request #1433 from torredil/upgrade-deps
k8s-ci-robot Oct 31, 2022
a292cb0
Expose volumes and volumeMounts for the ebs-csi-controller deployment
cnmcavoy Oct 28, 2022
458e352
Upgrade golangci-lint; Fix linter errors
torredil Oct 31, 2022
3df37d8
Merge pull request #1436 from cnmcavoy/cnmcavoy/helm-volumes-and-mounts
k8s-ci-robot Nov 1, 2022
db8abf2
Merge pull request #1435 from torredil/upgrade-golangci-lint
k8s-ci-robot Nov 2, 2022
c76f2ff
Use PULL_BASE_REF for VERSION instead of GIT_TAG for GCR builds
ConnorJC3 Nov 4, 2022
6246dc1
Merge pull request #1439 from ConnorJC3/fixup-gcr-version
k8s-ci-robot Nov 4, 2022
a281653
Grab version via tag directly from git
ConnorJC3 Nov 4, 2022
469a681
Release v1.13.0
torredil Nov 4, 2022
c3d2d6d
Merge pull request #1442 from torredil/release-1.13
k8s-ci-robot Nov 7, 2022
d338fca
Merge pull request #1444 from kubernetes-sigs/release-1.13
k8s-ci-robot Nov 7, 2022
84df703
Clean up .travis.yaml
ialidzhikov Nov 10, 2022
3fd4f8c
Merge pull request #1446 from ialidzhikov/cleanup/travis-config
k8s-ci-robot Nov 11, 2022
b1d476c
Update example policy
torredil Nov 16, 2022
586e62a
Merge pull request #1450 from torredil/update-policy
k8s-ci-robot Nov 16, 2022
ea195ef
Update install.md & options.md docs
torredil Dec 13, 2022
8578e6d
Clarify monthly release version policy
ConnorJC3 Dec 15, 2022
7273c1b
Bump go dependencies for release
ConnorJC3 Dec 15, 2022
fca36b0
Drop Windows Server 1809 build
ConnorJC3 Dec 15, 2022
96d0a34
Update CHANGELOGs and bump versions for release v1.14.0
ConnorJC3 Dec 15, 2022
a1945bd
Bump branch in installation docs
ConnorJC3 Dec 15, 2022
2dcdd3e
Add controller.sdkDebugLog parameter
ConnorJC3 Dec 16, 2022
610a1b9
Revert to grabbing tag from PULL_BASE_REF in prow.sh
ConnorJC3 Dec 16, 2022
144df7b
Merge pull request #1458 from torredil/update-docs
k8s-ci-robot Dec 16, 2022
bebe592
Add note about changing sidecars to CHANGELOG
ConnorJC3 Dec 19, 2022
86f165e
Merge pull request #1460 from kubernetes-sigs/release-1.14
k8s-ci-robot Dec 19, 2022
c3cf17f
Support specifying block size for filesystem format
ConnorJC3 Nov 21, 2022
e482d94
Fix volume limits for m6id and x2idn instance types
talnevo Dec 21, 2022
c59eb1d
Merge pull request #1463 from talnevo/patch-1
k8s-ci-robot Dec 21, 2022
3eb7ca5
Touch up Chart.yaml
ConnorJC3 Dec 27, 2022
86dd69c
Update compatibility info in README
torredil Dec 27, 2022
aba27bb
Merge pull request #1465 from torredil/update-readme
k8s-ci-robot Dec 29, 2022
b8e13d1
Fix volume limits for m6id and x2idn instance types
talnevo Dec 21, 2022
00d9bbe
Merge pull request #1470 from ConnorJC3/release-1.14
k8s-ci-robot Jan 5, 2023
dc478af
Release 1.14.1
ConnorJC3 Jan 5, 2023
81881c7
Merge pull request #1471 from ConnorJC3/release-1.14
k8s-ci-robot Jan 5, 2023
dbf04e4
Merge pull request #1472 from kubernetes-sigs/release-1.14
k8s-ci-robot Jan 5, 2023
862fe33
Merge pull request #1452 from ConnorJC3/custom-block-sizes
k8s-ci-robot Jan 5, 2023
8dacb6a
Set sensible default resource requests/limits
ConnorJC3 Dec 19, 2022
3b7a0d4
Add sensible default update strategy
ConnorJC3 Dec 19, 2022
46d358d
Add podAntiAffinity so controller pods prefer scheduling on separate …
ConnorJC3 Dec 19, 2022
3171592
Add container registry parameter
ConnorJC3 Dec 19, 2022
ee857a7
Bump chart version and add CHANGELOG entries
ConnorJC3 Dec 19, 2022
a085f40
Update kustomize manifests with helm chart changes
ConnorJC3 Dec 19, 2022
8eed218
Add test-helm-chart target to Makefile to test Helm chart upgrades
torredil Jan 6, 2023
cd21a03
Merge pull request #1454 from torredil/chart-testing
k8s-ci-robot Jan 6, 2023
c6ea44a
Temporarily disable broken test
ConnorJC3 Jan 10, 2023
9fba69a
Manually setup remote for CT on Prow
ConnorJC3 Jan 10, 2023
7106b0c
Merge pull request #1473 from ConnorJC3/chart-tester-fix
k8s-ci-robot Jan 10, 2023
ce8a68b
Merge pull request #1461 from ConnorJC3/chart-cleanup
k8s-ci-robot Jan 10, 2023
efedd5b
Change default sidecars to EKS-D
ConnorJC3 Jan 11, 2023
16ab52f
Add `helm.sh/hook: test` annotation to chart testing resources
torredil Jan 12, 2023
69015f5
Merge pull request #1477 from torredil/master
k8s-ci-robot Jan 12, 2023
5776b7a
Merge pull request #1475 from ConnorJC3/default-eksd-sidecars
k8s-ci-robot Jan 12, 2023
f5781b9
Merge remote-tracking branch 'openshift/master' into rebase-v1.15.0
RomanBednar Jan 27, 2023
874d755
UPSTREAM: <carry>: Add OpenShift files
jsafrane Sep 8, 2022
1b59585
UPSTREAM: <carry>: Compile with -mod=vendor
jsafrane Sep 8, 2022
7121a24
UPSTREAM: <carry>: Compile without KUBECONFIG
jsafrane Sep 22, 2022
d55ab4f
UPSTREAM: <carry>: Remove .github files
jsafrane Sep 29, 2022
4a51720
UPSTREAM: <carry>: Add vendor/ directory
RomanBednar Jan 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 48 additions & 0 deletions .github/workflows/trivy-containers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Trivy Scanner - Container Images
on:
push:
branches:
- master
paths:
- 'deploy/kubernetes/overlays/stable/gcr/kustomization.yaml'
schedule:
- cron: '0 */24 * * *'

jobs:
build-matrix:
runs-on: ubuntu-latest
outputs:
images: ${{ steps.set-matrix.outputs.result }}

steps:
- name: Checkout code
uses: actions/checkout@v3

- id: set-matrix
uses: mikefarah/yq@master
with:
# Dynamically build the matrix of images to scan using `deploy/kubernetes/overlays/stable/gcr/kustomization.yaml`
# matrix format: ['k8s.gcr.io/provider-aws/aws-ebs-csi-driver:v1.11.3', 'k8s.gcr.io/sig-storage/csi-attacher:v3.4.0', ...]
cmd: yq '.images | map(.name + ":" + .newTag) | . style="flow"' < deploy/kubernetes/overlays/stable/gcr/kustomization.yaml

trivy-scan:
needs: build-matrix
runs-on: ubuntu-latest
strategy:
matrix:
image: ${{ fromJson(needs.build-matrix.outputs.images) }}

steps:
- name: Scan container image
uses: aquasecurity/trivy-action@master
with:
image-ref: '${{ matrix.image }}'
output: 'results.sarif'
format: 'sarif'
ignore-unfixed: true
severity: 'HIGH,CRITICAL'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'results.sarif'
28 changes: 28 additions & 0 deletions .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Trivy Scanner
on:
push:
branches:
- master
pull_request:

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
ignore-unfixed: true
format: 'sarif'
output: 'results.sarif'
severity: 'HIGH,CRITICAL'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'results.sarif'
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ Vagrantfile

# Vendor dir
#vendor/

# .image-* files used by Makefile
.image-*
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

82 changes: 82 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,85 @@
# v1.14.1
### Bug Fixes
* (Cherry-Pick) Fixed handling of volume limits for instance types m6id and x2idn

# v1.14.0
### Improvements
* Bumped golang dependencies
* Rebuilt driver container with newer base image (containing security fixes)
* In the next minor release (v1.15.0, scheduled for January) the default sidecars will be changed, see https://github.com/kubernetes-sigs/aws-ebs-csi-driver/issues/1456

# v1.13.0
### Bug Fixes

* Add version information from tag to GCR build ([#1426](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1426), [@ConnorJC3](https://github.com/ConnorJC3))
* `pkg/driver/controller.go` uses ToLower ([#1429](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1429), [@yevhenvolchenko](https://github.com/yevhenvolchenko))
* Increase cloudbuild timeout ([#1430](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1430), [@torredil](https://github.com/torredil))
* Use `PULL_BASE_REF` for `VERSION` instead of `GIT_TAG` for GCR builds ([#1439](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1439), [@ConnorJC3](https://github.com/ConnorJC3))
* Grab version via tag directly from git ([#1441](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1441), [@ConnorJC3](https://github.com/ConnorJC3))

### Improvements
* Upgrade K8s to `v1.25`; Upgrade ginkgo to `v2`; Use upstream binary for `e2e-kubernetes` ([#1341](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1341), [@torredil](https://github.com/torredil))
* Add release and support policy to README.md ([#1392](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1392), [@torredil](https://github.com/torredil))
* Update and run update-gomock ([#1422](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1422), [@torredil](https://github.com/torredil))
* Upgrade Go/CI dependencies ([#1433](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1433), [@torredil](https://github.com/torredil))
* Upgrade golangci-lint; Fix linter errors ([#1435](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1435), [@torredil](https://github.com/torredil))

### Acknowledgments
* We would like to sincerely thank:
[@yevhenvolchenko](https://github.com/yevhenvolchenko)

# v1.12.1
### Security
* Addreses [ALAS2-2022-1854](https://alas.aws.amazon.com/AL2/ALAS-2022-1854.html) and [ALAS2-2022-1849](https://alas.aws.amazon.com/AL2/ALAS-2022-1849.html)

# v1.11.5
### Backported Security
* Addreses [ALAS2-2022-1854](https://alas.aws.amazon.com/AL2/ALAS-2022-1854.html) and [ALAS2-2022-1849](https://alas.aws.amazon.com/AL2/ALAS-2022-1849.html)

# v1.12.0
### Notable Changes
* Unify IOPS handling across volume types ([#1366](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1366), [@torredil](https://github.com/torredil))
* Change fsGroupPolicy to File ([#1377](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1377), [@ConnorJC3](https://github.com/ConnorJC3))
* Add resolver to handle custom endpoints ([#1398](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1398), [@bertinatto](https://github.com/bertinatto))
* Add enableMetrics configuration ([#1380](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1380), [@torredil](https://github.com/torredil))
* Build Windows container for Windows Server 2022 LTSC ([#1408](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1408), [@ConnorJC3](https://github.com/ConnorJC3))
* Add support for io2 Block Express volumes ([#1409](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1409), [@ConnorJC3](https://github.com/ConnorJC3))

### Bug Fixes
* c6i.metal and g5g.metal are nitro instances ([#1358](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1358), [@wmesard](https://github.com/wmesard))
* Update release notes; Implement useOldCSIDriver parameter ([#1391](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1391), [@ConnorJC3](https://github.com/ConnorJC3))

### Improvements
* Add controller nodeAffinity to prefer EC2 over Fargate ([#1360](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1360), [@torredil](https://github.com/torredil))
* Add warning message when region is unavailable on the controller ([#1359](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1359), [@ConnorJC3](https://github.com/ConnorJC3))
* Retrieve region/AZ from topology label ([#1360](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1360), [@torredil](https://github.com/torredil))
* Update the kustomization deployment to latest image tag ([#1367](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1367), [@gtxu](https://github.com/gtxu))
* Update module k8s.io/klog to v2 ([#1370](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1370), [@torredil](https://github.com/torredil))
* Updating static example to include setting fsType ([#1376](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1376), [@jbehrends](https://github.com/jbehrends))
* Allow all taint for csi-node by default ([#1381](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1381), [@gtxu](https://github.com/gtxu))
* add link to install guide ([#1383](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1383), [@geoffcline](https://github.com/geoffcline))
* Add self to OWNERS ([#1399](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1399), [@ConnorJC3](https://github.com/ConnorJC3))
* Cleanup OWNERS ([#1403](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1403), [@ConnorJC3](https://github.com/ConnorJC3))
* Add snow device types to parameters ([#1404](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1404), [@TerryHowe](https://github.com/TerryHowe))
* revise preqs for install docs ([#1389](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1389), [@geoffcline](https://github.com/geoffcline))
* Update workflows ([#1401](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1401), [@torredil](https://github.com/torredil))
* Add .image-* files from Makefile to .gitignore ([#1410](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1410), [@ConnorJC3](https://github.com/ConnorJC3))
* Update trivy.yaml workflow event trigger ([#1411](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1411), [@torredil](https://github.com/torredil))

### Acknowledgments
* We would like to sincerely thank:
[@TerryHowe](https://github.com/TerryHowe), [@bertinatto](https://github.com/bertinatto), [@geoffcline](https://github.com/geoffcline), & [@jbehrends](https://github.com/jbehrends)

# v1.11.4
### Improvements
* Update go version; Update dependencies ([#1394](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1394), [@torredil](https://github.com/torredil))
- go `1.17` -> `1.19`
- github.com/aws/aws-sdk-go `v1.44.45` -> `v1.44.101`
- github.com/google/go-cmp `v0.5.8` -> `v0.5.9`
- github.com/onsi/gomega `v1.19.0` -> `v1.20.2`
- golang.org/x/sys `v0.0.0-20220728004956-3c1f35247d10` -> `v0.0.0-20220919091848-fb04ddd9f9c8`
- google.golang.org/grpc `v1.47.0` -> `v1.49.0`

# v1.11.3
### Vulnerability Fixes
* Address CVEs ([#1384](https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/1384), [@torredil](https://github.com/torredil))
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ FROM public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-csi-ebs:lat
COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/bin/aws-ebs-csi-driver /bin/aws-ebs-csi-driver
ENTRYPOINT ["/bin/aws-ebs-csi-driver"]

FROM mcr.microsoft.com/windows/servercore:1809 AS windows-1809
FROM mcr.microsoft.com/windows/servercore:20H2 AS windows-20H2
COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/bin/aws-ebs-csi-driver.exe /aws-ebs-csi-driver.exe
ENTRYPOINT ["/aws-ebs-csi-driver.exe"]

FROM mcr.microsoft.com/windows/servercore:20H2 AS windows-20H2
FROM mcr.microsoft.com/windows/servercore:ltsc2019 AS windows-ltsc2019
COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/bin/aws-ebs-csi-driver.exe /aws-ebs-csi-driver.exe
ENTRYPOINT ["/aws-ebs-csi-driver.exe"]

FROM mcr.microsoft.com/windows/servercore:ltsc2019 AS windows-ltsc2019
FROM mcr.microsoft.com/windows/servercore:ltsc2022 AS windows-ltsc2022
COPY --from=builder /go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/bin/aws-ebs-csi-driver.exe /aws-ebs-csi-driver.exe
ENTRYPOINT ["/aws-ebs-csi-driver.exe"]
35 changes: 18 additions & 17 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ undefine KUBERNETES_SERVICE_PORT_HTTPS
# Carry: VERSION is set by CI to go version, not CSI driver version
undefine VERSION

VERSION?=v1.11.3
VERSION?=v1.15.0

PKG=github.com/kubernetes-sigs/aws-ebs-csi-driver
GIT_COMMIT?=$(shell git rev-parse HEAD)
Expand Down Expand Up @@ -56,7 +56,7 @@ ALL_OSVERSION_linux?=amazon
ALL_OS_ARCH_OSVERSION_linux=$(foreach arch, $(ALL_ARCH_linux), $(foreach osversion, ${ALL_OSVERSION_linux}, linux-$(arch)-${osversion}))

ALL_ARCH_windows?=amd64
ALL_OSVERSION_windows?=1809 20H2 ltsc2019
ALL_OSVERSION_windows?=20H2 ltsc2019 ltsc2022
ALL_OS_ARCH_OSVERSION_windows=$(foreach arch, $(ALL_ARCH_windows), $(foreach osversion, ${ALL_OSVERSION_windows}, windows-$(arch)-${osversion}))

ALL_OS_ARCH_OSVERSION=$(foreach os, $(ALL_OS), ${ALL_OS_ARCH_OSVERSION_${os}})
Expand Down Expand Up @@ -128,12 +128,12 @@ bin /tmp/helm /tmp/kubeval:
@mkdir -p $@

bin/helm: | /tmp/helm bin
@curl -o /tmp/helm/helm.tar.gz -sSL https://get.helm.sh/helm-v3.5.3-${GOOS}-amd64.tar.gz
@curl -o /tmp/helm/helm.tar.gz -sSL https://get.helm.sh/helm-v3.10.1-${GOOS}-amd64.tar.gz
@tar -zxf /tmp/helm/helm.tar.gz -C bin --strip-components=1
@rm -rf /tmp/helm/*

bin/kubeval: | /tmp/kubeval bin
@curl -o /tmp/kubeval/kubeval.tar.gz -sSL https://github.com/instrumenta/kubeval/releases/download/0.15.0/kubeval-linux-amd64.tar.gz
@curl -o /tmp/kubeval/kubeval.tar.gz -sSL https://github.com/instrumenta/kubeval/releases/download/0.16.1/kubeval-linux-amd64.tar.gz
@tar -zxf /tmp/kubeval/kubeval.tar.gz -C bin kubeval
@rm -rf /tmp/kubeval/*

Expand All @@ -142,7 +142,7 @@ bin/mockgen: | bin

bin/golangci-lint: | bin
echo "Installing golangci-lint..."
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.21.0
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.50.1

.PHONY: kubeval
kubeval: bin/kubeval
Expand Down Expand Up @@ -190,15 +190,9 @@ test-e2e-multi-az:

.PHONY: test-e2e-migration
test-e2e-migration:
AWS_REGION=us-west-2 \
AWS_AVAILABILITY_ZONES=us-west-2a,us-west-2b,us-west-2c \
HELM_EXTRA_FLAGS='--set=controller.k8sTagClusterId=$$CLUSTER_NAME' \
EBS_INSTALL_SNAPSHOT="true" \
TEST_PATH=./tests/e2e-kubernetes/... \
GINKGO_FOCUS="\[ebs-csi-migration\]" \
GINKGO_SKIP="\[Disruptive\]|Pre-provisioned" \
EBS_CHECK_MIGRATION=true \
./hack/e2e/run.sh
# TODO: Remove once this test is removed from test-infra upstream
# https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes-sigs/aws-ebs-csi-driver/aws-ebs-csi-driver-presubmits.yaml
echo "succeed"

.PHONY: test-e2e-external
test-e2e-external:
Expand All @@ -214,7 +208,6 @@ test-e2e-external:
.PHONY: test-e2e-external-eks
test-e2e-external-eks:
CLUSTER_TYPE=eksctl \
K8S_VERSION="1.20" \
HELM_VALUES_FILE="./hack/values_eksctl.yaml" \
HELM_EXTRA_FLAGS='--set=controller.k8sTagClusterId=$$CLUSTER_NAME' \
EBS_INSTALL_SNAPSHOT="true" \
Expand All @@ -226,6 +219,14 @@ test-e2e-external-eks:
GINKGO_SKIP="\[Disruptive\]|\[Serial\]" \
./hack/e2e/run.sh

.PHONY: test-helm-chart
test-helm-chart:
AWS_REGION=us-west-2 \
AWS_AVAILABILITY_ZONES=us-west-2a,us-west-2b,us-west-2c \
EBS_INSTALL_SNAPSHOT="true" \
HELM_CT_TEST="true" \
./hack/e2e/run.sh

.PHONY: verify-vendor
test: verify-vendor
verify: verify-vendor
Expand All @@ -251,9 +252,9 @@ generate-kustomize: bin/helm
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrolebinding-provisioner.yaml > ../../deploy/kubernetes/base/clusterrolebinding-provisioner.yaml
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrolebinding-resizer.yaml > ../../deploy/kubernetes/base/clusterrolebinding-resizer.yaml
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/clusterrolebinding-snapshotter.yaml > ../../deploy/kubernetes/base/clusterrolebinding-snapshotter.yaml
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/controller.yaml --set "image.repository=k8s.gcr.io/provider-aws/aws-ebs-csi-driver" --api-versions 'snapshot.storage.k8s.io/v1' | sed -e "/namespace: /d" | sed -e "s/:v.*$$//g" > ../../deploy/kubernetes/base/controller.yaml
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/controller.yaml --api-versions 'snapshot.storage.k8s.io/v1' | sed -e "/namespace: /d" > ../../deploy/kubernetes/base/controller.yaml
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/csidriver.yaml > ../../deploy/kubernetes/base/csidriver.yaml
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/node.yaml --set "image.repository=k8s.gcr.io/provider-aws/aws-ebs-csi-driver" | sed -e "/namespace: /d" | sed -e "s/:v.*$$//g" > ../../deploy/kubernetes/base/node.yaml
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/node.yaml | sed -e "/namespace: /d" > ../../deploy/kubernetes/base/node.yaml
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/poddisruptionbudget-controller.yaml --api-versions 'policy/v1/PodDisruptionBudget' | sed -e "/namespace: /d" > ../../deploy/kubernetes/base/poddisruptionbudget-controller.yaml
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/serviceaccount-csi-controller.yaml | sed -e "/namespace: /d" > ../../deploy/kubernetes/base/serviceaccount-csi-controller.yaml
cd charts/aws-ebs-csi-driver && ../../bin/helm template kustomize . -s templates/serviceaccount-csi-node.yaml | sed -e "/namespace: /d" > ../../deploy/kubernetes/base/serviceaccount-csi-node.yaml
Loading