PVC is not created existingClaim it exists.

This commit is contained in:
Jangrui 2023-02-24 12:07:00 +08:00
parent 06fd24b836
commit 6f07b7a2ae
7 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
{{- if .Values.core.enabled }} {{- if and .Values.core.enabled (not .Values.core.persistence.existingClaim)}}
{{- with .Values.core }} {{- with .Values.core }}
{{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-core-data" }} {{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-core-data" }}
apiVersion: v1 apiVersion: v1

View File

@ -1,4 +1,4 @@
{{- if .Values.koko.enabled }} {{- if and .Values.koko.enabled (not .Values.koko.persistence.existingClaim)}}
{{- with .Values.koko }} {{- with .Values.koko }}
{{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-koko-data" }} {{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-koko-data" }}
apiVersion: v1 apiVersion: v1

View File

@ -1,4 +1,4 @@
{{- if .Values.lion.enabled }} {{- if and .Values.lion.enabled (not .Values.lion.persistence.existingClaim)}}
{{- with .Values.lion }} {{- with .Values.lion }}
{{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-lion-data" }} {{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-lion-data" }}
apiVersion: v1 apiVersion: v1

View File

@ -1,4 +1,4 @@
{{- if .Values.magnus.enabled }} {{- if and .Values.magnus.enabled (not .Values.magnus.persistence.existingClaim)}}
{{- with .Values.magnus }} {{- with .Values.magnus }}
{{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-magnus-data" }} {{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-magnus-data" }}
apiVersion: v1 apiVersion: v1

View File

@ -1,4 +1,4 @@
{{- if .Values.xpack.enabled }} {{- if and .Values.xpack.enabled (not .Values.omnidb.persistence.existingClaim)}}
{{- with .Values.omnidb }} {{- with .Values.omnidb }}
{{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-omnidb-data" }} {{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-omnidb-data" }}
apiVersion: v1 apiVersion: v1

View File

@ -1,4 +1,4 @@
{{- if .Values.xpack.enabled }} {{- if and .Values.xpack.enabled (not .Values.razor.persistence.existingClaim)}}
{{- with .Values.razor }} {{- with .Values.razor }}
{{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-razor-data" }} {{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-razor-data" }}
apiVersion: v1 apiVersion: v1

View File

@ -1,4 +1,4 @@
{{- if .Values.web.enabled }} {{- if and .Values.web.enabled (not .Values.web.persistence.existingClaim)}}
{{- with .Values.web }} {{- with .Values.web }}
{{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-web-logs" }} {{- $fullName := printf "%s-%s" (include "jumpserver.fullname" $) "jms-web-logs" }}
apiVersion: v1 apiVersion: v1