[stable/karma] Add deployment.annotations parameter (#18686)

* [stable/karma] Add deployment.annotations parameter

Signed-off-by: Branden Rolston <branden@mesosphere.com>

* [stable/karma] Bump version

Signed-off-by: Branden Rolston <branden@mesosphere.com>
This commit is contained in:
Branden Rolston
2019-12-01 14:51:16 -08:00
committed by Kubernetes Prow Robot
parent 0620f011c9
commit 916736a23e
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -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
+1
View File
@@ -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 | |
+4
View File
@@ -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:
+3
View File
@@ -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