Merge pull request #78 from wojiushixiaobai/main

feat: 更新 v2.22.2
This commit is contained in:
吴小白 2022-06-08 15:56:16 +08:00 committed by GitHub
commit 1d78dbc785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 93 additions and 12 deletions

View File

@ -1,5 +1,5 @@
apiVersion: v1 apiVersion: v1
appVersion: "v2.22.1" appVersion: "v2.22.2"
description: A Helm chart for Deploying Jumpserver on Kubernetes description: A Helm chart for Deploying Jumpserver on Kubernetes
engine: gotpl engine: gotpl
home: https://jumpserver.org home: https://jumpserver.org
@ -10,4 +10,4 @@ maintainers:
sources: sources:
- https://github.com/jumpserver/ - https://github.com/jumpserver/
name: jumpserver name: jumpserver
version: 2.22.1 version: 2.22.2

View File

@ -30,7 +30,7 @@ helm repo add jumpserver https://jumpserver.github.io/helm-charts
| `nameOveride` | name override | `nil` | | `nameOveride` | name override | `nil` |
| `fullNameOveride` | full name override | `nil` | | `fullNameOveride` | full name override | `nil` |
| `global.imageRegistry` | 仓库地址 | `docker.io` | | `global.imageRegistry` | 仓库地址 | `docker.io` |
| `global.imageTag` | 版本号 | `v2.22.1 ` | | `global.imageTag` | 版本号 | `v2.22.2 ` |
| `global.imagePullSecrets` | 私有仓库认证凭据 | `nil` | | `global.imagePullSecrets` | 私有仓库认证凭据 | `nil` |
| `global.storageClass` | 存储 sc | `nil` | | `global.storageClass` | 存储 sc | `nil` |
| `ingress.enabled` | 开启 ingress | `true` | | `ingress.enabled` | 开启 ingress | `true` |

View File

@ -89,8 +89,14 @@ spec:
subPath: "config.yml" subPath: "config.yml"
- mountPath: "/opt/jumpserver/data" - mountPath: "/opt/jumpserver/data"
name: "jms-core-data" name: "jms-core-data"
{{- if .persistence.subPath }}
subPath: {{ .persistence.subPath | quote }}
{{- end }}
- mountPath: "/opt/jumpserver/logs" - mountPath: "/opt/jumpserver/logs"
name: "jms-core-logs" name: "jms-core-logs"
{{- if .persistence.subPath }}
subPath: {{ .persistence.subPath | quote }}
{{- end }}
{{- with .volumeMounts }} {{- with .volumeMounts }}
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
@ -100,7 +106,11 @@ spec:
name: '{{ include "jumpserver.fullname" $ }}-jms-core' name: '{{ include "jumpserver.fullname" $ }}-jms-core'
name: "jms-core-config" name: "jms-core-config"
- persistentVolumeClaim: - persistentVolumeClaim:
{{- if .persistence.existingClaim }}
claimName: {{ .persistence.existingClaim | quote }}
{{- else }}
claimName: '{{ include "jumpserver.fullname" $ }}-jms-core-data' claimName: '{{ include "jumpserver.fullname" $ }}-jms-core-data'
{{- end }}
name: "jms-core-data" name: "jms-core-data"
- persistentVolumeClaim: - persistentVolumeClaim:
claimName: '{{ include "jumpserver.fullname" $ }}-jms-core-logs' claimName: '{{ include "jumpserver.fullname" $ }}-jms-core-logs'

View File

