feat(helm): Добавлен secrets-example.yaml
feat(helm): Исправлены имена ресурсов PVC fix(helm): Обновлен репозиторий image в values.yaml
This commit is contained in:
parent
cd4967fd40
commit
e7433a27bb
@ -2,7 +2,7 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: {{ .Chart.Name }}-uploads-pv
|
||||
name: {{ .Release.Name }}-uploads-pv
|
||||
spec:
|
||||
capacity:
|
||||
storage: {{ .Values.persistence.uploads.size }}
|
||||
@ -17,7 +17,7 @@ spec:
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: {{ .Chart.Name }}-uploads-pvc
|
||||
name: {{ .Release.Name }}-uploads-pvc
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
@ -25,5 +25,5 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .Values.persistence.uploads.size }}
|
||||
volumeName: {{ .Chart.Name }}-uploads-pv
|
||||
volumeName: {{ .Release.Name }}-uploads-pv
|
||||
{{- end }}
|
||||
8
api/k8s/helm/visus-api/templates/secrets-example.yaml
Normal file
8
api/k8s/helm/visus-api/templates/secrets-example.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: visus-api-secret
|
||||
type: Opaque
|
||||
data:
|
||||
SECRET_KEY:
|
||||
DATABASE_URL:
|
||||
@ -1,7 +1,7 @@
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: andreiduvakin/visus-api:latest
|
||||
repository: andreiduvakin/visus-api
|
||||
tag: latest
|
||||
pullPolicy: Always
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user