Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Various Helm chart fixes (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
pzduniak authored Apr 19, 2022
1 parent bf75367 commit 670ef9a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions deploy/helm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -116,4 +116,4 @@ HTTP Port
- name: GUBER_GRPC_MAX_CONN_AGE_SEC
value: {{ .Values.gubernator.server.grpc.maxConnAgeSeconds }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion deploy/helm/templates/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ spec:
name: cpu
target:
type: Utilization
averageUtilization: {{ .Values.gubernator.autoscaling.cpuAverageUsage }}
averageUtilization: {{ .Values.gubernator.autoscaling.cpuAverageUtilization }}
2 changes: 1 addition & 1 deletion deploy/helm/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: {{ include "gubernator.fullname" . }}
{{- end }}
{{- end }}
5 changes: 2 additions & 3 deletions deploy/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ gubernator:
create: false
# name: "teste"

nodeSelector:
group: apps
nodeSelector: {}

resources:
requests:
cpu: 100m
memory: 150Mi
memory: 150Mi

0 comments on commit 670ef9a

Please sign in to comment.