aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/00-init/rook-ceph/templates/deployment.yaml
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2019-05-30 12:38:37 -0700
committerDileep Ranganathan <dileep.ranganathan@intel.com>2019-05-30 21:11:52 +0000
commit3d5a3e06530c1250d48f7d838c619f3bfbcd019d (patch)
tree349e370c43ce7318b3f7eb7736345de6872cbef2 /vnfs/DAaaS/00-init/rook-ceph/templates/deployment.yaml
parent31802660dfe74a8671ae29789f0018f0f887ea1a (diff)
Refactor Distributed Analytics project structure
Modified the project structure to improve maintainability and to add future CI and integration test support. Change-Id: Id30bfb1f83f23785a6b5f99e81f42f752d59c0f8 Issue-ID: ONAPARC-280 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Diffstat (limited to 'vnfs/DAaaS/00-init/rook-ceph/templates/deployment.yaml')
-rw-r--r--vnfs/DAaaS/00-init/rook-ceph/templates/deployment.yaml108
1 files changed, 0 insertions, 108 deletions
diff --git a/vnfs/DAaaS/00-init/rook-ceph/templates/deployment.yaml b/vnfs/DAaaS/00-init/rook-ceph/templates/deployment.yaml
deleted file mode 100644
index 13c6a763..00000000
--- a/vnfs/DAaaS/00-init/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 }}