mirror of
https://github.com/jumpserver/helm-charts.git
synced 2025-08-31 22:50:59 +00:00
fix: 修正错误
This commit is contained in:
@@ -23,6 +23,10 @@ spec:
|
|||||||
app.kubernetes.io/instance: {{ $.Release.Name }}
|
app.kubernetes.io/instance: {{ $.Release.Name }}
|
||||||
{{- toYaml .labels | nindent 8 }}
|
{{- toYaml .labels | nindent 8 }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- if $.Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{ toYaml $.Values.global.imagePullSecrets }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ template "jumpserver.serviceAccountName" $ }}
|
serviceAccountName: {{ template "jumpserver.serviceAccountName" $ }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .podSecurityContext | nindent 8 }}
|
{{- toYaml .podSecurityContext | nindent 8 }}
|
||||||
|
@@ -11,10 +11,6 @@ metadata:
|
|||||||
{{- include "jumpserver.labels" $ | nindent 4 }}
|
{{- include "jumpserver.labels" $ | nindent 4 }}
|
||||||
{{- toYaml .labels | nindent 4 }}
|
{{- toYaml .labels | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
{{- if $.Values.global.imagePullSecrets }}
|
|
||||||
imagePullSecrets:
|
|
||||||
{{ toYaml $.Values.global.imagePullSecrets }}
|
|
||||||
{{- end }}
|
|
||||||
replicas: {{ .replicaCount }}
|
replicas: {{ .replicaCount }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
@@ -28,6 +24,10 @@ spec:
|
|||||||
app.kubernetes.io/instance: {{ $.Release.Name }}
|
app.kubernetes.io/instance: {{ $.Release.Name }}
|
||||||
{{- toYaml .labels | nindent 8 }}
|
{{- toYaml .labels | nindent 8 }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- if $.Values.global.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{ toYaml $.Values.global.imagePullSecrets }}
|
||||||
|
{{- end }}
|
||||||
serviceAccountName: {{ template "jumpserver.serviceAccountName" $ }}
|
serviceAccountName: {{ template "jumpserver.serviceAccountName" $ }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .podSecurityContext | nindent 8 }}
|
{{- toYaml .podSecurityContext | nindent 8 }}
|
||||||
|
Reference in New Issue
Block a user