mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/karma] Add option for configmap annotations (#19569)
* [stable/karma] Add configMap.annotations option Signed-off-by: Grace Do <xgrace@gmail.com> * [stable/karma] Bump chart version Signed-off-by: Grace Do <xgrace@gmail.com> * Fix configmap annotations value Signed-off-by: Grace Do <xgrace@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
d6b8bd59f6
commit
e3217e81c5
@@ -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
|
||||
|
||||
@@ -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/<name>` | `[]` |
|
||||
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
|
||||
@@ -76,6 +76,7 @@ livenessProbe:
|
||||
# to provide advanced configuration. NOTE, you must use port 8080!
|
||||
configMap:
|
||||
enabled: false
|
||||
annotations: {}
|
||||
# rawConfig:
|
||||
# alertmanager:
|
||||
# interval: 30s
|
||||
|
||||
Reference in New Issue
Block a user