mirror of
https://github.com/hanzokms/csi-provider.git
synced 2026-10-30 20:50:44 +00:00
63 lines
1.6 KiB
YAML
63 lines
1.6 KiB
YAML
apiVersion: apps/v1
|
|
kind: DaemonSet
|
|
metadata:
|
|
labels:
|
|
app: kms-csi-provider
|
|
name: kms-csi-provider
|
|
namespace: kube-system
|
|
spec:
|
|
updateStrategy:
|
|
type: RollingUpdate
|
|
selector:
|
|
matchLabels:
|
|
app: kms-csi-provider
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: kms-csi-provider
|
|
spec:
|
|
serviceAccountName: kms-csi-provider
|
|
tolerations:
|
|
containers:
|
|
- name: kms-csi-provider
|
|
image: kms-csi-provider:latest
|
|
imagePullPolicy: IfNotPresent
|
|
args:
|
|
- -endpoint=/provider/kms.sock
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 100Mi
|
|
limits:
|
|
cpu: 50m
|
|
memory: 100Mi
|
|
volumeMounts:
|
|
- name: providervol
|
|
mountPath: "/provider"
|
|
livenessProbe:
|
|
httpGet:
|
|
path: "/health/ready"
|
|
port: 8080
|
|
scheme: "HTTP"
|
|
failureThreshold: 2
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
successThreshold: 1
|
|
timeoutSeconds: 3
|
|
readinessProbe:
|
|
httpGet:
|
|
path: "/health/ready"
|
|
port: 8080
|
|
scheme: "HTTP"
|
|
failureThreshold: 2
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
successThreshold: 1
|
|
timeoutSeconds: 3
|
|
volumes:
|
|
- name: providervol
|
|
hostPath:
|
|
path: "/etc/kubernetes/secrets-store-csi-providers"
|
|
nodeSelector:
|
|
kubernetes.io/os: linux
|