smallstep / helm-charts

Helm packages for Kubernetes
Apache License 2.0
49 stars 72 forks source link

Test Connection Job should have SecurityContext for Restricted environments #185

Open avo-sepp opened 5 months ago

avo-sepp commented 5 months ago

https://github.com/smallstep/helm-charts/blob/a45a9ffd50792d09c024e6d4e0164a1a16a3bd2b/step-certificates/templates/tests/test-connection.yaml#L12

The test connection job won't run in Namespaces which are set to Restricted by Pod Security Admission standard. Adding a SecurityContext to the Test Connection job will fix this issue.