Skip to content

Commit

Permalink
Ensure pipeline environments generate new admin passwords (#667)
Browse files Browse the repository at this point in the history
by avoiding passing local insecure password to them
  • Loading branch information
andytson-inviqa authored Apr 8, 2022
1 parent 58ce4fb commit 01cddb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/image/console/root/lib/task/welcome.sh.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function task_welcome()
{% endfor -%}
echo "Admin: /admin"
echo " Username: admin"
echo " Password: admin123"
echo " Password: ${ADMIN_DEFAULT_PASSWORD}"
{% if @('services.rabbitmq.enabled') -%}
echo ""
echo "RabbitMQ: https://{{ @('rabbitmq.external_host') }}"
Expand Down
1 change: 1 addition & 0 deletions harness/attributes/docker-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ attributes:
HAS_VARNISH: "= @('services.varnish.enabled') ? 'true' : 'false'"
environment_secrets:
DB_ADMIN_PASS: = @('database.root_pass')
ADMIN_DEFAULT_PASSWORD: admin123
resources:
memory: "2048Mi"
init_memory: "1024Mi"
Expand Down

0 comments on commit 01cddb8

Please sign in to comment.