diff --git a/charts/app-mendix/Chart.yaml b/charts/app-mendix/Chart.yaml index 3458331..54e7533 100644 --- a/charts/app-mendix/Chart.yaml +++ b/charts/app-mendix/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: app-mendix -version: 2.2.0 +version: 2.2.1 description: Mendix Application Chart. icon: https://cinaq.github.io/helm-charts/icons/mendix-logo.png maintainers: diff --git a/charts/app-mendix/templates/deployment-leader.yaml b/charts/app-mendix/templates/deployment-leader.yaml index 230da68..b02d2f7 100644 --- a/charts/app-mendix/templates/deployment-leader.yaml +++ b/charts/app-mendix/templates/deployment-leader.yaml @@ -32,6 +32,7 @@ spec: ports: - containerPort: {{ .Values.service.internalPort }} name: app + {{- if .Values.metrics.enabled }} - containerPort: {{ add (int .Values.service.internalPort) 2}} name: metrics - containerPort: 9273