Merge pull request #88144 from gavinfish/crlf-lf

Change line terminators from CRLF to LF
This commit is contained in:
Kubernetes Prow Robot 2020-02-13 22:44:43 -08:00 committed by GitHub
commit 0e37bcedef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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