-
Notifications
You must be signed in to change notification settings - Fork 547
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
Ceph FS fscrypt support #3460
Merged
Merged
Ceph FS fscrypt support #3460
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
1b86181
cephfs: fscrypt encryption support
b17ccdf
deploy: Add KMS configuration to Ceph FS
f1dcb8d
examples: Ceph FS fscrypt / KMS additions
23d039d
e2e: Add Ceph FS fscrypt validation helper
11719dd
e2e: Add test-cephfs-fscrypt flag
44f0346
e2e: Deploy vault as part of the Ceph FS suite
8c6eb37
e2e: add basic PVC Ceph FS fscrypt tests
01c67b3
e2e: add PVC-PVC clone Ceph FS fscrypt tests
bd5c496
e2e: add cephfs fscrypt snapshot volume test
b00540b
cephfs: nolint:gocyclo NewVolumeOptions, NewVolumeOptionsFromVolID
33ca2c8
e2e: Deploy vault as part of the Ceph FS upgrade suite
f24796d
deploy: Remove unnecessary RBAC permissions
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,36 @@ apiVersion: v1 | |
kind: ServiceAccount | ||
metadata: | ||
name: cephfs-csi-nodeplugin | ||
namespace: default | ||
--- | ||
kind: ClusterRole | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: cephfs-csi-nodeplugin | ||
rules: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a nice cleanup, and could have been a PR by itself. |
||
- apiGroups: [""] | ||
resources: ["secrets"] | ||
verbs: ["get"] | ||
- apiGroups: [""] | ||
resources: ["configmaps"] | ||
verbs: ["get"] | ||
- apiGroups: [""] | ||
resources: ["serviceaccounts"] | ||
verbs: ["get"] | ||
- apiGroups: [""] | ||
resources: ["serviceaccounts/token"] | ||
verbs: ["create"] | ||
--- | ||
kind: ClusterRoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: cephfs-csi-nodeplugin | ||
subjects: | ||
- kind: ServiceAccount | ||
name: cephfs-csi-nodeplugin | ||
# replace with non-default namespace name | ||
namespace: default | ||
roleRef: | ||
kind: ClusterRole | ||
name: cephfs-csi-nodeplugin | ||
apiGroup: rbac.authorization.k8s.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use
namespace: {{ .Release.Namespace }}
hereThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The RBD analogue doesn't have that construct. It is for use in the helm templates, not?