fix(huginn): add required environmental vars, fix commands, fix tag

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

View File

@ -4,68 +4,70 @@ metadata:
name: huginn-env
namespace: default
stringData:
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]
DATABASE_USERNAME: ENC[AES256_GCM,data:fGVZ4vP7,iv:YTpdtrO7fNCil1YqZ3kwCgx7HpGwVzVpZhaZgdduVlk=,tag:jiIt/RC7V+JnAHa6ptcM8A==,type:str]
DATABASE_PASSWORD: ENC[AES256_GCM,data:4f8yx3A3UVzZXTAld1Oip+EIxO6mqJZdsZqhEBnr/+8=,iv:GJxFwqPI2xNuq1YGruJqelOotOfQL7KFECMQe6Ccj9I=,tag:8i3tjk01oKF/deRWTCqFQQ==,type:str]
APP_SECRET_TOKEN: ENC[AES256_GCM,data:GzQ+pm8klSAtuawKScAAMiZoNdMGbSalE6SIv7I6DaU=,iv:4N+eNxll6cf3Oa9B8vzp+H/iuBuVklci2W5+ERIjz7w=,tag:3X2FAwd9C+gIuIeK/55aRQ==,type:str]
INVITATION_CODE: ENC[AES256_GCM,data:0VS4teNAAa87dA==,iv:E045aef9LDwEvfZimENGAlYTRwFaoRXrwtAL5xuEcTo=,tag:ZxeMl06L4zuBmdU0Nrnd6A==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2024-06-04T23:30:24Z"
mac: ENC[AES256_GCM,data:G/680pLe3eahN0GxLXslNsjRMMx/F0m8PpJQPvroYnqieyxydSGAtBNsKIhIpSMVWnYPmTu5aHdIwGW77r5uS1jzvOQIT9HRGAC9AUzuUqNpRp27+j8LauCqPaZj+HXdUXukQaDQOIeTRcLQQOjsZY6GtkIrM8D9PxDomqAANwk=,iv:syI9GWS8UqsytLajlRyNY5R2QlgmTMNMlwbu2yO0/5Y=,tag:0LabuM9mJnFAjL8VBoiUeg==,type:str]
lastmodified: "2024-06-04T23:53:57Z"
mac: ENC[AES256_GCM,data:YEm3XmBsBG4ZLxobPaH0K2OpAUv+QvPZIsoaUO/DJwoekRHyK5LFIS+PF2d5nK+01O4FhHWI29sxp8jsZw27ut07g0yD2QBxMk5FtPgb0Abe5H75jF8u6mWHuHYN6QeFN2hVIGVM5+2w3vlDcZSDpq0w227dHz4kbn9xhTs3UAs=,iv:8VnoU5Gx2DuCNb7cCENplxbcybxhf2dWoJH/aKfl3IY=,tag:LrAxLZBWvL6NFpjtfj55uA==,type:str]
pgp:
- created_at: "2024-06-04T23:30:24Z"
- created_at: "2024-06-04T23:53:57Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMAyqlIeyoxYovAQ//cEIITFrzBXgGTB4AljfdjnwtSx+EmkBqNP5Pnag+SkBM
GtXKQp3KhzJPSvwGK+tXlnieK/InXTE0UspQNyS0gVf8hIm4GLd/SilQfW4QlO1Z
imcNB9Wv7c485VmrZlm6WpSJ9cw3NzO1R0WkvnFEi+xcNJ/1WZhpiNpvVS0HgBKk
G4RnLDqYsmPK245AVPHKe0zOzgbVRCTAb/uEcxNjRCEIRbjrWB5HdZw0jFUO0nV2
wjnMKUdRLbHQLcX4AqOwnvO0m9NfrrFWsPS/xQnqaHmTYa4j9PisaY8RRBY8DfJV
5hhQZQVYtMXSF80YcsseV0hhWtJwANC5MIx7/BisfWZfW3uLmjXELT/P5bE6qu49
3TOamGSs9KX+iRMgv1/vSRaEi4Q5nx3Q4CkCFx9h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cg2U/ATloe59G2ECn
dsWxHsqChl1ABRegPajg79gM8Ty+PXv7PMu/v/ifqOFLjMAS46xD/BjtOHy/QaUQ
IUFJTkznFnHP0jlydIx8CWO/k8+3YijtGR6hw+mAX7g/n+eiQgo7vye+2sjT4SED
m2fzqdRo0820EqwrsuGC5BSRB9y4SnTU4I11M0gvBiWZM7SBTe/qCTM4fMWdpvTU
GyuM+uUyX4FD8H/9TX9zdFNTv4mYf7Jym1iX7oguqtrU8+fguAHRmqbFI61yAbRS
S9NcZFVYumg2j1J4/fLWw++cJ9WkNjXHKBo2mptT1D51xsyWL8hFezKIfVmf0q7P
TfkAW/Lgwvzro585EretX8V/GJ8X+7lHLDJcaARJ24ZBIwTgBmnScf6wGa18NtRo
AQkCEGLCTknk3zTY8B3QsyJFJc4YgC5h0eDJNyPXbd+J1jt1RUOZZjt1fB3FU0Ig
mbb7crSnp8JQTIzGcmT7fFiKqVY2+iME40Aism6Ur2wEUYdUiyvWAIm2mO6IC5as
RruYuh/c2H0=
=wwhd
-----END PGP MESSAGE-----
fp: BD1AAF9D8170F4BEE437365FF6F0933799CFEBCD
- created_at: "2024-06-04T23:30:24Z"
- created_at: "2024-06-04T23:53:57Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hQIMAy5t8IMoPu4VARAAl6A0Cu8VfBKpl+FRuEIuzWfHdNZ7+mbmcV5VHDDSonNy
bQC9H+qBrHO5n6wfry+H9JcuTZOIMOa0T1tllh0uPt7wKMgQ10zVNVRPPhxM/Vs3
73KQ2tpTo/m5F14ET9gLGjexOh00YChCZAKTHouhztgIb0sD5uS9tZBTMoIvI90R
lWJjlD0Ec4Bk670JWUUURGjXwhckWjJ/ccyycZWM5X22XDtxAATUqEZ3fUPavXo/
VXV9PXJzkT794NchrwyJfIgRZO5Q9qBCegtZUeWeblzDmSaZJpetA0oAsUM2tECU
JPJCf4VwG5SlEutS73vj5C+h9vWWrAVWE0XZPNwH0XGdkNpTB2idJ6uEZiedTg8z
9FSxlfLoS+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zghEefAhQnxKY81ay+J+WlHyhOpeHwR7f5O+TMvCImG
RnDqRIL/O7kMkDrzHzjWv7vUPCt4uAKbI9WFfnS74DVq5J/Lpq6Dp24+qgdTuhTU
aAEJAhDRdoBiHuuDPbeLAZnhQlHvYUiL2fA33KX/DBxxp4BAnK6fQ70cot5/d3iQ
7M+8UXDwyWYxz+e6/dLAZLrTCyh/SQN5OxFhKrUUwK+2g6Ny/P4lgeHN+dnmYHG7
ZfaSDSAvfg/S
=Wig2
-----END PGP MESSAGE-----
fp: 687802D4DFD8AA82EA55666CF7DADAC782D7663D
encrypted_regex: ^(data|stringData)$

View File

@ -29,10 +29,12 @@ spec:
containers:
main:
image:
repository: ghcr.io/huginn/huginn-single-process
tag: latest@0533a3768537f7a6a157227bfd9a9caefada768f
repository: ghcr.io/huginn/huginn
tag: 0533a3768537f7a6a157227bfd9a9caefada768f
command: /scripts/init bin/threaded.rb
command:
- /scripts/init
- bin/threaded.rb
env:
DATABASE_ADAPTER: postgresql
@ -40,10 +42,13 @@ spec:
DATABASE_PORT: 5432
DATABASE_NAME: huginn
DATABASE_RECONNECT: true
# Specified in huginn-env
# DATABASE_USERNAME:
# DATABASE_PASSWORD:
TIMEZONE: ${SERVER_TIMEZONE}
envFrom:
- secretRef:
name: huginn-env