pega-helm-charts icon indicating copy to clipboard operation
pega-helm-charts copied to clipboard

PegaDiagnosticUser not populated for the pega-diagnostic-secret.yaml

Open charoensri opened this issue 1 year ago • 0 comments

Describe the bug No user/pwd generated for PegaDiagnosticUser in tomcat-users.xml and so the download of logs will fail with 401 unauthorized.

pega-helm-charts\charts\pega\templates\pega-diagnostic-secret.yaml comparison of teir.name equals "web" is not quite valid because the teir name can be any string .eg. "myweb-abc" {{ if and ($dep.pegaDiagnosticUser) (eq $dep.name "web") }}

The comparision should be "WebUser" nodetype instead {{ if and ($dep.pegaDiagnosticUser) (eq $dep.nodeType "WebUser") }}

charoensri avatar Oct 09 '23 05:10 charoensri