2 Commits
0.0.4 ... 0.0.6

Author SHA1 Message Date
ecceb5baa3 mqtt cred
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful
2024-12-02 10:19:58 +01:00
c505c525f8 fix
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2024-12-02 09:55:54 +01:00
4 changed files with 7 additions and 3 deletions

View File

@ -4,7 +4,7 @@ PGHOST=`kubectl get services traefik -n system -o jsonpath="{.status.loadBalance
PGPASSWORD=`kubectl get secrets ma-db-cred -n $N -o jsonpath="{.data.PGPASSWORD}" | base64 --decode`
PGUSER=`kubectl get secrets ma-db-cred -n $N -o jsonpath="{.data.PGUSER}" | base64 --decode`
PGSSLMODE=`kubectl get secrets ma-db-cred -n $N -o jsonpath="{.data.PGSSLMODE}" | base64 --decode`
PGDATABASE="matest"
PGDATABASE="ma"
export PGUSER PGHOST PGPASSWORD PGSSLMODE PGDATABASE
MA_CONF=`cat config-test.json`

View File

@ -1,6 +1,7 @@
{
"mqtt": {
"broker": "mqtt://emqx01-anonymous-cluster-internal.broker.svc.cluster.local:1883",
"username": "archiver",
"tlsEnable": "false"
},
"includeTopics": [

View File

@ -22,7 +22,9 @@ spec:
imagePullPolicy: Always
envFrom:
- secretRef:
name: ma-db-cred
name: ma-db-cred
- secretRef:
name: ma-mqtt-cred
- configMapRef:
name: ma-conf
name: ma-conf

View File

@ -11,6 +11,7 @@ LOGIN=ma
PASSWORD=`openssl rand -base64 24`
NAMESPACE=`cat namespace`
psql <<EOF
do
\$\$