Fix wrong variable reference in Grafana & Pulsar Manager port (#41)

### Motivation

PR #37 updated the location of the ports in the default values yaml. This causes a null pointer exception when rendering this helm chart.

### Modifications

Fix variable reference
This commit is contained in:
Niklas Wagner 2020-07-18 04:41:40 +02:00 committed by GitHub
parent 135868c66c
commit 3cb674dfea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ spec:
{{- end }}
ports:
- name: server
containerPort: {{ .Values.grafana.port }}
containerPort: {{ .Values.grafana.service.targetPort }}
env:
# for supporting apachepulsar/pulsar-grafana
- name: PROMETHEUS_URL

View File

@ -58,7 +58,7 @@ spec:
{{ toYaml .Values.pulsar_manager.resources | indent 12 }}
{{- end }}
ports:
- containerPort: {{ .Values.pulsar_manager.port }}
- containerPort: {{ .Values.pulsar_manager.service.targetPort }}
volumeMounts:
- name: pulsar-manager-data
mountPath: /data