pull/71/merge
Fabian Peter 2021-08-12 09:25:57 +02:00 committed by GitHub
commit 6318657c38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 3 deletions

View File

@ -37,9 +37,15 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.edgeNodePort))) }}
args: [ '--tunnel-port','{{ .Values.service.edgeNodePort }}' ]
{{- end }}
args:
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.edgeNodePort))) }}
- '--tunnel-port'
- '{{ .Values.service.edgeNodePort }}'
{{- end }}
{{- if (not (empty .Values.admin.password)) }}
- '--admin-password'
- '{{ .Values.admin.password }}'
{{- end }}
volumeMounts:
- name: data
mountPath: /data

View File

@ -4,6 +4,10 @@
replicaCount: 1
admin:
user: admin
password:
# If enterpriseEdition is enabled, then use the values below _instead_ of those in .image
enterpriseEdition:
enabled: false