k3s-cluster/cluster/apps/default/huginn/helm-release.yaml

79 lines
1.9 KiB
YAML
Raw Normal View History

2024-06-04 23:02:13 +00:00
# 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
2024-06-04 23:02:13 +00:00
kind: HelmRelease
metadata:
name: huginn
namespace: default
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 3.4.0
2024-06-04 23:02:13 +00:00
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
controllers:
main:
pod:
securityContext:
runAsNonRoot: true
# runAsUser: 10000
# runAsGroup: 10000
# fsGroup: 10000
# fsGroupChangePolicy: OnRootMismatch
2024-06-04 23:02:13 +00:00
containers:
main:
image:
repository: ghcr.io/huginn/huginn
tag: 0533a3768537f7a6a157227bfd9a9caefada768f
2024-06-04 23:31:19 +00:00
command:
- /scripts/init
- bin/threaded.rb
2024-06-04 23:02:13 +00:00
env:
2024-06-04 23:31:19 +00:00
DATABASE_ADAPTER: postgresql
DATABASE_HOST: postgresql.database
DATABASE_PORT: 5432
2024-06-04 23:02:13 +00:00
2024-06-04 23:31:19 +00:00
DATABASE_NAME: huginn
DATABASE_RECONNECT: true
2024-06-04 23:02:13 +00:00
# Specified in huginn-env
2024-06-04 23:31:19 +00:00
# DATABASE_USERNAME:
# DATABASE_PASSWORD:
2024-06-04 23:02:13 +00:00
#TIMEZONE: ${SERVER_TIMEZONE}
USE_GRAPHVIZ_DOT: dot
2024-06-05 21:30:58 +00:00
USE_EVERNOTE_SANDBOX: false # set to production
2024-06-04 23:02:13 +00:00
envFrom:
- secretRef:
name: huginn-env
service:
app:
controller: main
ports:
http:
port: 3000
ingress:
main:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
hosts:
- host: "huginn.${SECRET_NEW_DOMAIN}"
paths:
- path: /
service:
identifier: app
port: http