GoogleCloudPlatform / microservices-demo

Sample cloud-first application with 10 microservices showcasing Kubernetes, Istio, and gRPC.
https://cymbal-shops.retail.cymbal.dev
Apache License 2.0
17.07k stars 7.35k forks source link

Add optin for securitycontext in helm #2758

Closed sandert-k8s closed 1 month ago

sandert-k8s commented 1 month ago

Background

This issue resolves that the app won't be able to be deployed on OpenShift. OpenShift has it's own securityContext mechanism (different UserId's per Namespace/Project). When using other userId's than provided by OpenShift, the app won't start. The default value of the variable is true, so default it will use the securityContext from the chart.

google-cla[bot] commented 1 month ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.