@ -96,8 +96,14 @@ spec:
subPath: "config.yml" subPath: "config.yml"
- mountPath: "/opt/jumpserver/data" - mountPath: "/opt/jumpserver/data"
name: "jms-core-data" name: "jms-core-data"
{{- if .persistence.subPath }}
subPath: {{ .persistence.subPath | quote }}
{{- end }}
- mountPath: "/opt/jumpserver/logs" - mountPath: "/opt/jumpserver/logs"
name: "jms-core-logs" name: "jms-core-logs"
{{- if .persistence.subPath }}
subPath: {{ .persistence.subPath | quote }}
{{- end }}
{{- with .volumeMounts }} {{- with .volumeMounts }}
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
@ -107,7 +113,11 @@ spec:
name: '{{ include "jumpserver.fullname" $ }}-jms-core' name: '{{ include "jumpserver.fullname" $ }}-jms-core'
name: "jms-core-config" name: "jms-core-config"
- persistentVolumeClaim: - persistentVolumeClaim:
{{- if .persistence.existingClaim }}
claimName: {{ .persistence.existingClaim | quote }}
{{- else }}
claimName: '{{ include "jumpserver.fullname" $ }}-jms-core-data' claimName: '{{ include "jumpserver.fullname" $ }}-jms-core-data'
{{- end }}
name: "jms-core-data" name: "jms-core-data"
- persistentVolumeClaim: - persistentVolumeClaim:
claimName: '{{ include "jumpserver.fullname" $ }}-jms-core-logs' claimName: '{{ include "jumpserver.fullname" $ }}-jms-core-logs'

View File

@ -82,13 +82,20 @@ spec:
volumeMounts: volumeMounts:
- mountPath: "/opt/koko/data" - mountPath: "/opt/koko/data"
name: "jms-koko-data" name: "jms-koko-data"
{{- if .persistence.subPath }}
subPath: {{ .persistence.subPath | quote }}
{{- end }}
{{- with .volumeMounts }} {{- with .volumeMounts }}
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
restartPolicy: Always restartPolicy: Always
volumes: volumes:
- persistentVolumeClaim: - persistentVolumeClaim:
{{- if .persistence.existingClaim }}
claimName: {{ .persistence.existingClaim | quote }}
{{- else }}
claimName: '{{ include "jumpserver.fullname" $ }}-jms-koko-data' claimName: '{{ include "jumpserver.fullname" $ }}-jms-koko-data'
{{- end }}
name: "jms-koko-data" name: "jms-koko-data"
{{- with .volumes }} {{- with .volumes }}
{{- tpl (toYaml .) $ | nindent 8 }} {{- tpl (toYaml .) $ | nindent 8 }}

View File

@ -75,13 +75,20 @@ spec:
volumeMounts: volumeMounts:
- mountPath: "/opt/lion/data" - mountPath: "/opt/lion/data"
name: "jms-lion-data" name: "jms-lion-data"
{{- if .persistence.subPath }}
subPath: {{ .persistence.subPath | quote }}
{{- end }}
{{- with .volumeMounts }} {{- with .volumeMounts }}
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
restartPolicy: Always restartPolicy: Always
volumes: volumes:
- persistentVolumeClaim: - persistentVolumeClaim:
{{- if .persistence.existingClaim }}
claimName: {{ .persistence.existingClaim | quote }}
{{- else }}
claimName: '{{ include "jumpserver.fullname" $ }}-jms-lion-data' claimName: '{{ include "jumpserver.fullname" $ }}-jms-lion-data'
{{- end }}
name: "jms-lion-data" name: "jms-lion-data"
{{- with .volumes }} {{- with .volumes }}
{{- tpl (toYaml .) $ | nindent 8 }} {{- tpl (toYaml .) $ | nindent 8 }}

View File

@ -73,13 +73,20 @@ spec:
volumeMounts: volumeMounts:
- mountPath: "/opt/magnus/data" - mountPath: "/opt/magnus/data"
name: "jms-magnus-data" name: "jms-magnus-data"
{{- if .persistence.subPath }}
subPath: {{ .persistence.subPath | quote }}
{{- end }}
{{- with .volumeMounts }} {{- with .volumeMounts }}
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
restartPolicy: Always restartPolicy: Always
volumes: volumes:
- persistentVolumeClaim: - persistentVolumeClaim:
{{- if .persistence.existingClaim }}
claimName: {{ .persistence.existingClaim | quote }}
{{- else }}
claimName: '{{ include "jumpserver.fullname" $ }}-jms-magnus-data' claimName: '{{ include "jumpserver.fullname" $ }}-jms-magnus-data'
{{- end }}
name: "jms-magnus-data" name: "jms-magnus-data"
{{- with .volumes }} {{- with .volumes }}
{{- tpl (toYaml .) $ | nindent 8 }} {{- tpl (toYaml .) $ | nindent 8 }}

