diff --git a/stable/karma/Chart.yaml b/stable/karma/Chart.yaml index 7bcfd50b4f..885669583e 100644 --- a/stable/karma/Chart.yaml +++ b/stable/karma/Chart.yaml @@ -6,7 +6,7 @@ home: https://github.com/prymitive/karma sources: - https://hub.docker.com/r/lmierzwa/karma/ - https://github.com/prymitive/karma -version: 1.3.0 +version: 1.4.0 maintainers: - name: davidkarlsen email: david@davidkarlsen.com diff --git a/stable/karma/README.md b/stable/karma/README.md index 90553a8a11..d2683146d3 100644 --- a/stable/karma/README.md +++ b/stable/karma/README.md @@ -64,6 +64,7 @@ The following table lists the configurable parameters of the karma chart and the | `livenessProbe.period` | Speicy period of liveness probe | `5` | | `livenessProbe.path` | Specify path liveness probe should hit | `/` | | `configMap.enabled` | Provide a custom karma configuration | `false` | +| `configMap.annotations` | Annotations to add to the config map | `{}` | | `configMap.rawConfig` | A karma compatible YAML configuration | `` | | `certSecretNames` | Mount Alertmanager certificates to `/etc/certs/` | `[]` | diff --git a/stable/karma/templates/configmap.yaml b/stable/karma/templates/configmap.yaml index 03c9ae0c6e..bbcfb79a10 100644 --- a/stable/karma/templates/configmap.yaml +++ b/stable/karma/templates/configmap.yaml @@ -7,9 +7,12 @@ metadata: chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" heritage: "{{ .Release.Service }}" release: "{{ .Release.Name }}" +{{- with .Values.configMap.annotations }} + annotations: +{{ toYaml . | indent 4 }} +{{- end }} name: "{{ .Release.Name }}-config" data: karma.conf: | {{ toYaml .Values.configMap.rawConfig | indent 4 }} {{- end }} - diff --git a/stable/karma/values.yaml b/stable/karma/values.yaml index 1cad305454..d555b75879 100644 --- a/stable/karma/values.yaml +++ b/stable/karma/values.yaml @@ -76,6 +76,7 @@ livenessProbe: # to provide advanced configuration. NOTE, you must use port 8080! configMap: enabled: false + annotations: {} # rawConfig: # alertmanager: # interval: 30s