Skip to content

Commit 806e17b

Browse files
committed
chore(workflow): influxdb config
1 parent cf78c98 commit 806e17b

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

_scripts/install.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,9 @@ function install_drycc {
321321
echo -e "\\033[32m---> Start installing workflow...\\033[0m"
322322
RABBITMQ_USERNAME=$(cat /proc/sys/kernel/random/uuid)
323323
RABBITMQ_PASSWORD=$(cat /proc/sys/kernel/random/uuid)
324+
INFLUXDB_USERNAME=$(cat /proc/sys/kernel/random/uuid)
325+
INFLUXDB_PASSWORD=$(cat /proc/sys/kernel/random/uuid)
326+
324327

325328
cat << EOF > "/tmp/drycc-values.yaml"
326329
global:
@@ -398,6 +401,8 @@ imagebuilder:
398401
399402
influxdb:
400403
imageRegistry: ${DRYCC_REGISTRY}
404+
user: "${INFLUXDB_USERNAME}"
405+
password: "${INFLUXDB_PASSWORD}"
401406
persistence:
402407
enabled: true
403408
size: ${INFLUXDB_PERSISTENCE_SIZE:-5Gi}
@@ -464,6 +469,8 @@ EOF
464469
--create-namespace --wait --timeout 30m0s
465470
echo -e "\\033[32m---> Rabbitmq username: $RABBITMQ_USERNAME\\033[0m"
466471
echo -e "\\033[32m---> Rabbitmq password: $RABBITMQ_PASSWORD\\033[0m"
472+
echo -e "\\033[32m---> Influxdb username: $INFLUXDB_USERNAME\\033[0m"
473+
echo -e "\\033[32m---> Influxdb password: $INFLUXDB_PASSWORD\\033[0m"
467474
}
468475

469476
function install_helmbroker {

charts/workflow/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ influxdb:
217217
# URL configuration is only available in off-cluster Influx database
218218
url: "http://my.influx.url:8086"
219219
bucket: "kubernetes"
220-
org: "org"
220+
org: "drycc"
221221
# If influxdb is off-cluster, it must be specified
222222
# Otherwise, it is generated randomly, if it is empty
223223
token: ""

0 commit comments

Comments
 (0)