first commit
This commit is contained in:
40
clusters/default/apps/jellyseerr/templates/jellyseerr.yaml
Normal file
40
clusters/default/apps/jellyseerr/templates/jellyseerr.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ .Values.name }}
|
||||
namespace: {{ .Values.namespace }}
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ .Values.name }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ .Values.name }}
|
||||
spec:
|
||||
containers:
|
||||
- name: {{ .Values.name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
env:
|
||||
- name: LOG_LEVEL
|
||||
value: "{{ .Values.env.LOG_LEVEL }}"
|
||||
- name: TZ
|
||||
value: "{{ .Values.env.timezone }}"
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /app/config
|
||||
volumes:
|
||||
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: "{{ .Values.persistence.claimName }}"
|
||||
{{- else if .Values.persistence.enabled }}
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: "longhorn-{{ .Values.name }}"
|
||||
{{- else }}
|
||||
- name: config
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user