View File

@ -67,13 +67,20 @@ spec:
volumeMounts: volumeMounts:
- mountPath: "/opt/omnidb/data" - mountPath: "/opt/omnidb/data"
name: "jms-omnidb-data" name: "jms-omnidb-data"
{{- if .persistence.subPath }}
subPath: {{ .persistence.subPath | quote }}
{{- end }}
{{- with .volumeMounts }} {{- with .volumeMounts }}
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
restartPolicy: Always restartPolicy: Always
volumes: volumes:
- persistentVolumeClaim: - persistentVolumeClaim:
{{- if .persistence.existingClaim }}
claimName: {{ .persistence.existingClaim | quote }}
{{- else }}
claimName: '{{ include "jumpserver.fullname" $ }}-jms-omnidb-data' claimName: '{{ include "jumpserver.fullname" $ }}-jms-omnidb-data'
{{- end }}
name: "jms-omnidb-data" name: "jms-omnidb-data"
{{- with .volumes }} {{- with .volumes }}
{{- tpl (toYaml .) $ | nindent 8 }} {{- tpl (toYaml .) $ | nindent 8 }}

View File

@ -62,8 +62,14 @@ spec:
subPath: "default.conf" subPath: "default.conf"
- mountPath: "/opt/jumpserver/data" - mountPath: "/opt/jumpserver/data"
name: "jms-core-data" name: "jms-core-data"
{{- if $.Values.core.persistence.subPath }}
subPath: {{ $.Values.core.persistence.subPath | quote }}
{{- end }}
- mountPath: "/var/log/nginx" - mountPath: "/var/log/nginx"
name: "jms-web-logs" name: "jms-web-logs"
{{- if .persistence.subPath }}
subPath: {{ .persistence.subPath | quote }}
{{- end }}
{{- with .volumeMounts }} {{- with .volumeMounts }}
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
@ -73,10 +79,18 @@ spec:
name: '{{ include "jumpserver.fullname" $ }}-jms-web' name: '{{ include "jumpserver.fullname" $ }}-jms-web'
name: "jms-web-config" name: "jms-web-config"
- persistentVolumeClaim: - persistentVolumeClaim:
{{- if $.Values.core.persistence.existingClaim }}
claimName: {{ $.Values.core.persistence.existingClaim | quote }}
{{- else }}
claimName: '{{ include "jumpserver.fullname" $ }}-jms-core-data' claimName: '{{ include "jumpserver.fullname" $ }}-jms-core-data'
{{- end }}
name: "jms-core-data" name: "jms-core-data"
- persistentVolumeClaim: - persistentVolumeClaim:
{{- if .persistence.existingClaim }}
claimName: {{ .persistence.existingClaim | quote }}
{{- else }}
claimName: '{{ include "jumpserver.fullname" $ }}-jms-web-logs' claimName: '{{ include "jumpserver.fullname" $ }}-jms-web-logs'
{{- end }}
name: "jms-web-logs" name: "jms-web-logs"
{{- with .volumes }} {{- with .volumes }}
{{- tpl (toYaml .) $ | nindent 8 }} {{- tpl (toYaml .) $ | nindent 8 }}

View File

@ -67,13 +67,20 @@ spec:
volumeMounts: volumeMounts:
- mountPath: "/opt/xrdp/data" - mountPath: "/opt/xrdp/data"
name: "jms-xrdp-data" name: "jms-xrdp-data"
{{- if .persistence.subPath }}
subPath: {{ .persistence.subPath | quote }}
{{- end }}
{{- with .volumeMounts }} {{- with .volumeMounts }}
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
restartPolicy: Always restartPolicy: Always
volumes: volumes:
- persistentVolumeClaim: - persistentVolumeClaim:
{{- if .persistence.existingClaim }}
claimName: {{ .persistence.existingClaim | quote }}
{{- else }}
claimName: '{{ include "jumpserver.fullname" $ }}-jms-xrdp-data' claimName: '{{ include "jumpserver.fullname" $ }}-jms-xrdp-data'
{{- end }}
name: "jms-xrdp-data" name: "jms-xrdp-data"
{{- with .volumes }} {{- with .volumes }}
{{- tpl (toYaml .) $ | nindent 8 }} {{- tpl (toYaml .) $ | nindent 8 }}

