devsecops-workshop-dashboard icon indicating copy to clipboard operation
devsecops-workshop-dashboard copied to clipboard

Deployment Require HTPasswd Identity Provider already Exists

Open dmc5179 opened this issue 3 years ago • 1 comments

Deployment of the workshop requires that the HTPasswd Identity provider be at least deployed. It doesn't need to contain the actual workshop users. The Operator will create those. If the HTPasswd Identity provider is not installed, for example on a default OpenShift cluster, the follow error will show when the DevSecOps workshop is deployed

Unexpected templating type error occurred on ({{ cluster_oauth.resources[0].spec | json_query("identityProviders[?type=='HTPasswd']") | join }}): 'NoneType' object is not iterable

dmc5179 avatar Mar 17 '21 02:03 dmc5179

I think we should move this fix into the operator, rather than documenting a manual fix. It should be able to react to one not existing, IMO.

jharmison-redhat avatar Apr 01 '21 13:04 jharmison-redhat