From 77e638f55df69450b887087e5103bcae90db6fee Mon Sep 17 00:00:00 2001 From: Naseem Date: Fri, 16 Aug 2019 12:36:37 -0400 Subject: [PATCH] Add resources values to ui and controller (#95) --- charts/argo/Chart.yaml | 2 +- charts/argo/templates/ui-deployment.yaml | 2 ++ charts/argo/templates/workflow-controller-deployment.yaml | 2 ++ charts/argo/values.yaml | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/argo/Chart.yaml b/charts/argo/Chart.yaml index 58745eb6..294b83f4 100644 --- a/charts/argo/Chart.yaml +++ b/charts/argo/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 appVersion: "v2.3.0" description: A Helm chart for Argo Workflows name: argo -version: 0.5.0 +version: 0.5.1 diff --git a/charts/argo/templates/ui-deployment.yaml b/charts/argo/templates/ui-deployment.yaml index fda2a0d9..31d998cd 100644 --- a/charts/argo/templates/ui-deployment.yaml +++ b/charts/argo/templates/ui-deployment.yaml @@ -36,4 +36,6 @@ spec: fieldPath: metadata.namespace - name: BASE_HREF value: / + resources: + {{- toYaml .Values.ui.resources | nindent 12 }} {{- end -}} diff --git a/charts/argo/templates/workflow-controller-deployment.yaml b/charts/argo/templates/workflow-controller-deployment.yaml index 586d4132..69b5f8bc 100644 --- a/charts/argo/templates/workflow-controller-deployment.yaml +++ b/charts/argo/templates/workflow-controller-deployment.yaml @@ -38,3 +38,5 @@ spec: fieldRef: apiVersion: v1 fieldPath: metadata.namespace + resources: + {{- toYaml .Values.controller.resources | nindent 12 }} diff --git a/charts/argo/values.yaml b/charts/argo/values.yaml index f4a60c10..06ae465a 100644 --- a/charts/argo/values.yaml +++ b/charts/argo/values.yaml @@ -56,6 +56,7 @@ controller: # Source ranges to allow access to service from. Only applies to # service type `LoadBalancer` loadBalancerSourceRanges: [] + resources: {} executor: image: @@ -83,6 +84,7 @@ ui: # Source ranges to allow access to service from. Only applies to # service type `LoadBalancer` loadBalancerSourceRanges: [] + resources: {} ## Ingress configuration. ## ref: https://kubernetes.io/docs/user-guide/ingress/