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