mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/mongodb] Add service annotations (#7082)
* mongodb: Add option to set service annotations Fixes #6941 * mongodb: Bump version to 4.1.1
This commit is contained in:
committed by
k8s-ci-robot
parent
36fc7e35ce
commit
fc0414e2ca
@@ -1,5 +1,5 @@
|
||||
name: mongodb
|
||||
version: 4.1.0
|
||||
version: 4.1.1
|
||||
appVersion: 4.0.1
|
||||
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications.
|
||||
keywords:
|
||||
|
||||
@@ -57,6 +57,7 @@ The following table lists the configurable parameters of the MongoDB chart and t
|
||||
| `mongodbPassword` | MongoDB custom user password | `random alhpanumeric string (10)` |
|
||||
| `mongodbDatabase` | Database to create | `nil` |
|
||||
| `mongodbExtraFlags` | MongoDB additional command line flags | [] |
|
||||
| `service.annotations` | Kubernetes service annotations | `{}` |
|
||||
| `service.type` | Kubernetes Service type | `ClusterIP` |
|
||||
| `service.nodePort` | Port to bind to for NodePort service type | `nil` |
|
||||
| `port` | MongoDB service port | `27017` |
|
||||
|
||||
@@ -8,6 +8,10 @@ metadata:
|
||||
chart: {{ template "mongodb.chart" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
{{- if .Values.service.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.service.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: ClusterIP
|
||||
clusterIP: None
|
||||
|
||||
@@ -8,6 +8,10 @@ metadata:
|
||||
chart: {{ template "mongodb.chart" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
{{- if .Values.service.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.service.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
|
||||
@@ -8,6 +8,10 @@ metadata:
|
||||
chart: {{ template "mongodb.chart" . }}
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
{{- if .Values.service.annotations }}
|
||||
annotations:
|
||||
{{ toYaml .Values.service.annotations | indent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
|
||||
@@ -57,6 +57,7 @@ securityContext:
|
||||
|
||||
## Kubernetes service type
|
||||
service:
|
||||
annotations: {}
|
||||
type: ClusterIP
|
||||
port: 27017
|
||||
|
||||
|
||||
@@ -57,6 +57,7 @@ securityContext:
|
||||
|
||||
## Kubernetes service type
|
||||
service:
|
||||
annotations: {}
|
||||
type: ClusterIP
|
||||
port: 27017
|
||||
|
||||
|
||||
Reference in New Issue
Block a user