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
|
2024-06-15 19:37:56 +00:00
|
|
|
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
|
2024-08-29 17:22:12 +00:00
|
|
|
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
|
2024-06-04 23:14:38 +00:00
|
|
|
# runAsUser: 10000
|
|
|
|
# runAsGroup: 10000
|
|
|
|
# fsGroup: 10000
|
|
|
|
# fsGroupChangePolicy: OnRootMismatch
|
2024-06-04 23:02:13 +00:00
|
|
|
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
image:
|
2024-06-04 23:55:40 +00:00
|
|
|
repository: ghcr.io/huginn/huginn
|
|
|
|
tag: 0533a3768537f7a6a157227bfd9a9caefada768f
|
2024-06-04 23:31:19 +00:00
|
|
|
|
2024-06-04 23:55:40 +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
|
2024-06-04 23:55:40 +00:00
|
|
|
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
|
|
|
|
2024-06-05 00:17:31 +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:55:40 +00:00
|
|
|
|
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
|