helm: fix indentation/whitespace
Removing whitespace for consistency and wrong indentation level.
There's one actual "oopsie-fix" in here for CSI_ENABLE_READ_AFFINITY
Signed-off-by: Erik Berg <erikberg@usit.uio.no>
(cherry picked from commit 9a2d8505e7)
This commit is contained in:
1 parent
714cdd4360
commit
7b334ad875
5 files changed
+16
-16
No files matched your search
@@ -12,7 +12,7 @@ rules:
|
||||
# validating the connection details and for key rotation operations.
|
||||
- apiGroups: [""]
|
||||
resources: ["secrets"]
|
||||
verbs: ["get","update"]
|
||||
verbs: ["get", "update"]
|
||||
- apiGroups: [""]
|
||||
resources: ["configmaps"]
|
||||
verbs: ["get", "list", "watch", "create", "update", "delete"]
|
||||
@@ -141,10 +141,10 @@ rules:
|
||||
verbs: ["get"]
|
||||
- apiGroups: ["apps"]
|
||||
resources: ["deployments"]
|
||||
verbs: ["get", "delete" ]
|
||||
verbs: ["get", "delete"]
|
||||
- apiGroups: ["batch"]
|
||||
resources: ["jobs"]
|
||||
verbs: ["get", "list", "delete" ]
|
||||
verbs: ["get", "list", "delete"]
|
||||
- apiGroups: [""]
|
||||
resources: ["persistentvolumeclaims"]
|
||||
verbs: ["get", "update", "delete", "list"]
|
||||
|
||||
@@ -127,8 +127,8 @@ spec:
|
||||
configMap:
|
||||
name: rook-ceph-mon-endpoints
|
||||
items:
|
||||
- key: data
|
||||
path: mon-endpoints
|
||||
- key: data
|
||||
path: mon-endpoints
|
||||
- name: ceph-config
|
||||
emptyDir: {}
|
||||
tolerations:
|
||||
|
||||
@@ -506,7 +506,7 @@ rules:
|
||||
verbs: ["get", "list", "watch"]
|
||||
- apiGroups: ["snapshot.storage.k8s.io"]
|
||||
resources: ["volumesnapshotcontents"]
|
||||
verbs: [ "get", "list", "watch", "patch", "update"]
|
||||
verbs: ["get", "list", "watch", "patch", "update"]
|
||||
- apiGroups: ["snapshot.storage.k8s.io"]
|
||||
resources: ["volumesnapshotcontents/status"]
|
||||
verbs: ["update", "patch"]
|
||||
@@ -585,7 +585,7 @@ rules:
|
||||
verbs: ["get", "list", "watch"]
|
||||
- apiGroups: ["snapshot.storage.k8s.io"]
|
||||
resources: ["volumesnapshotcontents"]
|
||||
verbs: [ "get", "list", "watch", "patch", "update"]
|
||||
verbs: ["get", "list", "watch", "patch", "update"]
|
||||
- apiGroups: ["snapshot.storage.k8s.io"]
|
||||
resources: ["volumesnapshotcontents/status"]
|
||||
verbs: ["update", "patch"]
|
||||
|
||||
@@ -116,7 +116,7 @@ data:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.csi.readAffinity }}
|
||||
CSI_ENABLE_READ_AFFINITY : {{ .Values.csi.readAffinity.enabled | quote }}
|
||||
CSI_ENABLE_READ_AFFINITY: {{ .Values.csi.readAffinity.enabled | quote }}
|
||||
{{- if .Values.csi.readAffinity.crushLocationLabels }}
|
||||
CSI_CRUSH_LOCATION_LABELS: {{ .Values.csi.readAffinity.crushLocationLabels | join "," }}
|
||||
{{- end }}
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: rook-ceph-delete-bucket
|
||||
name: rook-ceph-delete-bucket
|
||||
provisioner: rook-ceph.ceph.rook.io/bucket # driver:namespace:cluster
|
||||
# set the reclaim policy to delete the bucket and all objects
|
||||
# when its OBC is deleted.
|
||||
reclaimPolicy: Delete
|
||||
parameters:
|
||||
objectStoreName: my-store
|
||||
objectStoreNamespace: rook-ceph # namespace:cluster
|
||||
# To accommodate brownfield cases reference the existing bucket name here instead
|
||||
# of in the ObjectBucketClaim (OBC). In this case the provisioner will grant
|
||||
# access to the bucket by creating a new user, attaching it to the bucket, and
|
||||
# providing the credentials via a Secret in the namespace of the requesting OBC.
|
||||
#bucketName:
|
||||
objectStoreName: my-store
|
||||
objectStoreNamespace: rook-ceph # namespace:cluster
|
||||
# To accommodate brownfield cases reference the existing bucket name here instead
|
||||
# of in the ObjectBucketClaim (OBC). In this case the provisioner will grant
|
||||
# access to the bucket by creating a new user, attaching it to the bucket, and
|
||||
# providing the credentials via a Secret in the namespace of the requesting OBC.
|
||||
#bucketName:
|
||||
Reference in new issue
Block a user