Skip to content

Commit

Permalink
Bugfix slave deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
xiwenc committed Dec 22, 2023
1 parent 657838d commit 42cd04f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/app-mendix/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: app-mendix
version: 2.2.1
version: 2.2.2
description: Mendix Application Chart.
icon: https://cinaq.github.io/helm-charts/icons/mendix-logo.png
maintainers:
Expand Down
4 changes: 1 addition & 3 deletions charts/app-mendix/templates/deployment-slave.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,11 @@ spec:
- containerPort: {{ .Values.service.internalPort }}
name: app
{{- if .Values.metrics.enabled }}
- containerPort: {{ add .Values.service.internalPort 3 }}
- containerPort: {{ add (int .Values.service.internalPort) 2 }}
name: metrics
- containerPort: 9273
name: metrics_mendix
{{- end }}
- containerPort: {{ add (int .Values.service.internalPort) 2 }}
name: metrics
env:
- name: CF_INSTANCE_INDEX
value: "1"
Expand Down

0 comments on commit 42cd04f

Please sign in to comment.