fix(huginn): use single process image

This commit is contained in:
SeanOMik 2024-06-04 19:31:19 -04:00
parent b9a6cd6d36
commit 3c3ecefdf4
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
2 changed files with 57 additions and 55 deletions

View File

@ -4,68 +4,68 @@ metadata:
name: huginn-env
namespace: default
stringData:
HUGINN_DATABASE_USERNAME: ENC[AES256_GCM,data:DplLihcS,iv:28S8uHD4/8ViH2GO8nXTclR4KOqkxAvK3tmu9zQM7MY=,tag:dASWAy/R+XA9X81Xr9GmGw==,type:str]
HUGINN_DATABASE_PASSWORD: ENC[AES256_GCM,data:TuOZZPC7LUkJEq7WgqdinnGpUUsrehHiQATRKUePNcs=,iv:IHHHnBR6+Pnxn5aI3RpOdK4yAnonvRESGqFYcDhtshQ=,tag:RNXbLOblmXR8N3DVeYKDAA==,type:str]
DATABASE_USERNAME: ENC[AES256_GCM,data:yMG0FGk9,iv:X7BrjCGLnKR+HfEODZWpFw/hXoDZ9QaMVZAJO4X0D4s=,tag:dQbPJfRpYNGU0X7jYvwyvw==,type:str]
DATABASE_PASSWORD: ENC[AES256_GCM,data:7sZuSgSCiki8EE1OeHeP3fOhbsC0m3q2+f8+lsg1520=,iv:eOnGCETOjIBM9xxYY2SXmOjsQ85YHhd0WaLdrezsjvE=,tag:ItjXgj2n1DIAjR0eZSEViA==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2024-06-04T23:00:19Z"
mac: ENC[AES256_GCM,data:hDQ6PP6b8RkbHlQJ9iySk6TyEZzvs4jZ3rYrYKesTBdJyamVpGuEOo7CbXL72xbaVQsotcpwrnoUnNPgfJuB53GWS1sYybxtr093CuBn845Q7ivs039mqLO/peYfNaHadAtKHmqp/BOPx6iXiVdm6aenRWDS2pQgc0BvhJwhpNA=,iv:Fs1YEMynuKS9ETbbi6sgDax4YezjzwVQVe5i4NQItcA=,tag:DoemwgTkHJjvjfu4Aa6ENA==,type:str]
lastmodified: "2024-06-04T23:30:24Z"
mac: ENC[AES256_GCM,data:G/680pLe3eahN0GxLXslNsjRMMx/F0m8PpJQPvroYnqieyxydSGAtBNsKIhIpSMVWnYPmTu5aHdIwGW77r5uS1jzvOQIT9HRGAC9AUzuUqNpRp27+j8LauCqPaZj+HXdUXukQaDQOIeTRcLQQOjsZY6GtkIrM8D9PxDomqAANwk=,iv:syI9GWS8UqsytLajlRyNY5R2QlgmTMNMlwbu2yO0/5Y=,tag:0LabuM9mJnFAjL8VBoiUeg==,type:str]
pgp:
- created_at: "2024-06-04T23:00:19Z"
- created_at: "2024-06-04T23:30:24Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMAyqlIeyoxYovAQ//ZxD4TyoTq0UmLWuHZokzaHT3JynCRaBkVGv7BPBXRL31
31C1+V0ST93hq2crly/u+MSwNbsRwqGGYucz+jSVliRjtCATne2WTSuERtZ34hTF
52+eX9N5OntngyRSkXsmPgjjhys83JAq+Y6n8r9j4+idaLsLyvhuwV718MJu5koB
eXDvhIht36R/1GBXCLhf6bPfraKMVjd+78fsJ84DiVFUrKp1i1Lz1w8ejtGtZLml
mgRM1Yyv2vkAJOTEeLPj9zsUg+3MmnLaM+pxcCTIuQ6DM8aJD/YxeUaowYcVNKhj
mSqlrlpJNlr8xnAU04+lw9SYVSOJ3YWjJHTOqUK/a9WKAdMAfb7EFEhu8whZnB9i
hGAVviu3wbjzjcmhB2KGT5Q86E4PXjFVRlDaXgNxsptx94CpLMXBHmehsgQ/KYZF
yCoL5xV4UfHElHU7L5QfxIf0rghdpVORArTkEqyZABmmK0pZTz/HXbUliWXCziYK
IcFeOrmYVSzdOJpWirhlW02D0YSzjIcyQFGYmYEsWwc2fXSwBu5rzOpkFnUTmJkz
s6mSernxyVCY/zqQ+wrwCZPZ45o2YCeQwiLfd+Tu9CxSe3zbSHx9WpxJPtNW1EkN
oWiNvinsZbZJtr+6TLQtL7uaSxHTorKfBv+yFLsw9k0sqc1jRyKpmAg716FxERmF
AgwDXjg0p2IN1X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S8+1han4HEzFgkOxH+/wTGpUS380TWaiHT+S+IiQdpsk9KIWGVhGZzv
cbMqw5ujw008LkX3zLV0fX1Ngt7WcDWjMZQjnn20D3hkj87hEuV0z4vGW/CjytRo
AQkCEFC0omkQFXEmiakT4nlISxvGj/qHdQb7ueHZZCu+xdxTSmfpFpaV57D5XZ37
dai3cf8NmjSQbgzPHML8uTqm8VzGMWokxxg135dggN7kE65qhNcwvbssJgbx7+8C
uymgOgjhCx4=
=yvEA
-----END PGP MESSAGE-----
fp: BD1AAF9D8170F4BEE437365FF6F0933799CFEBCD
- created_at: "2024-06-04T23:00:19Z"
- created_at: "2024-06-04T23:30:24Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMAy5t8IMoPu4VAQ/+MZ3vBFI+QR0XbNvSfkee97BsnROAgfNjs+6vWViiJv2y
O+24WVFfC4GWYofXuOkBfFc2j1TMQgst8Vzx0RvMPfJYJVQJn7nwRlWsi4dRooz/
lN3C9b7VDX74Cpn5UW6knZTtmIEMHWUQ+SFHUnTAy3XCAv4aiEIrCmesQ7G9dGmi
/19MuBwLIMx78PvWw1Z9BOHsJMo0YZe5v3hRKWveAlYI/6C4vGn0G8VDfA6aJToH
0kfnmhlqcPw0CtNK6cTtotJa7Gmi573y6erAN8CqvYyZblTPpQhUVIMB2UBpeqZW
8dTqxBytiZfIj8M+31D6yh9sirZaHb4KC6KDbjyRkLpE1PPc7DgmMOgjQwftOSqT
ok+fFpY+VLbObjqQ4hcy0jUtAcQckwiCDD28EX8xiMWdDxtfFIrtlCUGlL+jOI46
jJTdnxfK4uSDtxXISlk/4RVf66YI2twEqMHzIxrCqEXWNn0D6xd7nTBI1AKoTkeA
u2o81WNSuFnft0dwSNqbjj4xQc1Tlzke0Dyrf5ylE4aluo1lW0ChQg4V0CTYrmKz
y7uVjsPlJLCqJ3+Ep8UUOxAQAChsrU7B6SgAB5bmGRWkGK53E1945t4WrOHMC39o
frx4uyERO7kGiylvshJyl+5ItrNsw/SQWzWK+7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EA55666CF7DADAC782D7663D
encrypted_regex: ^(data|stringData)$

View File

@ -29,18 +29,20 @@ spec:
containers:
main:
image:
repository: ghcr.io/huginn/huginn
tag: latest@sha256:84adac75461ad50fc1f8ed5f130223eb61b5cab3f43ea5c7dce9882ae81941a8
repository: ghcr.io/huginn/huginn-single-process
tag: latest@0533a3768537f7a6a157227bfd9a9caefada768f
command: /scripts/init bin/threaded.rb
env:
HUGINN_DATABASE_ADAPTER: postgresql
HUGINN_DATABASE_HOST: postgresql.database
HUGINN_DATABASE_PORT: 5432
DATABASE_ADAPTER: postgresql
DATABASE_HOST: postgresql.database
DATABASE_PORT: 5432
HUGINN_DATABASE_NAME: huginn
DATABASE_NAME: huginn
# Specified in huginn-env
# HUGINN_DATABASE_USERNAME:
# HUGINN_DATABASE_PASSWORD:
# DATABASE_USERNAME:
# DATABASE_PASSWORD:
envFrom:
- secretRef: