using deployment

This commit is contained in:
Ariel Sosnovsky committed 2024-01-02 15:48:09 -05:00
1 parent df035aebbf
commit 36cbbca8f3
2 files changed
+7 -1

No files matched your search

@@ -39,9 +39,10 @@ spec:
{{ end }}
{{- end }}
{{ end }}
{{- $kind := $v.kind | default "StatefulSet" -}}
---
apiVersion: apps/v1
kind: StatefulSet
kind: {{ $kind }}
metadata:
name: {{$k}}
spec:
@@ -54,6 +55,7 @@ spec:
rollingUpdate:
partition: 0
type: RollingUpdate
{{ if (eq $kind "StatefulSet")}}
volumeClaimTemplates:
- metadata:
finalizers:
@@ -65,6 +67,7 @@ spec:
- ReadWriteOnce
resources:
{{- $v.configVolumesResources | toYaml | nindent 10 }}
{{ end }}
template:
metadata:
labels:
@@ -105,8 +108,10 @@ spec:
{{ end }}
{{ end }}
volumeMounts:
{{ if (eq $kind "StatefulSet")}}
- name: config
mountPath: /config
{{ end }}
- name: torrents
mountPath: /torrents
{{- if $v.health }}
+1
View File
@@ -140,6 +140,7 @@ arrs:
services:
jellyplex:
kind: Deployment
disableSVC: true
repo: "luigi311/jellyplex-watched"
tag: "latest"