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 name: huginn-env
namespace: default namespace: default
stringData: stringData:
DATABASE_USERNAME: ENC[AES256_GCM,data:yMG0FGk9,iv:X7BrjCGLnKR+HfEODZWpFw/hXoDZ9QaMVZAJO4X0D4s=,tag:dQbPJfRpYNGU0X7jYvwyvw==,type:str] DATABASE_USERNAME: ENC[AES256_GCM,data:fGVZ4vP7,iv:YTpdtrO7fNCil1YqZ3kwCgx7HpGwVzVpZhaZgdduVlk=,tag:jiIt/RC7V+JnAHa6ptcM8A==,type:str]
DATABASE_PASSWORD: ENC[AES256_GCM,data:7sZuSgSCiki8EE1OeHeP3fOhbsC0m3q2+f8+lsg1520=,iv:eOnGCETOjIBM9xxYY2SXmOjsQ85YHhd0WaLdrezsjvE=,tag:ItjXgj2n1DIAjR0eZSEViA==,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: sops:
kms: [] kms: []
gcp_kms: [] gcp_kms: []
azure_kv: [] azure_kv: []
hc_vault: [] hc_vault: []
age: [] age: []
lastmodified: "2024-06-04T23:30:24Z" lastmodified: "2024-06-04T23:53:57Z"
mac: ENC[AES256_GCM,data:G/680pLe3eahN0GxLXslNsjRMMx/F0m8PpJQPvroYnqieyxydSGAtBNsKIhIpSMVWnYPmTu5aHdIwGW77r5uS1jzvOQIT9HRGAC9AUzuUqNpRp27+j8LauCqPaZj+HXdUXukQaDQOIeTRcLQQOjsZY6GtkIrM8D9PxDomqAANwk=,iv:syI9GWS8UqsytLajlRyNY5R2QlgmTMNMlwbu2yO0/5Y=,tag:0LabuM9mJnFAjL8VBoiUeg==,type:str] mac: ENC[AES256_GCM,data:YEm3XmBsBG4ZLxobPaH0K2OpAUv+QvPZIsoaUO/DJwoekRHyK5LFIS+PF2d5nK+01O4FhHWI29sxp8jsZw27ut07g0yD2QBxMk5FtPgb0Abe5H75jF8u6mWHuHYN6QeFN2hVIGVM5+2w3vlDcZSDpq0w227dHz4kbn9xhTs3UAs=,iv:8VnoU5Gx2DuCNb7cCENplxbcybxhf2dWoJH/aKfl3IY=,tag:LrAxLZBWvL6NFpjtfj55uA==,type:str]
pgp: pgp:
- created_at: "2024-06-04T23:30:24Z" - created_at: "2024-06-04T23:53:57Z"
enc: |- enc: |-
-----BEGIN PGP MESSAGE----- -----BEGIN PGP MESSAGE-----
hQIMAyqlIeyoxYovAQ//cEIITFrzBXgGTB4AljfdjnwtSx+EmkBqNP5Pnag+SkBM hQIMAyqlIeyoxYovAQ//S1eMTFLRECS2DDjyJnyDODoNWtVUqc8zREm73A19Xkca
GtXKQp3KhzJPSvwGK+tXlnieK/InXTE0UspQNyS0gVf8hIm4GLd/SilQfW4QlO1Z ULRGHI75+1xPKgZSaA6xiZyP+TtNwX7SO8MKNunDy24sKVvXGSSGAXK5nbs+n/XQ
imcNB9Wv7c485VmrZlm6WpSJ9cw3NzO1R0WkvnFEi+xcNJ/1WZhpiNpvVS0HgBKk w2WwOWEhJOp0sq236gN7PW5PGSIuL9iPnEP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Jf GyuM+uUyX4FD8H/9TX9zdFNTv4mYf7Jym1iX7oguqtrU8+fguAHRmqbFI61yAbRS
dzFldrqa3S8+1han4HEzFgkOxH+/wTGpUS380TWaiHT+S+IiQdpsk9KIWGVhGZzv S9NcZFVYumg2j1J4/fLWw++cJ9WkNjXHKBo2mptT1D51xsyWL8hFezKIfVmf0q7P
cbMqw5ujw008LkX3zLV0fX1Ngt7WcDWjMZQjnn20D3hkj87hEuV0z4vGW/CjytRo TfkAW/Lgwvzro585EretX8V/GJ8X+7lHLDJcaARJ24ZBIwTgBmnScf6wGa18NtRo
AQkCEFC0omkQFXEmiakT4nlISxvGj/qHdQb7ueHZZCu+xdxTSmfpFpaV57D5XZ37 AQkCEGLCTknk3zTY8B3QsyJFJc4YgC5h0eDJNyPXbd+J1jt1RUOZZjt1fB3FU0Ig
dai3cf8NmjSQbgzPHML8uTqm8VzGMWokxxg135dggN7kE65qhNcwvbssJgbx7+8C mbb7crSnp8JQTIzGcmT7fFiKqVY2+iME40Aism6Ur2wEUYdUiyvWAIm2mO6IC5as
uymgOgjhCx4= RruYuh/c2H0=
=yvEA =wwhd
-----END PGP MESSAGE----- -----END PGP MESSAGE-----
fp: BD1AAF9D8170F4BEE437365FF6F0933799CFEBCD fp: BD1AAF9D8170F4BEE437365FF6F0933799CFEBCD
- created_at: "2024-06-04T23:30:24Z" - created_at: "2024-06-04T23:53:57Z"
enc: |- enc: |-
-----BEGIN PGP MESSAGE----- -----BEGIN PGP MESSAGE-----
hQIMAy5t8IMoPu4VARAAl6A0Cu8VfBKpl+FRuEIuzWfHdNZ7+mbmcV5VHDDSonNy hQIMAy5t8IMoPu4VARAApvQS/58xYXPFoW3bxTSNDzlWrzd8JWpOR0TlVxQGv7zX
bQC9H+qBrHO5n6wfry+H9JcuTZOIMOa0T1tllh0uPt7wKMgQ10zVNVRPPhxM/Vs3 A+TxJeTK3idbm3BLyhz3+9Yqs9efTpl+xgtBWtj9/OuOBOvJcCT0SwMOXJe0XohM
73KQ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0sM7qNPx3U RnDqRIL/O7kMkDrzHzjWv7vUPCt4uAKbI9WFfnS74DVq5J/Lpq6Dp24+qgdTuhTU
aAEJAhBTt9CPNKCIvKfHr+0Y12ZjJflVTJDNh1YLJfjEfboToIm0EgqygwE43ZCS aAEJAhDRdoBiHuuDPbeLAZnhQlHvYUiL2fA33KX/DBxxp4BAnK6fQ70cot5/d3iQ
5SS+re5U0bRp6fkwL9NKsZxO0xV4oNR/rn1xMzjLPA5zWpoJHcrkv4Wpgv8oSsYa 7M+8UXDwyWYxz+e6/dLAZLrTCyh/SQN5OxFhKrUUwK+2g6Ny/P4lgeHN+dnmYHG7
ixw7A2lJuYrb ZfaSDSAvfg/S
=l5Qm =Wig2
-----END PGP MESSAGE----- -----END PGP MESSAGE-----
fp: 687802D4DFD8AA82EA55666CF7DADAC782D7663D fp: 687802D4DFD8AA82EA55666CF7DADAC782D7663D
encrypted_regex: ^(data|stringData)$ encrypted_regex: ^(data|stringData)$

View File

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