From 283c5389176362ec90bd3ab3419a13f15805fcb7 Mon Sep 17 00:00:00 2001 From: William Feng Date: Fri, 7 Apr 2023 21:01:07 +0800 Subject: [PATCH] fix containerPort retrieving bug --- chart/pyroscope/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/pyroscope/templates/deployment.yaml b/chart/pyroscope/templates/deployment.yaml index 03926c5..f274640 100644 --- a/chart/pyroscope/templates/deployment.yaml +++ b/chart/pyroscope/templates/deployment.yaml @@ -50,7 +50,7 @@ spec: {{- end }} ports: - name: api - containerPort: {{ index .Values.pyroscopeConfigs "api-bind-addr" | int | default 4040 }} + containerPort: {{ index .Values.pyroscopeConfigs "api-bind-addr" | trimPrefix ":" | int | default 4040 }} protocol: TCP {{- if .Values.readinessProbe.enabled }} readinessProbe: