mirror of
https://github.com/jumpserver/helm-charts.git
synced 2025-08-23 09:10:25 +00:00
commit
80d8ae9426
@ -47,6 +47,20 @@ Return the proper JumpServer lion image name
|
||||
{{- include "common.images.image" ( dict "imageRoot" .Values.lion.image "global" .Values.global ) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the proper JumpServer xrdp image name
|
||||
*/}}
|
||||
{{- define "jumpserver.xrdpImage" -}}
|
||||
{{- include "common.images.image" ( dict "imageRoot" .Values.xrdp.image "global" .Values.global ) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the proper JumpServer omnidb image name
|
||||
*/}}
|
||||
{{- define "jumpserver.omnidbImage" -}}
|
||||
{{- include "common.images.image" ( dict "imageRoot" .Values.omnidb.image "global" .Values.global ) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the proper Docker Image Registry Secret Names (deprecated: use common.images.renderPullSecrets instead)
|
||||
{{ include "common.images.pullSecrets" ( dict "images" (list .Values.path.to.the.image1, .Values.path.to.the.image2) "global" .Values.global) }}
|
||||
|
@ -2,7 +2,7 @@
|
||||
{{- with .Values.omnidb }}
|
||||
{{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-omnidb" }}
|
||||
{{- $containerName := "jms-omnidb" }}
|
||||
{{- $image := printf "%s" (include "jumpserver.omnidbImage" $) }}
|
||||
{{- $image := printf "%s:%s:%s" .image.registry .image.repository .image.tag }}
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
@ -2,7 +2,7 @@
|
||||
{{- with .Values.xrdp }}
|
||||
{{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-xrdp" }}
|
||||
{{- $containerName := "jms-xrdp" }}
|
||||
{{- $image := printf "%s" (include "jumpserver.xrdpImage" $) }}
|
||||
{{- $image := printf "%s:%s:%s" .image.registry .image.repository .image.tag }}
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
Loading…
Reference in New Issue
Block a user