diff --git a/charts/gitlab-ci-pipelines-exporter/templates/deployment.yaml b/charts/gitlab-ci-pipelines-exporter/templates/deployment.yaml index b044947..60a6bea 100644 --- a/charts/gitlab-ci-pipelines-exporter/templates/deployment.yaml +++ b/charts/gitlab-ci-pipelines-exporter/templates/deployment.yaml @@ -76,7 +76,7 @@ spec: mountPath: /etc/config.yml subPath: config.yml ports: - - name: exporter + - name: {{- .Values.portName }} containerPort: 8080 protocol: TCP {{- with .Values.livenessProbe }} diff --git a/charts/gitlab-ci-pipelines-exporter/values.yaml b/charts/gitlab-ci-pipelines-exporter/values.yaml index 6b69af8..4d12b5c 100644 --- a/charts/gitlab-ci-pipelines-exporter/values.yaml +++ b/charts/gitlab-ci-pipelines-exporter/values.yaml @@ -44,6 +44,8 @@ podLabels: {} # podAnnotations -- additional annotations for the pods podAnnotations: {} +portName: "exporter" + service: # type -- service type type: ClusterIP