cyberark / conjur-oss-helm-chart

Helm chart for deploying Conjur OSS to Kubernetes
Apache License 2.0
28 stars 24 forks source link

Commands to get admin password fail if logLevel is set to debug #92

Closed diverdane closed 4 years ago

diverdane commented 4 years ago

Summary

If a Conjur OSS cluster is installed or upgraded using --set logLevel=debug, then the documented method for retrieving the admin password (see https://github.com/cyberark/conjur-oss-helm-chart/tree/master/conjur-oss#configuring-conjur-accounts) fails since it captures not only the admin password, but also the preceding debug log output.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Helm install using --set logLevel=debug --set account.name=myConjurAccount --set account.create=true
  2. Follow the instructions for retrieving the Conjur admin password (see link above).
  3. Observe that the output includes debug logs. The steps should ideally truncate this debug output.

Expected Results

Just the admin password should be displayed.

Actual Results (including error logs, if applicable)

Admin password get displayed but with preceding debug logs.

Reproducible

Version/Tag number

Latest.

Environment setup

Any platform.

Additional Information