View File

@ -12,7 +12,7 @@ fullnameOverride: ""
## ##
global: global:
imageRegistry: "docker.io" imageRegistry: "docker.io"
imageTag: v2.22.1 imageTag: v2.22.2
## E.g. ## E.g.
# imagePullSecrets: # imagePullSecrets:
# - myRegistryKeySecretName # - myRegistryKeySecretName
@ -85,7 +85,7 @@ core:
image: image:
registry: docker.io registry: docker.io
repository: jumpserver/core repository: jumpserver/core
tag: v2.22.1 tag: v2.22.2
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
command: [] command: []
@ -147,7 +147,7 @@ core:
finalizers: finalizers:
- kubernetes.io/pvc-protection - kubernetes.io/pvc-protection
# subPath: "" # subPath: ""
# existingClaim: # existingClaim: ""
volumeMounts: [] volumeMounts: []
@ -174,7 +174,7 @@ koko:
image: image:
registry: docker.io registry: docker.io
repository: jumpserver/koko repository: jumpserver/koko
tag: v2.22.1 tag: v2.22.2
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
command: [] command: []
@ -237,6 +237,8 @@ koko:
# annotations: {} # annotations: {}
finalizers: finalizers:
- kubernetes.io/pvc-protection - kubernetes.io/pvc-protection
# subPath: ""
# existingClaim: ""
volumeMounts: [] volumeMounts: []
@ -263,7 +265,7 @@ lion:
image: image:
registry: docker.io registry: docker.io
repository: jumpserver/lion repository: jumpserver/lion
tag: v2.22.1 tag: v2.22.2
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
command: [] command: []
@ -326,6 +328,8 @@ lion:
# annotations: {} # annotations: {}
finalizers: finalizers:
- kubernetes.io/pvc-protection - kubernetes.io/pvc-protection
# subPath: ""
# existingClaim: ""
volumeMounts: [] volumeMounts: []
@ -352,7 +356,7 @@ magnus:
image: image:
registry: docker.io registry: docker.io
repository: jumpserver/magnus repository: jumpserver/magnus
tag: v2.22.1 tag: v2.22.2
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
command: [] command: []
@ -409,6 +413,8 @@ magnus:
# annotations: {} # annotations: {}
finalizers: finalizers:
- kubernetes.io/pvc-protection - kubernetes.io/pvc-protection
# subPath: ""
# existingClaim: ""
volumeMounts: [] volumeMounts: []
@ -436,7 +442,7 @@ omnidb:
image: image:
registry: registry.fit2cloud.com registry: registry.fit2cloud.com
repository: jumpserver/omnidb repository: jumpserver/omnidb
tag: v2.22.1 tag: v2.22.2
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
command: [] command: []
@ -489,6 +495,8 @@ omnidb:
# annotations: {} # annotations: {}
finalizers: finalizers:
- kubernetes.io/pvc-protection - kubernetes.io/pvc-protection
# subPath: ""
# existingClaim: ""
volumeMounts: [] volumeMounts: []
@ -513,7 +521,7 @@ xrdp:
image: image:
registry: registry.fit2cloud.com registry: registry.fit2cloud.com
repository: jumpserver/xrdp repository: jumpserver/xrdp
tag: v2.22.1 tag: v2.22.2
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
command: [] command: []
@ -575,6 +583,8 @@ xrdp:
# annotations: {} # annotations: {}
finalizers: finalizers:
- kubernetes.io/pvc-protection - kubernetes.io/pvc-protection
# subPath: ""
# existingClaim: ""
volumeMounts: [] volumeMounts: []
@ -597,7 +607,7 @@ web:
image: image:
registry: docker.io registry: docker.io
repository: jumpserver/web repository: jumpserver/web
tag: v2.22.1 tag: v2.22.2
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
command: [] command: []
@ -654,6 +664,8 @@ web:
# annotations: {} # annotations: {}
finalizers: finalizers:
- kubernetes.io/pvc-protection - kubernetes.io/pvc-protection
# subPath: ""
# existingClaim: ""
volumeMounts: [] volumeMounts: []