diff --git a/charts/celery-exporter/Chart.yaml b/charts/celery-exporter/Chart.yaml index 3d52834..c62def6 100644 --- a/charts/celery-exporter/Chart.yaml +++ b/charts/celery-exporter/Chart.yaml @@ -13,5 +13,5 @@ maintainers: - name: danihodovic - name: adinhodovic -version: 0.7.0 +version: 0.8.0 appVersion: 0.9.2 diff --git a/charts/celery-exporter/README.md b/charts/celery-exporter/README.md index f95d5bf..ff03f15 100644 --- a/charts/celery-exporter/README.md +++ b/charts/celery-exporter/README.md @@ -69,6 +69,7 @@ helm install celery-exporter danihodovic/celery-exporter --set env[0].name=CE_BR | securityContext | object | `{}` | | | service.port | int | `9808` | | | service.type | string | `"ClusterIP"` | | +| service.annotations | object | `{}` | | | serviceAccount.annotations | object | `{}` | | | serviceAccount.create | bool | `true` | | | serviceAccount.name | string | `""` | | diff --git a/charts/celery-exporter/templates/service.yaml b/charts/celery-exporter/templates/service.yaml index 35e6c7b..61ce8cd 100644 --- a/charts/celery-exporter/templates/service.yaml +++ b/charts/celery-exporter/templates/service.yaml @@ -4,6 +4,11 @@ metadata: name: {{ include "celery-exporter.fullname" . }} labels: {{- include "celery-exporter.labels" . | nindent 4 }} + {{- with .Values.service.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} + spec: type: {{ .Values.service.type }} ports: diff --git a/charts/celery-exporter/values.yaml b/charts/celery-exporter/values.yaml index a90db82..815e4ab 100644 --- a/charts/celery-exporter/values.yaml +++ b/charts/celery-exporter/values.yaml @@ -48,6 +48,9 @@ securityContext: {} service: type: ClusterIP port: 9808 + annotations: {} + # prometheus.io/scrape: "true" + # prometheus.io/port: "9808" ingress: enabled: false