fix: remove resources from deployment templates to fix K8s schema validation

This commit is contained in:
ZhenYi 2026-04-15 10:56:22 +08:00
parent 53c63dad19
commit 33c5501fc9
6 changed files with 0 additions and 14 deletions

View File

@ -103,8 +103,6 @@ spec:
periodSeconds: {{ .Values.app.startupProbe.periodSeconds }}
failureThreshold: {{ .Values.app.startupProbe.failureThreshold }}
{{- end }}
resources:
{{- toYaml .Values.app.resources | nindent 10 }}
{{- if .Values.storage.enabled }}
volumeMounts:
- name: shared-data

View File

@ -41,8 +41,6 @@ spec:
- name: {{ .name }}
value: {{ .value | quote }}
{{- end }}
resources:
{{- toYaml .Values.emailWorker.resources | nindent 10 }}
{{- if .Values.emailWorker.livenessProbe }}
livenessProbe:
exec:

View File

@ -33,8 +33,6 @@ spec:
- name: http
containerPort: 80
protocol: TCP
resources:
{{- toYaml $svc.resources | nindent 10 }}
livenessProbe:
httpGet:
path: /

View File

@ -53,8 +53,6 @@ spec:
- name: {{ .name }}
value: {{ .value | quote }}
{{- end }}
resources:
{{- toYaml .Values.gitHook.resources | nindent 10 }}
{{- if .Values.gitHook.livenessProbe }}
livenessProbe:
exec:

View File

@ -69,8 +69,6 @@ spec:
- name: {{ .name }}
value: {{ .value | quote }}
{{- end }}
resources:
{{- toYaml $svc.resources | nindent 10 }}
{{- if $svc.livenessProbe }}
livenessProbe:
tcpSocket:

View File

@ -49,10 +49,6 @@ spec:
- name: {{ .name }}
value: {{ .value | quote }}
{{- end }}
{{- if $svc.resources }}
resources:
{{- toYaml $svc.resources | nindent 10 }}
{{- end }}
{{- if $svc.livenessProbe }}
livenessProbe:
httpGet: