mirror of
https://github.com/jumpserver/helm-charts.git
synced 2025-08-21 08:23:49 +00:00
perf: 优化变量定义
This commit is contained in:
parent
c307019bb9
commit
c27ff14efc
@ -83,7 +83,7 @@ spec:
|
||||
- /bin/bash
|
||||
- /opt/jumpserver/utils/check_celery.sh
|
||||
resources:
|
||||
{{- toYaml .resources | nindent 12 }}
|
||||
{{- toYaml .resources | nindent 12 }}
|
||||
volumeMounts:
|
||||
- mountPath: "/opt/jumpserver/config.yml"
|
||||
name: "jms-core-config"
|
||||
|
@ -50,7 +50,7 @@ spec:
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: CORE_HOST
|
||||
value: http://{{include "jumpserver.fullname" $}}-jms-core:{{$.Values.core.service.web.port}}
|
||||
value: "http://{{include "jumpserver.fullname" $}}-jms-core:{{$.Values.core.service.web.port}}"
|
||||
- name: BOOTSTRAP_TOKEN
|
||||
value: "{{ $.Values.core.config.bootstrapToken }}"
|
||||
- name: LOG_LEVEL
|
||||
|
@ -47,7 +47,7 @@ spec:
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: CORE_HOST
|
||||
value: http://{{ include "jumpserver.fullname" $}}-jms-core:{{$.Values.core.service.web.port}}
|
||||
value: "http://{{ include "jumpserver.fullname" $}}-jms-core:{{$.Values.core.service.web.port}}"
|
||||
- name: BOOTSTRAP_TOKEN
|
||||
value: "{{ $.Values.core.config.bootstrapToken }}"
|
||||
- name: LOG_LEVEL
|
||||
|
@ -43,7 +43,7 @@ spec:
|
||||
{{- end }}
|
||||
env:
|
||||
- name: CORE_HOST
|
||||
value: http://{{include "jumpserver.fullname" $}}-jms-core:{{$.Values.core.service.web.port}}
|
||||
value: "http://{{include "jumpserver.fullname" $}}-jms-core:{{$.Values.core.service.web.port}}"
|
||||
- name: BOOTSTRAP_TOKEN
|
||||
value: "{{ $.Values.core.config.bootstrapToken }}"
|
||||
- name: LOG_LEVEL
|
||||
|
@ -43,7 +43,7 @@ spec:
|
||||
{{- end }}
|
||||
env:
|
||||
- name: CORE_HOST
|
||||
value: http://{{include "jumpserver.fullname" $}}-jms-core:{{$.Values.core.service.web.port}}
|
||||
value: "http://{{include "jumpserver.fullname" $}}-jms-core:{{$.Values.core.service.web.port}}"
|
||||
- name: BOOTSTRAP_TOKEN
|
||||
value: "{{ $.Values.core.config.bootstrapToken }}"
|
||||
- name: LOG_LEVEL
|
||||
|
Loading…
Reference in New Issue
Block a user