mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Merge pull request #88144 from gavinfish/crlf-lf
Change line terminators from CRLF to LF
This commit is contained in:
commit
0e37bcedef
@ -1,52 +1,52 @@
|
|||||||
kind: Service
|
kind: Service
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: csi-snapshotter
|
name: csi-snapshotter
|
||||||
labels:
|
labels:
|
||||||
app: csi-snapshotter
|
app: csi-snapshotter
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: csi-snapshotter
|
app: csi-snapshotter
|
||||||
ports:
|
ports:
|
||||||
- name: dummy
|
- name: dummy
|
||||||
port: 12345
|
port: 12345
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: csi-snapshotter
|
name: csi-snapshotter
|
||||||
spec:
|
spec:
|
||||||
serviceName: "csi-snapshotter"
|
serviceName: "csi-snapshotter"
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: csi-snapshotter
|
app: csi-snapshotter
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: csi-snapshotter
|
app: csi-snapshotter
|
||||||
spec:
|
spec:
|
||||||
serviceAccount: csi-snapshotter
|
serviceAccount: csi-snapshotter
|
||||||
containers:
|
containers:
|
||||||
- name: csi-snapshotter
|
- name: csi-snapshotter
|
||||||
image: quay.io/k8scsi/csi-snapshotter:v2.0.0
|
image: quay.io/k8scsi/csi-snapshotter:v2.0.0
|
||||||
args:
|
args:
|
||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--csi-address=$(ADDRESS)"
|
- "--csi-address=$(ADDRESS)"
|
||||||
env:
|
env:
|
||||||
- name: ADDRESS
|
- name: ADDRESS
|
||||||
value: /csi/csi.sock
|
value: /csi/csi.sock
|
||||||
securityContext:
|
securityContext:
|
||||||
# This is necessary only for systems with SELinux, where
|
# This is necessary only for systems with SELinux, where
|
||||||
# non-privileged sidecar containers cannot access unix domain socket
|
# non-privileged sidecar containers cannot access unix domain socket
|
||||||
# created by privileged CSI driver container.
|
# created by privileged CSI driver container.
|
||||||
privileged: true
|
privileged: true
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: socket-dir
|
- name: socket-dir
|
||||||
mountPath: /csi
|
mountPath: /csi
|
||||||
volumes:
|
volumes:
|
||||||
- hostPath:
|
- hostPath:
|
||||||
path: /var/lib/kubelet/plugins/csi-hostpath
|
path: /var/lib/kubelet/plugins/csi-hostpath
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
name: socket-dir
|
name: socket-dir
|
||||||
|
Loading…
Reference in New Issue
Block a user