26 lines
667 B
Django/Jinja
26 lines
667 B
Django/Jinja
---
|
|
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cephfs-provisioner
|
|
namespace: {{ cephfs_provisioner_namespace }}
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: cephfs-provisioner
|
|
spec:
|
|
containers:
|
|
- name: cephfs-provisioner
|
|
image: {{ cephfs_provisioner_image_repo }}:{{ cephfs_provisioner_image_tag }}
|
|
env:
|
|
- name: PROVISIONER_NAME
|
|
value: ceph.com/cephfs
|
|
command:
|
|
- "/usr/local/bin/cephfs-provisioner"
|
|
args:
|
|
- "-id=cephfs-provisioner-1"
|
|
serviceAccount: cephfs-provisioner
|