[bitnami/nginx-ingress-controller] Truncate ingress-nginx-controller metrics service name (#7848)

* Truncate ingress-nginx-controller metrics service name to conform to Kubernetes limitations

* Bump nginx-ingress-controller patch version

Co-authored-by: Ayan Bikalapov <abikalapov@explorance.com>
This commit is contained in:
aiceball
2021-10-19 08:14:33 +02:00
committed by GitHub
co-authored by Ayan Bikalapov
parent 681f9fa6cd
commit a67dfca3e5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -26,4 +26,4 @@ name: nginx-ingress-controller
sources:
- https://github.com/bitnami/bitnami-docker-nginx-ingress-controller
- https://github.com/kubernetes/ingress-nginx
version: 8.0.8
version: 8.0.9
@@ -2,7 +2,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ printf "%s-metrics" (include "common.names.fullname" .) }}
name: {{ printf "%s-metrics" (include "common.names.fullname" .) | trunc 63 | trimSuffix "-" }}
namespace: {{ .Release.Namespace | quote }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
app.kubernetes.io/component: metrics