Skip to content

Commit

Permalink
only use physical nvme devices for csi-lvm (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwennrich authored Mar 3, 2021
1 parent 944bab8 commit c953576
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions charts/internal/shoot-storageclasses/templates/storageclasses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,33 +27,33 @@ metadata:
rules:
- apiGroups:
- ""
resources:
resources:
- nodes
- persistentvolumeclaims
verbs:
verbs:
- get
- list
- watch
- apiGroups:
- apiGroups:
- ""
resources:
resources:
- endpoints
- persistentvolumes
- pods
verbs:
verbs:
- "*"
- apiGroups:
- apiGroups:
- ""
resources:
resources:
- events
verbs:
verbs:
- create
- patch
- apiGroups:
- storage.k8s.io
resources:
resources:
- storageclasses
verbs:
verbs:
- get
- list
- watch
Expand Down Expand Up @@ -114,7 +114,7 @@ spec:
value: {{ index .Values.images "csi-lvm-provisioner" }}
- name: CSI_LVM_DEVICE_PATTERN
# IMPORTANT: you cannot specify a wildcard (*) at any position in the devices grok.
value: "/dev/nvme[0-9]n[0-9]"
value: "/dev/nvme[0-1]n[0-9]"
resources:
limits:
cpu: 20m
Expand Down

0 comments on commit c953576

Please sign in to comment.