Skip to content

Commit

Permalink
Shorten name of controller metrics port (#12)
Browse files Browse the repository at this point in the history
```
spec.template.spec.containers[0].ports[3].name: Invalid value: "controller-metrics": must be no more than 15 characters
```
  • Loading branch information
mhyllander authored Feb 18, 2021
1 parent 7ab9ace commit 638a3d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haproxy-ingress/templates/_podtemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
{{- include "haproxy-ingress.controller.ports" . | indent 8 }}
{{- end }}
{{- if .Values.controller.metrics.enabled }}
- name: controller-metrics
- name: ctrl-metrics
containerPort: {{ .Values.controller.metrics.controllerPort }}
protocol: TCP
{{- end }}
Expand Down

0 comments on commit 638a3d8

Please sign in to comment.