From e6666f0871d22a26b10126d0e384134081a962f6 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Mon, 20 Jan 2025 00:13:38 +0100 Subject: [PATCH] ttrss: add helm chart --- apps/templates/helm-ttrss.yaml | 90 ++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 apps/templates/helm-ttrss.yaml diff --git a/apps/templates/helm-ttrss.yaml b/apps/templates/helm-ttrss.yaml new file mode 100644 index 0000000..285a78f --- /dev/null +++ b/apps/templates/helm-ttrss.yaml @@ -0,0 +1,90 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: helm-cert-manager + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + namespace: cert-manager + server: https://kubernetes.default.svc + project: default + source: + repoURL: https://angelnu.github.io/helm-charts + targetRevision: 6.0.0 + chart: angelnu/tt-rss + helm: + values: | + # + # IMPORTANT NOTE + # + # This chart inherits from our common library chart. You can check the default values/options here: + # https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml + # + + image: + # -- image repository + repository: ghcr.io/angelnu/tt-rss + # -- image pull policy + pullPolicy: IfNotPresent + # -- image tag + tag: 2.0.9486 + + # -- See more environment variables in the tt-rss documentation + # https://git.tt-rss.org/fox/tt-rss/src/branch/master/classes/config.php#L9 + # @default -- See below. + env: + # -- External URL you use to connect to the RSS (the one you enter in your browser) + TTRSS_SELF_URL_PATH: "" + # -- Postgres database hostname + # @default -- internal postgresql URL + TTRSS_DB_HOST: "{{ printf \"%s-postgresql\" .Release.Name }}" + # -- Postgres database port. + TTRSS_DB_PORT: "5432" + # -- Postgres database user name + # @default -- postgresql.auth.username value + TTRSS_DB_USER: "{{ .Values.postgresql.auth.username }}" + # -- Postgres database password + # @default -- postgresql.auth.password value + TTRSS_DB_PASS: "{{ .Values.postgresql.auth.password }}" + # -- Postgres database password + # @default -- postgresql.auth.database value + TTRSS_DB_NAME: "{{ .Values.postgresql.auth.database }}" + + # -- Configure the services for the chart here. + # @default -- See below. + service: + main: + ports: + http: + port: 8080 + + ingress: + # -- Enable and configure ingress settings for the chart under this key. + # @default -- See values.yaml + main: + enabled: false + + # -- Bitnami postgres chart. For more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql + # @default -- see bellow + postgresql: + # -- By default uses an internal postgress. Dissable if you use your own Postgres. + enabled: true + auth: + # -- Postgres database user name + username: tt-rss + # -- Postgres database password + password: "changeme" + # -- Postgres database + database: tt-rss + persistence: + # -- if database is stored to a PVC. Set to true when you are done testing. + enabled: false + # storageClass: "" + + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: + selfHeal: true