⬆️ linkding app-template v2

This commit is contained in:
auricom
2023-10-29 15:28:43 +01:00
parent c3c0eca54d
commit 76b4c2eed5

View File

@@ -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,40 +27,26 @@ spec:
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
controller: controllers:
main:
strategy: RollingUpdate strategy: RollingUpdate
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
initContainers: initContainers:
01-init-db: init-db:
image: ghcr.io/auricom/postgres-init:15.4 image:
imagePullPolicy: IfNotPresent repository: ghcr.io/auricom/postgres-init
tag: 15.4@sha256:83e1abf06be5741bdfb8cb53fc03a1ade6e6b5ec7b92a8aac0c69ba5dc7e51f0
pullPolicy: IfNotPresent
envFrom: &envFrom envFrom: &envFrom
- secretRef: - secretRef:
name: linkding-secret name: linkding-secret
containers:
main:
image: image:
repository: sissbruecker/linkding repository: sissbruecker/linkding
tag: 1.22.2 tag: 1.22.2
envFrom: *envFrom envFrom: *envFrom
service:
main:
ports:
http:
port: &port 9090
ingress:
main:
enabled: true
ingressClassName: "nginx"
annotations:
hajimari.io/icon: link
hosts:
- host: &host "links.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
probes: probes:
liveness: &probes liveness: &probes
enabled: true enabled: true
@@ -68,7 +54,7 @@ spec:
spec: spec:
httpGet: httpGet:
path: /health path: /health
port: *port port: &port 9090
initialDelaySeconds: 0 initialDelaySeconds: 0
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 1 timeoutSeconds: 1
@@ -80,3 +66,25 @@ spec:
requests: requests:
cpu: 10m cpu: 10m
memory: 256Mi memory: 256Mi
service:
main:
ports:
http:
port: *port
ingress:
main:
enabled: true
className: "nginx"
annotations:
hajimari.io/icon: link
hosts:
- host: &host "links.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
service:
name: main
port: http
tls:
- hosts:
- *host