From 1d7ca0a7b41386724e24e705ad418091362b875c Mon Sep 17 00:00:00 2001 From: celebrateyang Date: Mon, 14 Oct 2024 14:33:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=82=E8=BD=BDpvc-fix3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cobalt-chart/templates/deployment.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cobalt-chart/templates/deployment.yaml b/cobalt-chart/templates/deployment.yaml index b1a5f28e..a0ebf1f1 100644 --- a/cobalt-chart/templates/deployment.yaml +++ b/cobalt-chart/templates/deployment.yaml @@ -39,10 +39,10 @@ spec: - name: http containerPort: {{ .Values.service.port }} protocol: TCP - volumeMounts: - - mountPath: /app/src/cookies.json - name: cookies-volume - subPath: cookies.json +{{/* volumeMounts:*/}} +{{/* - mountPath: /app/src/cookies.json*/}} +{{/* name: cookies-volume*/}} +{{/* subPath: cookies.json*/}} env: - name: API_URL value: https://api.freesavevideo.online/ @@ -54,10 +54,10 @@ spec: value: 0x4AAAAAAAw8jRb9G7cWXnbd resources: {{- toYaml .Values.resources | nindent 12 }} - volumes: - - name: cookies-volume - persistentVolumeClaim: - claimName: {{ .Release.Name }}-pvc +{{/* volumes:*/}} +{{/* - name: cookies-volume*/}} +{{/* persistentVolumeClaim:*/}} +{{/* claimName: {{ .Release.Name }}-pvc*/}} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}