1 apiVersion: apps/v1beta1
4 name: rook-ceph-operator
8 chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
13 app: rook-ceph-operator
17 app: rook-ceph-operator
18 chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
19 {{- if .Values.annotations }}
21 {{ toYaml .Values.annotations | indent 8 }}
25 - name: rook-ceph-operator
26 image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
27 imagePullPolicy: {{ .Values.image.pullPolicy }}
28 args: ["ceph", "operator"]
30 {{- if not .Values.rbacEnable }}
34 {{- if .Values.agent }}
35 {{- if .Values.agent.toleration }}
36 - name: AGENT_TOLERATION
37 value: {{ .Values.agent.toleration }}
39 {{- if .Values.agent.tolerationKey }}
40 - name: AGENT_TOLERATION_KEY
41 value: {{ .Values.agent.tolerationKey }}
43 {{- if .Values.agent.mountSecurityMode }}
44 - name: AGENT_MOUNT_SECURITY_MODE
45 value: {{ .Values.agent.mountSecurityMode }}
47 {{- if .Values.agent.flexVolumeDirPath }}
48 - name: FLEXVOLUME_DIR_PATH
49 value: {{ .Values.agent.flexVolumeDirPath }}
51 {{- if .Values.agent.libModulesDirPath }}
52 - name: LIB_MODULES_DIR_PATH
53 value: {{ .Values.agent.libModulesDirPath }}
55 {{- if .Values.agent.mounts }}
57 value: {{ .Values.agent.mounts }}
60 {{- if .Values.discover }}
61 {{- if .Values.discover.toleration }}
62 - name: DISCOVER_TOLERATION
63 value: {{ .Values.agent.toleration }}
65 {{- if .Values.discover.tolerationKey }}
66 - name: DISCOVER_TOLERATION_KEY
67 value: {{ .Values.discover.tolerationKey }}
70 - name: ROOK_LOG_LEVEL
71 value: {{ .Values.logLevel }}
72 - name: ROOK_ENABLE_SELINUX_RELABELING
73 value: {{ .Values.enableSelinuxRelabeling | quote }}
77 fieldPath: spec.nodeName
81 fieldPath: metadata.name
85 fieldPath: metadata.namespace
87 {{- if .Values.mon.healthCheckInterval }}
88 - name: ROOK_MON_HEALTHCHECK_INTERVAL
89 value: {{ .Values.mon.healthCheckInterval }}
91 {{- if .Values.mon.monOutTimeout }}
92 - name: ROOK_MON_OUT_TIMEOUT
93 value: {{ .Values.mon.monOutTimeout }}
97 {{ toYaml .Values.resources | indent 10 }}
98 {{- if .Values.nodeSelector }}
100 {{ toYaml .Values.nodeSelector | indent 8 }}
102 {{- if .Values.tolerations }}
104 {{ toYaml .Values.tolerations | indent 8 }}
106 {{- if .Values.rbacEnable }}
107 serviceAccountName: rook-ceph-system