--- # yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: &app invidious-server namespace: default spec: interval: 30m chart: spec: chart: app-template version: 1.5.1 sourceRef: kind: HelmRepository name: bjw-s namespace: flux-system maxHistory: 2 install: createNamespace: true remediation: retries: 3 upgrade: cleanupOnFail: true remediation: retries: 3 uninstall: keepHistory: false values: controller: annotations: reloader.stakater.com/auto: "true" initContainers: 01-init-db: image: ghcr.io/auricom/postgres-init:15.4 imagePullPolicy: IfNotPresent envFrom: &envFrom - secretRef: name: &secret invidious-secret image: repository: quay.io/invidious/invidious tag: latest@sha256:9a9c97a85ee8aaee2447898bdb2151482fd372e62a63348eb8dbb62216a8b5bd envFrom: *envFrom service: main: ports: http: port: 3000 ingress: main: enabled: true ingressClassName: "nginx" annotations: auth.home.arpa/enabled: "true" external-dns.home.arpa/enabled: "true" hajimari.io/icon: mdi:youtube hajimari.io/name: invidious hosts: - host: &host "invidious.${SECRET_CLUSTER_DOMAIN}" paths: - path: / pathType: Prefix tls: - hosts: - *host persistence: config: enabled: false resources: requests: cpu: 50m memory: 256Mi