⬆️ sharry app-template v2

This commit is contained in:
auricom
2023-11-03 19:45:54 +01:00
parent 4e110c0712
commit a6038a9837

View File

@@ -10,7 +10,7 @@ spec:
chart:
spec:
chart: app-template
version: 1.5.1
version: 2.0.3
sourceRef:
kind: HelmRepository
name: bjw-s
@@ -27,21 +27,32 @@ spec:
uninstall:
keepHistory: false
values:
initContainers:
01-init-db:
image: ghcr.io/auricom/postgres-init:15.4
imagePullPolicy: IfNotPresent
envFrom: &envFrom
- secretRef:
name: &secret sharry-secret
controller:
annotations:
reloader.stakater.com/auto: "true"
image:
repository: eikek0/sharry
tag: v1.12.1
args:
- "/opt/sharry.conf"
controllers:
main:
annotations:
reloader.stakater.com/auto: "true"
initContainers:
init-db:
image:
repository: ghcr.io/auricom/postgres-init
tag: 15.4@sha256:83e1abf06be5741bdfb8cb53fc03a1ade6e6b5ec7b92a8aac0c69ba5dc7e51f0
pullPolicy: IfNotPresent
envFrom: &envFrom
- secretRef:
name: sharry-secret
containers:
main:
image:
repository: eikek0/sharry
tag: v1.12.1
args:
- "/opt/sharry.conf"
resources:
requests:
cpu: 50m
memory: 250Mi
limits:
memory: 1Gi
service:
main:
ports:
@@ -50,7 +61,7 @@ spec:
ingress:
main:
enabled: true
ingressClassName: "nginx"
className: "nginx"
annotations:
external-dns.home.arpa/enabled: "true"
nginx.ingress.kubernetes.io/proxy-body-size: "0"
@@ -59,20 +70,17 @@ spec:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
service:
name: main
port: http
tls:
- hosts:
- *host
resources:
requests:
cpu: 50m
memory: 250Mi
limits:
memory: 1Gi
persistence:
config:
enabled: true
type: configMap
name: sharry-configmap
mountPath: /opt/sharry.conf
subPath: sharry.conf
globalMounts:
- path: /opt/sharry.conf
subPath: sharry.conf