mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Kubernetes Prow Robot
parent
0620f011c9
commit
916736a23e
@@ -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
|
||||
|
||||
@@ -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 | |
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user