1a07c87af7
Upstream Changes: - cephfs-provisioner v2.0.0-k8s1.11 (https://github.com/kubernetes-incubator/external-storage/releases/tag/cephfs-provisioner-v2.0.0-k8s1.11) - Update ClusterRole Our Changes: - Fix typo in defaults/main.yml (rs -> deploy) - Manifests cleanup
35 lines
996 B
Django/Jinja
35 lines
996 B
Django/Jinja
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: cephfs-provisioner-{{ cephfs_provisioner_image_tag }}
|
|
namespace: {{ cephfs_provisioner_namespace }}
|
|
labels:
|
|
app: cephfs-provisioner
|
|
version: {{ cephfs_provisioner_image_tag }}
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: cephfs-provisioner
|
|
version: {{ cephfs_provisioner_image_tag }}
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: cephfs-provisioner
|
|
version: {{ cephfs_provisioner_image_tag }}
|
|
spec:
|
|
{% if rbac_enabled %}
|
|
serviceAccount: cephfs-provisioner
|
|
{% endif %}
|
|
containers:
|
|
- name: cephfs-provisioner
|
|
image: {{ cephfs_provisioner_image_repo }}:{{ cephfs_provisioner_image_tag }}
|
|
imagePullPolicy: {{ k8s_image_pull_policy }}
|
|
env:
|
|
- name: PROVISIONER_NAME
|
|
value: ceph.com/cephfs
|
|
command:
|
|
- "/usr/local/bin/cephfs-provisioner"
|
|
args:
|
|
- "-id=cephfs-provisioner-1"
|