diff --git a/stable/karma/Chart.yaml b/stable/karma/Chart.yaml index d1a4ce4b5b..7bcfd50b4f 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.2.1 +version: 1.3.0 maintainers: - name: davidkarlsen email: david@davidkarlsen.com diff --git a/stable/karma/README.md b/stable/karma/README.md index dad8221fa8..90553a8a11 100644 --- a/stable/karma/README.md +++ b/stable/karma/README.md @@ -48,6 +48,7 @@ The following table lists the configurable parameters of the karma chart and the | `service.type` | Type of Service | `ClusterIP` | | `service.port` | Port for kubernetes service | `80` | | `service.annotations` | Annotations to add to the service | `{}` | +| `deployment.annotations` | Annotations to add to the deployment | `{}` | | `resources.requests.cpu` | CPU resource requests | | | `resources.limits.cpu` | CPU resource limits | | | `resources.requests.memory` | Memory resource requests | | diff --git a/stable/karma/templates/deployment.yaml b/stable/karma/templates/deployment.yaml index e331f3691c..6b9258291e 100644 --- a/stable/karma/templates/deployment.yaml +++ b/stable/karma/templates/deployment.yaml @@ -7,6 +7,10 @@ metadata: helm.sh/chart: {{ include "karma.chart" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- with .Values.deployment.annotations }} + annotations: +{{ toYaml . | indent 4 }} +{{- end }} spec: replicas: {{ .Values.replicaCount }} selector: diff --git a/stable/karma/values.yaml b/stable/karma/values.yaml index 833a11750f..1cad305454 100644 --- a/stable/karma/values.yaml +++ b/stable/karma/values.yaml @@ -43,6 +43,9 @@ ingress: # hosts: # - chart-example.local +deployment: + annotations: {} + resources: {} # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little