add the ability to disable Alerts in GUI
Change-Id: I7c0d9a7a0414f43188abf679d47d8fe312f2600e
diff --git a/aether-roc-api/templates/deployment.yaml b/aether-roc-api/templates/deployment.yaml
index 38bd935..bc068bb 100644
--- a/aether-roc-api/templates/deployment.yaml
+++ b/aether-roc-api/templates/deployment.yaml
@@ -80,6 +80,7 @@
add:
- SYS_PTRACE
{{- end }}
+ {{ if .Values.websocketsidecar.enabled }}
- name: {{ .Chart.Name }}-websocket
image: "{{ .Values.image.websocketsidecar.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
@@ -112,6 +113,7 @@
resources:
{{- toYaml .Values.resources | nindent 12 }}
securityContext: {}
+ {{ end }}
volumes:
- name: secret
secret:
@@ -119,7 +121,7 @@
- name: config
configMap:
name: {{ template "aether-roc-api.fullname" . }}-config
- {{- with .Values.nodeSelector }}
+ {{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}