Compare commits
2 Commits
main
...
feat/separ
Author | SHA1 | Date |
---|---|---|
SeanOMik | bf7a1822bf | |
SeanOMik | 60226b3ca9 |
|
@ -0,0 +1,41 @@
|
|||
# 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/v2beta2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: huginn-agent
|
||||
namespace: default
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: app-template
|
||||
version: 3.1.0
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: bjws-charts
|
||||
namespace: flux-system
|
||||
|
||||
values:
|
||||
controllers:
|
||||
main:
|
||||
replicas: 1
|
||||
|
||||
pod:
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: ghcr.io/huginn/huginn-single-process
|
||||
tag: 5a1509b51188e0d16868be893c983d6fcfd232a5
|
||||
|
||||
command:
|
||||
- /scripts/init
|
||||
- bin/threaded.rb
|
||||
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: huginn-env
|
||||
- configMapRef:
|
||||
name: huginn-env
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: huginn-env
|
||||
namespace: default
|
||||
data:
|
||||
DATABASE_ADAPTER: postgresql
|
||||
DATABASE_HOST: postgresql.database
|
||||
DATABASE_PORT: "5432"
|
||||
|
||||
DATABASE_NAME: huginn
|
||||
DATABASE_RECONNECT: "true"
|
||||
# Specified in huginn-env secret
|
||||
# DATABASE_USERNAME:
|
||||
# DATABASE_PASSWORD:
|
||||
|
||||
#TIMEZONE: ${SERVER_TIMEZONE}
|
||||
USE_GRAPHVIZ_DOT: dot
|
||||
USE_EVERNOTE_SANDBOX: "false" # set to production
|
||||
RAILS_ENV: production
|
|
@ -29,31 +29,14 @@ spec:
|
|||
containers:
|
||||
main:
|
||||
image:
|
||||
repository: ghcr.io/huginn/huginn
|
||||
tag: 0533a3768537f7a6a157227bfd9a9caefada768f
|
||||
|
||||
command:
|
||||
- /scripts/init
|
||||
- bin/threaded.rb
|
||||
|
||||
env:
|
||||
DATABASE_ADAPTER: postgresql
|
||||
DATABASE_HOST: postgresql.database
|
||||
DATABASE_PORT: 5432
|
||||
|
||||
DATABASE_NAME: huginn
|
||||
DATABASE_RECONNECT: true
|
||||
# Specified in huginn-env
|
||||
# DATABASE_USERNAME:
|
||||
# DATABASE_PASSWORD:
|
||||
|
||||
#TIMEZONE: ${SERVER_TIMEZONE}
|
||||
USE_GRAPHVIZ_DOT: dot
|
||||
USE_EVERNOTE_SANDBOX: false # set to production
|
||||
repository: ghcr.io/huginn/huginn-single-process
|
||||
tag: 5a1509b51188e0d16868be893c983d6fcfd232a5
|
||||
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: huginn-env
|
||||
- configMapRef:
|
||||
name: huginn-env
|
||||
|
||||
service:
|
||||
app:
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./env-configmap.sops.yaml
|
||||
- ./env-secret.sops.yaml
|
||||
- ./helm-release.yaml
|
||||
- ./helm-release.yaml
|
||||
- ./agent-helm-release.yaml
|
Loading…
Reference in New Issue