aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/rook-ceph/templates/deployment.yaml
diff options
context:
space:
mode:
authorSrivahni <srivahni.chivukula@intel.com>2019-03-08 10:29:07 -0800
committerSrivahni <srivahni.chivukula@intel.com>2019-03-08 11:34:05 -0800
commit6d7c9539bb348af48f6c3d109c46f6f22d927be0 (patch)
treee352fb0361dd7b2de9e8d115a92bdf835d3c420e /vnfs/DAaaS/rook-ceph/templates/deployment.yaml
parentafddb9a1dd8cc82a02c09ac790bf19afbe01ebba (diff)
Remove redundant directories
Change-Id: I0b39b22d0cf4dba0c1bee6b142b95b78e697b569 Issue-ID: ONAPARC-393 Signed-off-by: Srivahni Chivukula <srivahni.chivukula@intel.com>
Diffstat (limited to 'vnfs/DAaaS/rook-ceph/templates/deployment.yaml')
-rw-r--r--vnfs/DAaaS/rook-ceph/templates/deployment.yaml108
1 files changed, 0 insertions, 108 deletions
diff --git a/vnfs/DAaaS/rook-ceph/templates/deployment.yaml b/vnfs/DAaaS/rook-ceph/templates/deployment.yaml
deleted file mode 100644
index 13c6a763..00000000
--- a/vnfs/DAaaS/rook-ceph/templates/deployment.yaml
+++ /dev/null
@@ -1,108 +0,0 @@
-apiVersion: apps/v1beta1
-kind: Deployment
-metadata:
- name: rook-ceph-operator
- labels:
- operator: rook
- storage-backend: ceph
- chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: rook-ceph-operator
- template:
- metadata:
- labels:
- app: rook-ceph-operator
- chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
-{{- if .Values.annotations }}
- annotations:
-{{ toYaml .Values.annotations | indent 8 }}
-{{- end }}
- spec:
- containers:
- - name: rook-ceph-operator
- image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
- imagePullPolicy: {{ .Values.image.pullPolicy }}
- args: ["ceph", "operator"]
- env:
-{{- if not .Values.rbacEnable }}
- - name: RBAC_ENABLED
- value: "false"
-{{- end }}
-{{- if .Values.agent }}
-{{- if .Values.agent.toleration }}
- - name: AGENT_TOLERATION
- value: {{ .Values.agent.toleration }}
-{{- end }}
-{{- if .Values.agent.tolerationKey }}
- - name: AGENT_TOLERATION_KEY
- value: {{ .Values.agent.tolerationKey }}
-{{- end }}
-{{- if .Values.agent.mountSecurityMode }}
- - name: AGENT_MOUNT_SECURITY_MODE
- value: {{ .Values.agent.mountSecurityMode }}
-{{- end }}
-{{- if .Values.agent.flexVolumeDirPath }}
- - name: FLEXVOLUME_DIR_PATH
- value: {{ .Values.agent.flexVolumeDirPath }}
-{{- end }}
-{{- if .Values.agent.libModulesDirPath }}
- - name: LIB_MODULES_DIR_PATH
- value: {{ .Values.agent.libModulesDirPath }}
-{{- end }}
-{{- if .Values.agent.mounts }}
- - name: AGENT_MOUNTS
- value: {{ .Values.agent.mounts }}
-{{- end }}
-{{- end }}
-{{- if .Values.discover }}
-{{- if .Values.discover.toleration }}
- - name: DISCOVER_TOLERATION
- value: {{ .Values.agent.toleration }}
-{{- end }}
-{{- if .Values.discover.tolerationKey }}
- - name: DISCOVER_TOLERATION_KEY
- value: {{ .Values.discover.tolerationKey }}
-{{- end }}
-{{- end }}
- - name: ROOK_LOG_LEVEL
- value: {{ .Values.logLevel }}
- - name: ROOK_ENABLE_SELINUX_RELABELING
- value: {{ .Values.enableSelinuxRelabeling | quote }}
- - name: NODE_NAME
- valueFrom:
- fieldRef:
- fieldPath: spec.nodeName
- - name: POD_NAME
- valueFrom:
- fieldRef:
- fieldPath: metadata.name
- - name: POD_NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
-{{- if .Values.mon }}
-{{- if .Values.mon.healthCheckInterval }}
- - name: ROOK_MON_HEALTHCHECK_INTERVAL
- value: {{ .Values.mon.healthCheckInterval }}
-{{- end }}
-{{- if .Values.mon.monOutTimeout }}
- - name: ROOK_MON_OUT_TIMEOUT
- value: {{ .Values.mon.monOutTimeout }}
-{{- end }}
-{{- end }}
- resources:
-{{ toYaml .Values.resources | indent 10 }}
-{{- if .Values.nodeSelector }}
- nodeSelector:
-{{ toYaml .Values.nodeSelector | indent 8 }}
-{{- end }}
-{{- if .Values.tolerations }}
- tolerations:
-{{ toYaml .Values.tolerations | indent 8 }}
-{{- end }}
-{{- if .Values.rbacEnable }}
- serviceAccountName: rook-ceph-system
-{{- end }}