add the ability to disable Alerts in GUI
Change-Id: I7c0d9a7a0414f43188abf679d47d8fe312f2600e
diff --git a/aether-roc-api/Chart.yaml b/aether-roc-api/Chart.yaml
index 78ee9a9..71accec 100644
--- a/aether-roc-api/Chart.yaml
+++ b/aether-roc-api/Chart.yaml
@@ -7,7 +7,7 @@
description: Aether ROC API
kubeVersion: ">=1.15.0"
type: application
-version: 1.1.150
+version: 1.1.151
appVersion: v0.8.2
keywords:
- aether
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 }}