Files
external-snapshotter/deploy/kubernetes/snapshot-controller/setup-snapshot-controller.yaml
Ben Swartzlander 298e08e262 Small fixes to snapshot-controller YAML
Remove "sidecar" language for the controller.

Update image tag to 2.0.0-rc4 (the latest)

Change imagePullPolicy back to Always
2019-12-30 14:32:57 -05:00

28 lines
716 B
YAML

# This YAML file shows how to deploy the snapshot controller
---
kind: StatefulSet
apiVersion: apps/v1
metadata:
name: snapshot-controller
spec:
serviceName: "snapshot-controller"
replicas: 1
selector:
matchLabels:
app: snapshot-controller
template:
metadata:
labels:
app: snapshot-controller
spec:
serviceAccount: snapshot-controller
containers:
- name: snapshot-controller
# NOTE: replace with official image when released: quay.io/k8scsi/snapshot-controller:v2.0.0
image: quay.io/k8scsi/snapshot-controller:v2.0.0-rc4
args:
- "--v=5"
- "--leader-election=false"
imagePullPolicy: Always