This commit is contained in:
parent
d6672663b0
commit
2be4c03df1
8 changed files with 178 additions and 128 deletions
|
|
@ -42,14 +42,23 @@ spec:
|
|||
mountPath: /csi
|
||||
- name: registration-dir
|
||||
mountPath: /registration
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 100Mi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 20Mi
|
||||
- name: secrets-store
|
||||
image: us.gcr.io/k8s-artifacts-prod/csi-secrets-store/driver:v0.0.13
|
||||
image: us.gcr.io/k8s-artifacts-prod/csi-secrets-store/driver:v0.0.16
|
||||
args:
|
||||
- "--debug=true"
|
||||
- "--endpoint=$(CSI_ENDPOINT)"
|
||||
- "--nodeid=$(KUBE_NODE_NAME)"
|
||||
- "--provider-volume=/etc/kubernetes/secrets-store-csi-providers"
|
||||
- "--metrics-addr=:8080"
|
||||
- "--metrics-addr=:8095"
|
||||
- "--enable-secret-rotation=false"
|
||||
- "--rotation-poll-interval=2m"
|
||||
env:
|
||||
- name: CSI_ENDPOINT
|
||||
value: unix:///csi/csi.sock
|
||||
|
|
@ -81,6 +90,13 @@ spec:
|
|||
mountPropagation: Bidirectional
|
||||
- name: providers-dir
|
||||
mountPath: /etc/kubernetes/secrets-store-csi-providers
|
||||
resources:
|
||||
limits:
|
||||
cpu: 200m
|
||||
memory: 200Mi
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 100Mi
|
||||
- name: liveness-probe
|
||||
image: quay.io/k8scsi/livenessprobe:v2.0.0
|
||||
imagePullPolicy: Always
|
||||
|
|
@ -92,6 +108,13 @@ spec:
|
|||
volumeMounts:
|
||||
- name: plugin-dir
|
||||
mountPath: /csi
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 100Mi
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 20Mi
|
||||
volumes:
|
||||
- name: mountpoint-dir
|
||||
hostPath:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue