From c21cde03ed7dc5ff23e8438eb4cac2ce86adfda7 Mon Sep 17 00:00:00 2001 From: Artashes Balabekyan Date: Fri, 22 Jan 2021 18:30:36 +0400 Subject: [PATCH] Update-2021-01-22_18:30:35 --- charts/netris-operator/Chart.yaml | 4 ++-- charts/netris-operator/templates/_helpers.tpl | 4 ++++ charts/netris-operator/values.yaml | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/charts/netris-operator/Chart.yaml b/charts/netris-operator/Chart.yaml index 3e7659b..cbf897b 100644 --- a/charts/netris-operator/Chart.yaml +++ b/charts/netris-operator/Chart.yaml @@ -15,12 +15,12 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: 0.1.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: v0.0.1 +appVersion: v0.0.2 home: https://github.com/netrisai/netris-operator icon: https://www.netris.ai/wp-content/uploads/2020/05/logo-600.png # [todo] Change url to permalink keywords: diff --git a/charts/netris-operator/templates/_helpers.tpl b/charts/netris-operator/templates/_helpers.tpl index 09959fa..c15f541 100644 --- a/charts/netris-operator/templates/_helpers.tpl +++ b/charts/netris-operator/templates/_helpers.tpl @@ -102,5 +102,9 @@ Create netris-opeator controller envs secretKeyRef: name: {{ .Values.controllerCreds.password.secretName }} key: {{ .Values.controllerCreds.password.key }} +{{- end }} +{{- if or (eq (lower (toString .Values.controller.insecure )) "true") (eq (lower (toString .Values.controller.insecure )) "false") }} +- name: CONTROLLER_INSECURE + value: {{ .Values.controller.insecure | quote }} {{- end -}} {{- end -}} diff --git a/charts/netris-operator/values.yaml b/charts/netris-operator/values.yaml index d4b79b2..6e0cc51 100644 --- a/charts/netris-operator/values.yaml +++ b/charts/netris-operator/values.yaml @@ -18,6 +18,7 @@ controller: {} # host: http://example.com # login: login # password: pass + # insecure: false controllerCreds: host: