-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for helm charts cephfs-canary
- Loading branch information
ceph-csi-bot
committed
Dec 12, 2024
1 parent
6ae3780
commit e5f21f3
Showing
13 changed files
with
378 additions
and
144 deletions.
There are no files selected for viewing
Binary file not shown.
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
--- | ||
apiVersion: v1 | ||
appVersion: 3.12-canary | ||
appVersion: canary | ||
description: "Container Storage Interface (CSI) driver, | ||
provisioner, snapshotter and resizer for Ceph cephfs" | ||
name: ceph-csi-cephfs | ||
version: 3.12-canary | ||
version: 3-canary | ||
keywords: | ||
- ceph | ||
- cephfs | ||
- ceph-csi | ||
home: https://github.com/ceph/ceph-csi | ||
sources: | ||
- https://github.com/ceph/ceph-csi/tree/release-v3.12/charts/ceph-csi-cephfs | ||
icon: https://raw.githubusercontent.com/ceph/ceph-csi/release-v3.12/assets/ceph-logo.png | ||
- https://github.com/ceph/ceph-csi/tree/devel/charts/ceph-csi-cephfs | ||
icon: https://raw.githubusercontent.com/ceph/ceph-csi/devel/assets/ceph-logo.png |
Large diffs are not rendered by default.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
docs/cephfs/ceph-csi-cephfs/templates/encryptionkms-configmap.yaml
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ .Values.kmsConfigMapName | quote }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app: {{ include "ceph-csi-cephfs.name" . }} | ||
chart: {{ include "ceph-csi-cephfs.chart" . }} | ||
component: {{ .Values.nodeplugin.name }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }} | ||
data: | ||
config.json: |- | ||
{{ toJson .Values.encryptionKMSConfig | indent 4 -}} |
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
22 changes: 22 additions & 0 deletions
22
docs/cephfs/ceph-csi-cephfs/templates/nodeplugin-role.yaml
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{{- if and .Values.rbac.create .Values.rbac.leastPrivileges -}} | ||
{{- if and .Values.encryptionKMSConfig (eq .Values.encryptionKMSConfig.encryptionKMSType "metadata") .Values.encryptionKMSConfig.secretNamespace .Values.encryptionKMSConfig.secretName -}} | ||
kind: Role | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: {{ include "ceph-csi-cephfs.nodeplugin.fullname" . }} | ||
namespace: {{ .Values.encryptionKMSConfig.secretNamespace }} | ||
labels: | ||
app: {{ include "ceph-csi-cephfs.name" . }} | ||
chart: {{ include "ceph-csi-cephfs.chart" . }} | ||
component: {{ .Values.nodeplugin.name }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }} | ||
rules: | ||
# allow to read the encryption key used with the metadata KMS | ||
- apiGroups: [""] | ||
resources: ["secrets"] | ||
verbs: ["get"] | ||
resourceNames: [{{ .Values.encryptionKMSConfig.secretName | quote }}] | ||
{{- end -}} | ||
{{- end -}} |
24 changes: 24 additions & 0 deletions
24
docs/cephfs/ceph-csi-cephfs/templates/nodeplugin-rolebinding.yaml
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{{- if and .Values.rbac.create .Values.rbac.leastPrivileges -}} | ||
{{- if and .Values.encryptionKMSConfig (eq .Values.encryptionKMSConfig.encryptionKMSType "metadata") .Values.encryptionKMSConfig.secretNamespace -}} | ||
kind: RoleBinding | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: {{ include "ceph-csi-cephfs.nodeplugin.fullname" . }} | ||
namespace: {{ .Values.encryptionKMSConfig.secretNamespace }} | ||
labels: | ||
app: {{ include "ceph-csi-cephfs.name" . }} | ||
chart: {{ include "ceph-csi-cephfs.chart" . }} | ||
component: {{ .Values.nodeplugin.name }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }} | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ include "ceph-csi-cephfs.serviceAccountName.nodeplugin" . }} | ||
namespace: {{ .Release.Namespace }} | ||
roleRef: | ||
kind: Role | ||
name: {{ include "ceph-csi-cephfs.nodeplugin.fullname" . }} | ||
apiGroup: rbac.authorization.k8s.io | ||
{{- end -}} | ||
{{- end -}} |
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
Oops, something went wrong.