Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
686 commits
Select commit Hold shift + click to select a range
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
91c80ef
Migrate Trivy workflow to grab images from values.yaml
ConnorJC3 Jan 13, 2023
6a52738
Release v1.15.0
torredil Jan 13, 2023
c18afad
Merge pull request #1480 from torredil/release-1.15
k8s-ci-robot Jan 13, 2023
d045e30
Merge pull request #1481 from kubernetes-sigs/release-1.15
k8s-ci-robot Jan 13, 2023
3bb54e4
Merge pull request #1479 from ConnorJC3/trivy-values-yaml
k8s-ci-robot Jan 13, 2023
c4058b9
Fix YAML validity for Trivy job
ConnorJC3 Jan 13, 2023
f7971ad
Unrestrict Trivy scan path
ConnorJC3 Jan 13, 2023
3ce83e5
Fix Trivy driver container tag
ConnorJC3 Jan 13, 2023
89403bc
Remove compatibility matrix reference
torredil Jan 17, 2023
caf11d9
Use test driver image when testing upgrades with CT
torredil Jan 18, 2023
9121124
Merge pull request #1484 from torredil/update-docs
k8s-ci-robot Jan 18, 2023
78c845b
Merge pull request #1486 from torredil/ct-test-image
k8s-ci-robot Jan 18, 2023
ad25982
Add support for JSON logging
torredil Jan 18, 2023
32ee76d
k8s.gcr.io -> registry.k8s.io
ConnorJC3 Jan 18, 2023
20da870
Bump CI k8s version to 1.26.1 (and other CI tools upgrades)
ConnorJC3 Jan 18, 2023
087d042
Merge pull request #1488 from ConnorJC3/registry-k8s-io
k8s-ci-robot Jan 18, 2023
d1bd99e
Merge pull request #1487 from ConnorJC3/test-k8s-1-26
k8s-ci-robot Jan 19, 2023
edc41c3
Disable buildx provenance
ConnorJC3 Jan 23, 2023
a363f8a
Bump GitHub Actions workflows
ConnorJC3 Jan 23, 2023
27e2601
Merge pull request #1467 from torredil/log-format-json
k8s-ci-robot Jan 23, 2023
cc74485
Remove migration tests
ConnorJC3 Jan 23, 2023
c98a149
Merge pull request #1493 from ConnorJC3/remove-migration-tests
k8s-ci-robot Jan 23, 2023
e82d3e2
Merge pull request #1491 from ConnorJC3/fix-ci
k8s-ci-robot Jan 24, 2023
668ff48
Update speculative execution of docker buildx to check buildkit daemo…
ConnorJC3 Jan 24, 2023
b926e1e
Merge pull request #1496 from ConnorJC3/update-speculative-execution
k8s-ci-robot Jan 25, 2023
6e1742f
Pin k8s.io/dynamic-resource-allocation to v0.26.0
bertinatto Feb 7, 2023
6d38a50
Merge pull request #1504 from bertinatto/pin-dynamic-resource-allocat…
k8s-ci-robot Feb 7, 2023
c58fe2b
Update installation docs
torredil Feb 7, 2023
190d2c5
Upgrade golangci-lint
torredil Feb 8, 2023
b4f67bd
Merge pull request #1505 from torredil/fix-ci
k8s-ci-robot Feb 8, 2023
c4baaa7
Merge pull request #1503 from torredil/update-docs
k8s-ci-robot Feb 8, 2023
e821bcf
Release v1.16.0
torredil Feb 13, 2023
46d00ca
Fix --version output
ConnorJC3 Feb 13, 2023
531d6bb
Merge pull request #1510 from ConnorJC3/fix-version
k8s-ci-robot Feb 13, 2023
007fcfd
Merge pull request #1509 from torredil/release-1.16
k8s-ci-robot Feb 14, 2023
4725b30
Merge pull request #1511 from kubernetes-sigs/release-1.16
k8s-ci-robot Feb 14, 2023
d410d2d
Release v1.16.1
ConnorJC3 Feb 22, 2023
71cd026
Post-Release 1.16.1
ConnorJC3 Feb 22, 2023
96b23f3
Merge pull request #1515 from kubernetes-sigs/release-1.16
k8s-ci-robot Feb 23, 2023
ed528b2
Add tests for manually mounted volumes (and other weird paths)
ConnorJC3 Mar 2, 2023
58fc07e
Stop treating prefixes as magic in DeviceManager
ConnorJC3 Mar 2, 2023
60c20e3
Add warning to README about k8s.gcr.io deprecation
ConnorJC3 Mar 2, 2023
fff2a17
Merge pull request #1519 from ConnorJC3/readme-warning
k8s-ci-robot Mar 3, 2023
caf56a2
Add support for XFS custom block sizes
ConnorJC3 Mar 6, 2023
29a19d2
Merge pull request #1523 from ConnorJC3/xfs-fix
k8s-ci-robot Mar 9, 2023
14f68a2
Always log driver information
torredil Mar 9, 2023
b184b42
Merge pull request #1525 from torredil/update-log
k8s-ci-robot Mar 9, 2023
882acf6
Prevent allocation of devices after /dev/xvddx
ConnorJC3 Mar 10, 2023
9be8418
Change README warning to new redirect announcement
ConnorJC3 Mar 10, 2023
0c11778
Merge pull request #1528 from ConnorJC3/readme-warning-2.0
k8s-ci-robot Mar 10, 2023
05df833
Upgrade dependencies
torredil Mar 10, 2023
b9e51af
Merge pull request #1529 from torredil/upgrade-deps
k8s-ci-robot Mar 13, 2023
fd8b1e1
Merge pull request #1518 from ConnorJC3/manually-attached
k8s-ci-robot Mar 14, 2023
519028d
Release v1.17.0
ConnorJC3 Mar 14, 2023
f273258
Reduce scope of testing for test-helm-chart
torredil Mar 14, 2023
0485cc8
Merge pull request #1532 from ConnorJC3/release-1.17
k8s-ci-robot Mar 14, 2023
097e48a
Merge pull request #1534 from kubernetes-sigs/release-1.17
k8s-ci-robot Mar 14, 2023
2637aca
Kustomize: use 'resources' instead of deprecated 'bases'
torredil Mar 16, 2023
2735228
Merge pull request #1539 from torredil/update-kustomize
k8s-ci-robot Mar 20, 2023
6a09c59
Merge pull request #1533 from torredil/chart-tester
k8s-ci-robot Mar 20, 2023
cc35256
Support VolumeSnapshotClass in Helm Chart
hanyuel Mar 16, 2023
e538f66
Fix staging / unmounting volume operations on Windows
torredil Mar 21, 2023
d889329
Merge pull request #1540 from hanyuel/helm-vsclass
k8s-ci-robot Mar 21, 2023
f66f30a
Add non-Negative check on getVolumeLimit()
gtxu Mar 22, 2023
5d75bf4
Merge pull request #1542 from gtxu/volme_attach_count
k8s-ci-robot Mar 23, 2023
6f93a56
Grab snow device path via last character rather than trimming
ConnorJC3 Mar 27, 2023
810ef39
Clarify volume resizing in README; Remove Chrome(ium)-specific links
ConnorJC3 Mar 28, 2023
0734390
Merge pull request #1550 from ConnorJC3/readme-resize
k8s-ci-robot Mar 28, 2023
ba2fb4a
Fix VolumeSnapshotClass tagging
hanyuel Mar 27, 2023
67c0374
Merge pull request #1548 from hanyuel/snapshot-tag
k8s-ci-robot Mar 28, 2023
ed42e16
Merge pull request #1546 from ConnorJC3/snow-mount
k8s-ci-robot Mar 29, 2023
7db7d1a
Merge pull request #1526 from torredil/fix-windows-bugs
k8s-ci-robot Mar 31, 2023
ad21c24
Set image repository/tag via --helm-extra-set-args param in CT
torredil Apr 6, 2023
2001925
Fix volume attachment limit calculation
torredil Apr 6, 2023
6a4934e
Support interpolated snapshot tags
hanyuel Apr 4, 2023
cbd4697
Merge pull request #1560 from torredil/ct
k8s-ci-robot Apr 7, 2023
89b1594
Merge pull request #1558 from hanyuel/snapshot-tag-interpolate
k8s-ci-robot Apr 10, 2023
4e96fd3
Merge pull request #1561 from torredil/windows-csinode
k8s-ci-robot Apr 11, 2023
9d311ed
Remove SSH from CI
ConnorJC3 Apr 11, 2023
e5ccff6
Merge pull request #1566 from ConnorJC3/goodbye-ssh
k8s-ci-robot Apr 11, 2023
1250b7d
Add support for Fast Snapshot Restores
torredil Apr 3, 2023
5d4d310
Merge pull request #1554 from torredil/fast-snapshot-restores
k8s-ci-robot Apr 14, 2023
40b11ad
Add target to run External Storage tests on Windows nodes
torredil Apr 14, 2023
5a59297
configure lievness probe check for node-driver-registrar
gtxu Apr 13, 2023
b372901
update list of nitro instances
petderek Apr 15, 2023
47645fa
Merge pull request #1521 from torredil/e2e-windows
k8s-ci-robot Apr 17, 2023
cfe3673
Merge pull request #1570 from gtxu/add-liveness-probe-sidecar
k8s-ci-robot Apr 17, 2023
c284219
Release 1.18.0
ConnorJC3 Apr 17, 2023
c17c4fa
Merge pull request #1574 from ConnorJC3/release-1.18
k8s-ci-robot Apr 17, 2023
37ee32d
Merge pull request #1575 from kubernetes-sigs/release-1.18
k8s-ci-robot Apr 17, 2023
a2d2180
Use K8s stable-1.27 for External Storage tests on Windows
torredil Apr 18, 2023
bf3f31d
Merge pull request #1576 from torredil/e2e
k8s-ci-robot Apr 19, 2023
dc34783
Fix e2e test flakes due to volume node affinity conflict
torredil Apr 20, 2023
dd719c1
Merge pull request #1573 from petderek/master
k8s-ci-robot Apr 20, 2023
88db58c
Allow throughput with defaulted GP3 volume type
ConnorJC3 Apr 21, 2023
aaeddc0
Merge pull request #1584 from ConnorJC3/fix-default-throughput
k8s-ci-robot Apr 24, 2023
f8fa5e4
Merge pull request #1578 from torredil/e2e-node-affinity
k8s-ci-robot Apr 25, 2023
22e8f70
Increase external test pod start timeout
torredil May 3, 2023
0d764ba
Merge pull request #1586 from torredil/podstart-timeout
k8s-ci-robot May 3, 2023
f788016
Add hanyuel to OWNERS
hanyuel May 3, 2023
b57d85d
Merge pull request #1587 from hanyuel/add-owner
k8s-ci-robot May 3, 2023
c731fb0
Add Startup Taint Removal Feature
ConnorJC3 May 3, 2023
6a34430
Use dl.k8s.io instead of kubernetes-release bucket
ratnopam May 11, 2023
7b6f39e
Remove CPU limits; Decrease node-driver-registrar's livenessprobe fre…
torredil May 12, 2023
3d602cc
Merge pull request #1593 from ratnopamc/deprecate-k8s-release-url
k8s-ci-robot May 12, 2023
7fe1031
Check for 'not mounted' in linux Unstage/Unpublish
ConnorJC3 May 15, 2023
2fa8ad0
Drop support for Windows 20H2
torredil May 15, 2023
691bac1
Merge pull request #1588 from ConnorJC3/startup-taint
k8s-ci-robot May 15, 2023
443b6f3
Remove EC2 interface
ConnorJC3 May 11, 2023
7f79b95
Merge pull request #1597 from ConnorJC3/fix-umount
k8s-ci-robot May 15, 2023
339f2aa
Add option to append extra string to user agent
torredil May 15, 2023
1913737
Merge pull request #1594 from ConnorJC3/remove-ec2-iface
k8s-ci-robot May 15, 2023
bb708fc
Merge pull request #1596 from torredil/cpu
k8s-ci-robot May 15, 2023
dce6c04
Merge pull request #1598 from torredil/windows-20h2
k8s-ci-robot May 15, 2023
1560d54
Enable volume modification through annotations
rdpsin May 13, 2023
4e8d03d
Migrate to EKS-D Windows base images
ConnorJC3 May 15, 2023
cdaa6d3
Merge pull request #1599 from torredil/user-agent
k8s-ci-robot May 15, 2023
d47ee59
Merge pull request #1600 from rdpsin/modify-volume
k8s-ci-robot May 15, 2023
d4d267c
Merge pull request #1601 from ConnorJC3/minimal-windows-image
k8s-ci-robot May 15, 2023
d9bb971
Upgrade dependencies
torredil May 15, 2023
a0ec0da
Merge pull request #1602 from torredil/upgrade-deps-119
k8s-ci-robot May 15, 2023
c4399e2
Release 1.19
ConnorJC3 May 15, 2023
ebcb7c2
add .vscode to gitignore
Mar 31, 2020
7fd513f
migrate to c2devel repository
Mar 31, 2020
a715dbc
replace new dependencies sources with c2devel
gaisin Jul 22, 2021
0ea269e
cloud: add io2 and gp2 volume types
Mar 31, 2020
fb1ff62
cloud: switch to volumeId-based device managing
Mar 31, 2020
a2c2207
deploy: change deploy yamls to use new repo
Oct 8, 2019
f413e48
examples: fix examples to meet c2 reqs
Apr 1, 2020
639bc16
change region to 'croc'
Apr 30, 2020
c0ff86e
add prebuild kusctomize config
Jun 19, 2020
66be5e9
add AttachVolume method and remove Device from call
Jun 23, 2020
45295a5
temporarily skip test for AttachDisk
Jun 25, 2020
804590f
change sc1 to st2 in tests
Jun 25, 2020
51b42d3
readme: add release-process docs
Jun 30, 2020
c41eea3
deploy: change image tags to c2 dhub
Jul 2, 2020
3e89a25
deploy: regenerete deployment bundle
Jul 2, 2020
4e49b2e
docs: add info abot k_bundle file in release docs
Jul 2, 2020
65dd157
cloud: remove deprecated volume types
Jul 16, 2020
0f63b57
e2e driver: set valid minimal disk sizes
Jul 16, 2020
46290fa
e2e: change io1 to io2 volume type
Jul 16, 2020
01ac917
docs: add test docs
Jul 16, 2020
453c190
cloud: rewrite metadata aws region from env
Apr 1, 2020
70860ff
ignore VolumeIsNotAttached error while detaching disk
gaisin Sep 10, 2021
25470fd
use VolumeID instead of Device
gaisin Sep 10, 2021
17c52c8
deploy: prepare kustomization for the release, del workflow
Sep 29, 2021
99f4975
deploy: update k_bundle
Sep 29, 2021
45d55c8
tests: fix failures, fix vendoring
Oct 21, 2021
de55c36
cloud: delete exceed volume types, fix io2 iops count
Oct 21, 2021
618ccf3
specs: change the supported snapshot api version in tests
Oct 22, 2021
db34ed6
doc: change the documentation to actual
Oct 22, 2021
dcb9ca3
doc: change the go version to actual
Nov 10, 2021
4fe0a35
tests: fix unit io2 tests
Nov 10, 2021
e2c4bc7
driver: change max iops per Gb
Nov 10, 2021
0597400
docs: add temporary workaround
Nov 10, 2021
8ec49d9
deploy: bump version
Nov 11, 2021
edd0044
controller, cloud: add method ResizeDiskC2, update tests
Mar 23, 2022
864c976
e2e, docs: change size increment in resize test, update test docs
Mar 27, 2022
2268828
deploy: bump version
Akulaev May 12, 2022
287c78f
fixes after rebase
CrocBomber Jun 5, 2023
4e4999d
fix formatting after rebase
CrocBomber Jun 5, 2023
b18943b
fix tests after rebase
CrocBomber Jun 5, 2023
568e091
fix for linter after rebase
CrocBomber Jun 5, 2023
7ae2ec9
update specs and instructions
CrocBomber Jun 28, 2023
93a54b7
add tolerations and labels for ebs
CrocBomber Jun 28, 2023
04e842a
add instruction how to debug
CrocBomber Jul 5, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
68 changes: 0 additions & 68 deletions .github/workflows/container-image.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/helm-chart-release.yaml

This file was deleted.

77 changes: 77 additions & 0 deletions .github/workflows/publish-ecr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Publish to ECR
on:
push:
tags: ['*']
jobs:
ecr-private:
name: Push to ECR Private
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
role-session-name: GitHubCI
aws-region: us-east-1
role-duration-seconds: 1800
role-skip-session-tagging: true

- name: Login to Amazon ECR
uses: aws-actions/amazon-ecr-login@v1

- name: Set environment variables
env:
REGISTRY: ${{ secrets.ECR_PRIVATE_REPOSITORY }}
run: |
echo "REGISTRY=${REGISTRY}" >> $GITHUB_ENV
echo "TAG=${GITHUB_REF_NAME}" >> $GITHUB_ENV
echo "VERSION=${GITHUB_REF_NAME}" >> $GITHUB_ENV

- name: Build, tag, and push manifest to Amazon ECR
run: make -j `nproc` all-push

ecr-public:
name: Push to ECR Public
runs-on: ubuntu-latest
environment: ecr-public
needs: ecr-private

steps:
- name: Set up crane
uses: imjasonh/setup-crane@v0.1

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1-node16
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
role-session-name: GitHubCI
aws-region: us-east-1
role-duration-seconds: 1800
role-skip-session-tagging: true

- name: Login to Amazon ECR
uses: aws-actions/amazon-ecr-login@v1

