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