Skip to content
This repository was archived by the owner on Jun 8, 2022. It is now read-only.

Add support for security context#320

Open
dhiguero wants to merge 1 commit intocrossplane:masterfrom
napptive:feature/security_context
Open

Add support for security context#320
dhiguero wants to merge 1 commit intocrossplane:masterfrom
napptive:feature/security_context

Conversation

@dhiguero
Copy link

@dhiguero dhiguero commented Mar 2, 2021

This PR adds support for specifying a security context on the ContainerizedWorkload.

This addresses an issue we found when deploying application on a Kubernetes cluster that enforces PodSecurityPolicy. Without this change some applications may fail to start, as Kubernetes will complain about the security context of the resulting application. The proposed change is based on the existing corev1.SecurityContext from Kubernetes limiting the scope to options that are only related with the container itself, and not with Kubernetes/Framework dependent options.

Signed-off-by: Daniel Higuero <daniel@napptive.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments