This repository was archived by the owner on Oct 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 266266# Admin password for grafana (see note in __main__.py in prometheus project as to why not encrypted)
267267# This is for the deployment that is setup as part of the the prometheus operator driven prometheus-kube-stack.
268268#
269- if pulumi config get prometheus:adminpass -C ${script_dir} /../pulumi/python/config > /dev/null 2>&1 ; then
269+ if pulumi config get prometheus:adminpass -C " ${script_dir} " /../pulumi/python/kubernetes/secrets > /dev/null 2>&1 ; then
270270 echo " Existing password found for grafana admin user"
271271else
272272 echo " Create a password for the grafana admin user; this password will be used to access the Grafana dashboard"
273- echo " This should be an alphanumeric string without any shell special characters; it is presented in plain text "
274- echo " due to current limitations with Pulumi secrets. You will need this password to access the Grafana dashboard."
275- pulumi config set prometheus:adminpass -C ${script_dir} /../pulumi/python/config
273+ echo " This should be an alphanumeric string without any shell special characters. You will need this password to "
274+ echo " access the Grafana dashboard."
275+ pulumi config set prometheus:adminpass --secret -C " ${script_dir} " /../pulumi/python/kubernetes/secrets
276276fi
277277
278278#
You can’t perform that action at this time.
0 commit comments