Skip to content
Snippets Groups Projects
Commit 8d4ca96a authored by Syrine Neifar's avatar Syrine Neifar
Browse files

sets random passwords in the helm install command for the ci pipeline to pass

parent 6792cadc
No related branches found
No related tags found
1 merge request!296Resolve "Remove default passwords in values.yaml"
Pipeline #31442 passed with stages
in 16 minutes and 57 seconds
......@@ -67,7 +67,7 @@ install-helmrelease:
>> values-ci.yaml
- cat values-ci.yaml
- time kubectl delete --wait=true namespace "nc$CI_MERGE_REQUEST_IID" || true
- time helm --debug install --timeout 20m --create-namespace -n nc$CI_MERGE_REQUEST_IID --wait "nc$CI_MERGE_REQUEST_IID" . -f values-ci.yaml
- time helm --debug install --timeout 20m --create-namespace -n nc$CI_MERGE_REQUEST_IID --wait "nc$CI_MERGE_REQUEST_IID" . -f values-ci.yaml --set nextcloud.nextcloud.password=$(date | base64),nextcloud.mariadb.auth.password=$(date | base64),nextcloud.mariadb.auth.rootPassword=$(date | base64),redis.auth.password=$(date | base64),onlyoffice.jwtSecret=$(date | base64),rabbitmq.auth.password=$(date | base64),rabbitmq.auth.erlangCookie=$(date | base64),global.onlyofficeDb.password=$(date | base64)
environment:
name: helmrelease/nc$CI_MERGE_REQUEST_IID
url: https://files-nc$CI_MERGE_REQUEST_IID.gitlab.stackspin.net
......
......@@ -18,7 +18,7 @@ nextcloud:
# Configure MariaDB chart
mariadb:
auth:
auth: {}
# password: CHANGE_ME
# rootPassword: CHANGE_ME
architecture: standalone
......@@ -29,7 +29,7 @@ nextcloud:
# enabled: true
# size: 512Mi
redis:
auth:
auth: {}
# Shared redis password for Nextcloud and OnlyOffice
# password: CHANGE_ME
......@@ -43,7 +43,7 @@ nextcloud:
# size: 2Gi
global:
onlyofficeDb:
onlyofficeDb: {}
# password: CHANGE_ME
onlyoffice:
......@@ -62,7 +62,7 @@ onlyoffice:
secretName: office-cert
rabbitmq:
auth:
auth: {}
# password: CHANGE_ME
# apps controls which apps will be installed and enabled in nextcloud
......
......@@ -194,7 +194,7 @@ onlyoffice:
failureThreshold: 120
rabbitmq:
auth:
auth: {}
# password: password
# erlangCookie: stub
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment