mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-29 09:58:27 +00:00
挂载pvc-fix3
This commit is contained in:
parent
4774c2bb9a
commit
1d7ca0a7b4
@ -39,10 +39,10 @@ spec:
|
|||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.service.port }}
|
containerPort: {{ .Values.service.port }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
{{/* volumeMounts:*/}}
|
||||||
- mountPath: /app/src/cookies.json
|
{{/* - mountPath: /app/src/cookies.json*/}}
|
||||||
name: cookies-volume
|
{{/* name: cookies-volume*/}}
|
||||||
subPath: cookies.json
|
{{/* subPath: cookies.json*/}}
|
||||||
env:
|
env:
|
||||||
- name: API_URL
|
- name: API_URL
|
||||||
value: https://api.freesavevideo.online/
|
value: https://api.freesavevideo.online/
|
||||||
@ -54,10 +54,10 @@ spec:
|
|||||||
value: 0x4AAAAAAAw8jRb9G7cWXnbd
|
value: 0x4AAAAAAAw8jRb9G7cWXnbd
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
volumes:
|
{{/* volumes:*/}}
|
||||||
- name: cookies-volume
|
{{/* - name: cookies-volume*/}}
|
||||||
persistentVolumeClaim:
|
{{/* persistentVolumeClaim:*/}}
|
||||||
claimName: {{ .Release.Name }}-pvc
|
{{/* claimName: {{ .Release.Name }}-pvc*/}}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user