From 670ef9a13866603e768455b92298d21cf229973f Mon Sep 17 00:00:00 2001 From: Piotr Zduniak Date: Tue, 19 Apr 2022 20:58:17 +0200 Subject: [PATCH] Various Helm chart fixes (#137) --- deploy/helm/templates/_helpers.tpl | 4 ++-- deploy/helm/templates/hpa.yaml | 2 +- deploy/helm/templates/rbac.yaml | 2 +- deploy/helm/values.yaml | 5 ++--- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/deploy/helm/templates/_helpers.tpl b/deploy/helm/templates/_helpers.tpl index 75601ef5..881a4fca 100644 --- a/deploy/helm/templates/_helpers.tpl +++ b/deploy/helm/templates/_helpers.tpl @@ -99,7 +99,7 @@ HTTP Port - name: GUBER_PEER_DISCOVERY_TYPE value: "k8s" - name: GUBER_K8S_POD_PORT - value: {{ include "gubernator.grpc.port" . }} + value: "{{ include "gubernator.grpc.port" . }}" - name: GUBER_K8S_ENDPOINTS_SELECTOR value: "app=gubernator" {{- if .Values.gubernator.debug }} @@ -116,4 +116,4 @@ HTTP Port - name: GUBER_GRPC_MAX_CONN_AGE_SEC value: {{ .Values.gubernator.server.grpc.maxConnAgeSeconds }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/deploy/helm/templates/hpa.yaml b/deploy/helm/templates/hpa.yaml index 776c643c..30d9a063 100644 --- a/deploy/helm/templates/hpa.yaml +++ b/deploy/helm/templates/hpa.yaml @@ -20,4 +20,4 @@ spec: name: cpu target: type: Utilization - averageUtilization: {{ .Values.gubernator.autoscaling.cpuAverageUsage }} \ No newline at end of file + averageUtilization: {{ .Values.gubernator.autoscaling.cpuAverageUtilization }} diff --git a/deploy/helm/templates/rbac.yaml b/deploy/helm/templates/rbac.yaml index fbdb62e4..31cd98e0 100644 --- a/deploy/helm/templates/rbac.yaml +++ b/deploy/helm/templates/rbac.yaml @@ -32,4 +32,4 @@ roleRef: subjects: - kind: ServiceAccount name: {{ include "gubernator.fullname" . }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yaml index fa628ca0..49d9d105 100644 --- a/deploy/helm/values.yaml +++ b/deploy/helm/values.yaml @@ -44,10 +44,9 @@ gubernator: create: false # name: "teste" - nodeSelector: - group: apps + nodeSelector: {} resources: requests: cpu: 100m - memory: 150Mi \ No newline at end of file + memory: 150Mi