Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm: add privileged option for running in ARO #364

Merged
merged 5 commits into from
Feb 2, 2021

Conversation

ezYakaEagle442
Copy link
Contributor

@ezYakaEagle442 ezYakaEagle442 commented Jan 11, 2021

For OpenShift SCC requires privileged: true and also 2 settings below:

  • for the CSI Driver : oc adm policy add-scc-to-user privileged system:serviceaccount:$target_namespace:secrets-store-csi-driver
  • for the Azure KV Provider : oc adm policy add-scc-to-user privileged system:serviceaccount:$target_namespace:csi-secrets-store-provider-azure

Reason for Change:

Requirements

  • squashed commits
  • included documentation
  • added unit tests and e2e tests (if applicable).

Issue Fixed:

Does this change contain code from or inspired by another project?

  • Yes
  • No

If "Yes," did you notify that project's maintainers and provide attribution?

Special Notes for Reviewers:

…ith privileged: true

For OpenShift SCC requires privileged: true and also 2 settings below :
 for the CSI Driver : oc adm policy add-scc-to-user privileged system:serviceaccount:$target_namespace:secrets-store-csi-driver
 for the Azure KV Provider : oc adm policy add-scc-to-user privileged system:serviceaccount:$target_namespace:csi-secrets-store-provider-azure
@ezYakaEagle442
Copy link
Contributor Author

the HELM Chart was correctly running with privileged: true

Copy link
Member

@aramase aramase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ezYakaEagle442 As mentioned in the PR template:

<!--
**Is this a chart or deployment yaml update?**
If yes, please update the yamls in the [manifest_staging/](https://github.com/Azure/secrets-store-csi-driver-provider-azure/tree/master/manifest_staging/) folder, where we host the staging charts and deployment yamls. All the yaml changes will then be promoted into the released charts folder with the next release. Please also add the new configurable values to the configuration [table](https://github.com/Azure/secrets-store-csi-driver-provider-azure/tree/master/manifest_staging/charts/csi-secrets-store-provider-azure#configuration). 
-->

Could you make these changes in the manifest_staging/charts dir instead?

Also, this change would be required for the deployment manifests and helm charts in the manifest_staging dir.

@aramase
Copy link
Member

aramase commented Jan 11, 2021

I've also opened an issue to track the documentation for this: #365

@aramase aramase changed the title Update provider-azure-installer.yaml to support OpenShift / ARO SCC helm: add privileged option for running in ARO Feb 2, 2021
@aramase aramase added the helm label Feb 2, 2021
@aramase aramase added this to the 0.0.13 milestone Feb 2, 2021
@aramase aramase merged commit 8d637c4 into Azure:master Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants