mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add ability to specify kubernetes cluster domain (#7655)
Signed-off-by: tompizmor <tompizmor@gmail.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
61c39c4b81
commit
f69eae8cd1
@@ -1,5 +1,5 @@
|
||||
name: mongodb
|
||||
version: 4.3.2
|
||||
version: 4.3.3
|
||||
appVersion: 4.0.2
|
||||
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications.
|
||||
keywords:
|
||||
|
||||
@@ -64,7 +64,7 @@ spec:
|
||||
value: {{ .Values.replicaSet.name | quote }}
|
||||
{{- if .Values.replicaSet.useHostnames }}
|
||||
- name: MONGODB_ADVERTISED_HOSTNAME
|
||||
value: "$(MONGODB_POD_NAME).{{ template "mongodb.fullname" . }}-headless.{{ .Release.Namespace }}.svc.cluster.local"
|
||||
value: "$(MONGODB_POD_NAME).{{ template "mongodb.fullname" . }}-headless.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}"
|
||||
{{- end }}
|
||||
{{- if .Values.usePassword }}
|
||||
- name: MONGODB_PRIMARY_ROOT_PASSWORD
|
||||
|
||||
@@ -62,7 +62,7 @@ spec:
|
||||
value: {{ .Values.replicaSet.name | quote }}
|
||||
{{- if .Values.replicaSet.useHostnames }}
|
||||
- name: MONGODB_ADVERTISED_HOSTNAME
|
||||
value: "$(MONGODB_POD_NAME).{{ template "mongodb.fullname" . }}-headless.{{ .Release.Namespace }}.svc.cluster.local"
|
||||
value: "$(MONGODB_POD_NAME).{{ template "mongodb.fullname" . }}-headless.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}"
|
||||
{{- end }}
|
||||
- name: MONGODB_USERNAME
|
||||
value: {{ .Values.mongodbUsername | quote }}
|
||||
|
||||
@@ -65,7 +65,7 @@ spec:
|
||||
value: {{ .Values.replicaSet.name | quote }}
|
||||
{{- if .Values.replicaSet.useHostnames }}
|
||||
- name: MONGODB_ADVERTISED_HOSTNAME
|
||||
value: "$(MONGODB_POD_NAME).{{ template "mongodb.fullname" . }}-headless.{{ .Release.Namespace }}.svc.cluster.local"
|
||||
value: "$(MONGODB_POD_NAME).{{ template "mongodb.fullname" . }}-headless.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}"
|
||||
{{- end }}
|
||||
{{- if .Values.usePassword }}
|
||||
- name: MONGODB_PRIMARY_ROOT_PASSWORD
|
||||
|
||||
@@ -60,6 +60,9 @@ securityContext:
|
||||
fsGroup: 1001
|
||||
runAsUser: 1001
|
||||
|
||||
## Kubernetes Cluster Domain
|
||||
clusterDomain: cluster.local
|
||||
|
||||
## Kubernetes service type
|
||||
service:
|
||||
annotations: {}
|
||||
@@ -87,7 +90,7 @@ replicaSet:
|
||||
## Key used for replica set authentication
|
||||
##
|
||||
# key: key
|
||||
|
||||
|
||||
## Number of replicas per each node type
|
||||
##
|
||||
replicas:
|
||||
|
||||
@@ -61,6 +61,9 @@ securityContext:
|
||||
fsGroup: 1001
|
||||
runAsUser: 1001
|
||||
|
||||
## Kubernetes Cluster Domain
|
||||
clusterDomain: cluster.local
|
||||
|
||||
## Kubernetes service type
|
||||
service:
|
||||
annotations: {}
|
||||
|
||||
Reference in New Issue
Block a user