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 266
266
# Admin password for grafana (see note in __main__.py in prometheus project as to why not encrypted)
267
267
# This is for the deployment that is setup as part of the the prometheus operator driven prometheus-kube-stack.
268
268
#
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
270
270
echo " Existing password found for grafana admin user"
271
271
else
272
272
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
276
276
fi
277
277
278
278
#
You can’t perform that action at this time.
0 commit comments