From 0b0e42c6ca32b13266ecaa8cb703518b16999049 Mon Sep 17 00:00:00 2001 From: Matt Baker Date: Thu, 31 May 2018 14:16:04 -0700 Subject: [PATCH] Add ability to not deploy Argo UI --- charts/argo/templates/ui-deployment.yaml | 2 ++ charts/argo/values.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/charts/argo/templates/ui-deployment.yaml b/charts/argo/templates/ui-deployment.yaml index bf237b6b..85672881 100644 --- a/charts/argo/templates/ui-deployment.yaml +++ b/charts/argo/templates/ui-deployment.yaml @@ -1,3 +1,4 @@ +{{ if .Values.ui.enabled }} apiVersion: extensions/v1beta1 kind: Deployment metadata: @@ -19,3 +20,4 @@ spec: env: - name: IN_CLUSTER value: "true" +{{ end }} \ No newline at end of file diff --git a/charts/argo/values.yaml b/charts/argo/values.yaml index 22311334..7fc33588 100644 --- a/charts/argo/values.yaml +++ b/charts/argo/values.yaml @@ -5,6 +5,8 @@ executorImage: argoexec imagesTag: v2.1.0-alpha1 controllerName: workflow-controller +ui: + enabled: true # Enables ability to SSH into pod using web UI enableWebConsole: false uiName: ui