Commit Graph

42 Commits

Author SHA1 Message Date
Andrew Harding 44245533c1
Allow fsgroup/SELinux attributes to be set (#44)
- Changes the mount to be mounted read-write on the host so that
  fsetxattr can be used by the host to change the attributes on files
  inside the mount. For security purposes, this only happens if the CSI
  volume is specified as read-only so the kubelet will mount the volume
  read-only into the containers.
- Optionally enforces that the CSI volume is marked read-only. We can't
  enforce this by default, since it would break existing deployments.
  It will be enforced in a future release.

Fixes: #42

Signed-off-by: Andrew Harding <aharding@vmware.com>
2022-09-08 12:36:24 -06:00
Andrew Harding c467c466fe
Upgrade to go1.19.1 (#45)
Signed-off-by: Andrew Harding <aharding@vmware.com>
2022-09-08 10:26:31 -06:00
Andrew Harding a66e776943
Add MarcosDY as a CODEOWNER (#46)
Signed-off-by: Andrew Harding <aharding@vmware.com>
2022-09-08 10:25:52 -06:00
Andrew Harding 4b80e8e5be
Update golangci-lint to v1.49.0 (#43)
Signed-off-by: Andrew Harding <aharding@vmware.com>
2022-09-07 15:49:13 -06:00
dependabot[bot] 3b1be9c6b0
Bump go.uber.org/zap from 1.22.0 to 1.23.0 (#41)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.22.0...v1.23.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-31 13:54:54 -06:00
dependabot[bot] 276059676a
Bump google.golang.org/grpc from 1.47.0 to 1.49.0 (#40)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.47.0 to 1.49.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.47.0...v1.49.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Harding <aharding@vmware.com>
2022-08-24 09:51:57 -06:00
dependabot[bot] 1a3636dcb7
Bump go.uber.org/zap from 1.21.0 to 1.22.0 (#39)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.21.0...v1.22.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-24 09:46:30 -06:00
dependabot[bot] aa04e85bfc
Bump github.com/stretchr/testify from 1.7.4 to 1.8.0 (#37)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.4...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-30 11:45:36 -06:00
dependabot[bot] e3495f759c
Bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#35)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-21 07:25:38 -06:00
dependabot[bot] 0985ed173a
Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#34)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 07:43:14 -06:00
dependabot[bot] 5f1bd69eb5
Bump google.golang.org/grpc from 1.46.2 to 1.47.0 (#33)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.46.2 to 1.47.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.46.2...v1.47.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-02 08:56:16 -06:00
dependabot[bot] d7b125d44a
Bump github.com/go-logr/zapr from 1.2.0 to 1.2.3 (#32)
Bumps [github.com/go-logr/zapr](https://github.com/go-logr/zapr) from 1.2.0 to 1.2.3.
- [Release notes](https://github.com/go-logr/zapr/releases)
- [Commits](https://github.com/go-logr/zapr/compare/v1.2.0...v1.2.3)

---
updated-dependencies:
- dependency-name: github.com/go-logr/zapr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-02 08:41:19 -06:00
Andrew Harding 28c31d3809
Bump google.golang.org/grpc from 1.40.2 to 1.46.2 (#31)
Signed-off-by: Andrew Harding <aharding@vmware.com>
2022-05-31 13:51:10 -06:00
dependabot[bot] f82ce09277
Bump go.uber.org/zap from 1.19.1 to 1.21.0 (#29)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.19.1 to 1.21.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.19.1...v1.21.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 13:35:59 -06:00
dependabot[bot] f204e3d624
Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#28)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 13:27:50 -06:00
dependabot[bot] ebc6a74d6b
Bump github.com/go-logr/logr from 1.2.0 to 1.2.3 (#27)
Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr) from 1.2.0 to 1.2.3.
- [Release notes](https://github.com/go-logr/logr/releases)
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-logr/logr/compare/v1.2.0...v1.2.3)

---
updated-dependencies:
- dependency-name: github.com/go-logr/logr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 13:16:03 -06:00
dependabot[bot] 07021d7644
Bump github.com/container-storage-interface/spec from 1.5.0 to 1.6.0 (#26)
Bumps [github.com/container-storage-interface/spec](https://github.com/container-storage-interface/spec) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/container-storage-interface/spec/releases)
- [Commits](https://github.com/container-storage-interface/spec/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/container-storage-interface/spec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 12:26:51 -06:00
dependabot[bot] abc53c98be
Bump docker/login-action from 1 to 2 (#25)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 12:20:22 -06:00
dependabot[bot] 8bcce9862b
Bump actions/checkout from 2 to 3 (#24)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 12:15:59 -06:00
dependabot[bot] f1dfc19a76
Bump actions/setup-go from 2 to 3 (#23)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 12:11:27 -06:00
Andrew Harding 3419429fa2
Add dependabot (#22)
Signed-off-by: Andrew Harding <aharding@vmware.com>
2022-05-31 12:06:32 -06:00
Andrew Harding e200883adf
Replace pre-prod badge image with hosted svg (#21)
Signed-off-by: Andrew Harding <aharding@vmware.com>
2022-05-16 14:40:46 -06:00
Andrew Harding a6075e932c
Move to pre-production maturity (#12)
Signed-off-by: Andrew Harding <aharding@vmware.com>
2022-01-18 16:21:10 -07:00
Andrew Harding 905030518e
Return rudimentary volume health status (#18)
Ensures that previously published volume paths are still mounted and
that we can enumerate the contents (if any).

Does not do any further validation at this point.

Signed-off-by: Andrew Harding <aharding@vmware.com>
2022-01-04 18:53:37 -07:00
Andrew Harding 9981777c49
Use hostPath instead of emptyDir for WLAPI socket (#17)
Signed-off-by: Andrew Harding <aharding@vmware.com>
2022-01-04 14:38:50 -07:00
Andrew Harding a1860bcf4a Fix release pipeline
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-12-03 14:49:58 -07:00
Andrew Harding 8e1932584c Fix version package
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-12-03 14:39:19 -07:00
Andrew Harding fc4105a9c4
update to the latest csi node driver registrar (#15)
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-12-03 14:11:01 -07:00
Andrew Harding 9c75beff50
Fix linting (#13)
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-11-30 10:23:11 -07:00
Andrew Harding ad05e40a1e Slight rewording of intro
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-11-30 09:54:22 -07:00
Andrew Harding eaf7f7c90d Documentation and policy refinements
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-11-30 09:47:24 -07:00
Andrew Harding 11fdce32a9 Make sure more than one workload can mount
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-11-29 16:14:25 -07:00
Andrew Harding 58c9750c96 add driver unit tests
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-11-29 15:40:30 -07:00
Andrew Harding 21ddb63d85 Fill out example
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-11-23 11:50:28 -07:00
Andrew Harding e79ed15cda
Add linting (#11)
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-11-22 16:49:00 -07:00
Andrew Harding 74acceb6a9 Little refactor
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-11-22 16:27:11 -07:00
Andrew Harding e0055aadf6
Add logging (#10)
* Add logging and troubleshooting
* Update README

Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-11-22 15:43:02 -07:00
Andrew Harding 76269383e6
Simple integration test (#9)
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-11-22 13:44:55 -07:00
Andrew Harding cb2f48a01c
Add maturity badge (#8)
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-11-19 10:46:10 -07:00
Andrew Harding 6859ffc256
Push images (#6)
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-10-04 14:25:12 -06:00
Evan Gilman 10d14edfe6
Update readme to provide a little more detail about motivation etc (#1)
Signed-off-by: Evan Gilman <egilman@vmware.com>
2021-08-25 12:06:14 -06:00
Andrew Harding a56ab3ac1c initial drop
Signed-off-by: Andrew Harding <aharding@vmware.com>
2021-08-20 16:34:12 -06:00