- name: Login to Amazon ECR Public
uses: aws-actions/amazon-ecr-login@v1
with:
registry-type: public

- name: Copy manifest to ECR Public
env:
ECR_PRIVATE_REPOSITORY: ${{ secrets.ECR_PRIVATE_REPOSITORY }}
ECR_PUBLIC_REPOSITORY: ${{ secrets.ECR_PUBLIC_REPOSITORY }}
run: crane copy ${ECR_PRIVATE_REPOSITORY}/aws-ebs-csi-driver:${GITHUB_REF_NAME} ${ECR_PUBLIC_REPOSITORY}/aws-ebs-csi-driver:${GITHUB_REF_NAME}
26 changes: 0 additions & 26 deletions .github/workflows/release.yaml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/trivy-containers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Trivy Scanner - Container Images
on:
push:
branches:
- master
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
cmd: "yq '[{\"repository\": .image.repository, \"tag\": \"v'$(yq '.appVersion' charts/aws-ebs-csi-driver/Chart.yaml)'\"}] + (.sidecars | map(.image)) | map(.repository + \":\" + .tag) | . style=\"flow\"' charts/aws-ebs-csi-driver/values.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'
35 changes: 35 additions & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Unit Tests
on:
push:
branches:
- master
pull_request:

jobs:
buildx:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
steps:
- id: go-cache-paths
run: |
echo "::set-output name=go-build::$(go env GOCACHE)"
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
- name: Checkout
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.2

- name: Go Build Cache
uses: actions/cache@v3
with:
path: ${{ steps.go-cache-paths.outputs.go-build }}
key: ${{ runner.os }}-cache-${{ hashFiles('**/go.sum') }}

- name: Run tests
run: |
go test -v ./cmd/... ./pkg/...
30 changes: 30 additions & 0 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Verify

on:
push:
jobs:
buildx:
runs-on: ubuntu-latest
steps:
- id: go-cache-paths
run: |
echo "::set-output name=go-build::$(go env GOCACHE)"
echo "::set-output name=go-mod::$(go env GOMODCACHE)"
- name: Checkout
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.2

- name: Go Build Cache
uses: actions/cache@v2
with:
path: ${{ steps.go-cache-paths.outputs.go-build }}
key: ${{ runner.os }}-cache-${{ hashFiles('**/go.sum') }}

# Runs ./hack/verify-all
- name: Run make verify
run: |
make verify
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,13 @@ Vagrantfile
.idea/

#MacOS system files
*.DS_Store
*.DS_Store

# Vendor dir
vendor/

# .image-* files used by Makefile
.image-*

# VSCode
.vscode/
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

Loading