diff --git a/stable/prometheus-cloudwatch-exporter/Chart.yaml b/stable/prometheus-cloudwatch-exporter/Chart.yaml index 30ac344717..b6b377cb21 100644 --- a/stable/prometheus-cloudwatch-exporter/Chart.yaml +++ b/stable/prometheus-cloudwatch-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "0.5.0" description: A Helm chart for prometheus cloudwatch-exporter name: prometheus-cloudwatch-exporter -version: 0.4.0 +version: 0.4.1 home: https://github.com/prometheus/cloudwatch_exporter sources: - https://github.com/prometheus/cloudwatch_exporter diff --git a/stable/prometheus-cloudwatch-exporter/templates/deployment.yaml b/stable/prometheus-cloudwatch-exporter/templates/deployment.yaml index 9d5eb5e82a..9e28ee9ba6 100644 --- a/stable/prometheus-cloudwatch-exporter/templates/deployment.yaml +++ b/stable/prometheus-cloudwatch-exporter/templates/deployment.yaml @@ -61,13 +61,13 @@ spec: image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - - name: {{ .Values.service.portName }} + - name: container-port containerPort: 9106 protocol: TCP livenessProbe: httpGet: path: /-/healthy - port: {{ .Values.service.portName }} + port: container-port initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds}} periodSeconds: {{ .Values.livenessProbe.periodSeconds }} timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }} @@ -76,7 +76,7 @@ spec: readinessProbe: httpGet: path: /-/ready - port: {{ .Values.service.portName }} + port: container-port initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds}} periodSeconds: {{ .Values.readinessProbe.periodSeconds }} timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} diff --git a/stable/prometheus-cloudwatch-exporter/templates/service.yaml b/stable/prometheus-cloudwatch-exporter/templates/service.yaml index def2c9e7e4..3723dd9ed0 100644 --- a/stable/prometheus-cloudwatch-exporter/templates/service.yaml +++ b/stable/prometheus-cloudwatch-exporter/templates/service.yaml @@ -16,7 +16,7 @@ spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.port }} - targetPort: {{ .Values.service.targetPort }} + targetPort: container-port protocol: TCP name: {{ .Values.service.portName }} selector: