mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/rocketchat] Added new vars to values.yaml and changed templates/deployment.yaml f… (#17776)
* Added new vars to values.yaml and changed templates/deployment.yaml for optional extra pod labels and annotions for Rocket.Chat pods Signed-off-by: RonnyMaas <r.maas3@chello.nl> * bump chart version to 1.1.15 Signed-off-by: RonnyMaas <r.maas3@chello.nl> * added starting space for comments Signed-off-by: RonnyMaas <r.maas3@chello.nl>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
322baa4a94
commit
a7ca70668d
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: rocketchat
|
||||
version: 1.1.14
|
||||
version: 1.1.15
|
||||
appVersion: 1.3.1
|
||||
description: Prepare to take off with the ultimate chat platform, experience the next level of team communications
|
||||
keywords:
|
||||
|
||||
@@ -80,6 +80,8 @@ Parameter | Description | Default
|
||||
`service.type` | The service type to use | `ClusterIP`
|
||||
`service.port` | The service port | `80`
|
||||
`service.nodePort` | The node port used if the service is of type `NodePort` | `""`
|
||||
`podLabels` | Additional pod labels for the Rocket.Chat pods | `{}`
|
||||
`podAnnotations` | Additional pod annotations for the Rocket.Chat pods | `{}`
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
|
||||
@@ -18,8 +18,17 @@ spec:
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "rocketchat.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- if .Values.podLabels }}
|
||||
{{ toYaml .Values.podLabels | indent 8 }}
|
||||
{{- end }}
|
||||
|
||||
annotations:
|
||||
checksum/secret: {{ include (print .Template.BasePath "/secret.yaml") . | sha256sum }}
|
||||
{{- if .Values.podAnnotations }}
|
||||
{{ toYaml .Values.podAnnotations | indent 8 }}
|
||||
{{- end }}
|
||||
|
||||
|
||||
spec:
|
||||
{{- if .Values.securityContext.enabled }}
|
||||
securityContext:
|
||||
|
||||
@@ -161,3 +161,12 @@ service:
|
||||
# nodePort: 30000
|
||||
|
||||
port: 80
|
||||
|
||||
## Optional Pod Labels.
|
||||
podLabels: {}
|
||||
|
||||
## Optional Pod Annotations.
|
||||
podAnnotations: {}
|
||||
# prometheus.io/port: "9458"
|
||||
# prometheus.io/path: "/metrics"
|
||||
# prometheus.io/scrape: "true"
|
||||
|
||||
Reference in New Issue
Block a user