Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion templates/config/controller/deployment.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ spec:
image: controller:latest
name: controller
ports:
- containerPort: 8080
- name: http
containerPort: 8080
resources:
limits:
cpu: 100m
Expand Down
4 changes: 2 additions & 2 deletions templates/config/controller/service.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ spec:
ports:
- name: metricsport
port: 8080
targetPort: 8080
targetPort: http
protocol: TCP
type: NodePort
type: NodePort
3 changes: 2 additions & 1 deletion templates/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ spec:
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
name: controller
ports:
- containerPort: {{ .Values.deployment.containerPort }}
- name: http
containerPort: {{ .Values.deployment.containerPort }}
resources:
{{- toYaml .Values.resources | nindent 10 }}
env:
Expand Down
4 changes: 2 additions & 2 deletions templates/helm/templates/metrics-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ spec:
ports:
- name: metricsport
port: 8080
targetPort: 8080
targetPort: http
protocol: TCP
{{- end }}
{{- end }}
3 changes: 2 additions & 1 deletion templates/helm/templates/service-account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ metadata:
k8s-app: {{ include "app.name" . }}
helm.sh/chart: {{ include "chart.name-version" . }}
name: {{ include "service-account.name" . }}
namespace: {{ .Release.Namespace }}
annotations:
{{- range $key, $value := .Values.serviceAccount.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}