theshire/kubernetes/apps/default/linkwarden/app/helmrelease.yaml
2024-09-21 15:53:49 -05:00

64 lines
1.6 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: linkwarden
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
strategy: rollback
values:
controllers:
linkwarden:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/linkwarden/linkwarden
tag: v2.7.1@sha256:bbd22798ee726184d4571ea4f4d831d57475c86c4965c2bb1c3c2d3de88c728a
env:
TIMEZONE: "America/Chicago"
NEXTAUTH_URL: "https://{{ .Release.Name }}.jahanson.tech/api/v1/auth"
STORAGE_FOLDER: "/config"
envFrom:
- secretRef:
name: linkwarden-secret
service:
app:
controller: linkwarden
ports:
http:
port: 3000
ingress:
app:
enabled: true
className: internal-nginx
hosts:
- host: &host "{{ .Release.Name }}.jahanson.tech"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host
persistence:
config:
existingClaim: linkwarden