How to specify securityContext
See original GitHub issueThe k8s cluster I deploy to has a pod security policy, and requires that the Argo workflows have the following, top-level securityContext
:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: main-
spec:
securityContext:
fsGroup: 2000
runAsNonRoot: true
runAsUser: 1000
...
How can I specify that via couler
? I couldn’t find anything in the docs.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Configure a Security Context for a Pod or Container
A security context defines privilege and access control settings for a Pod or Container. Security context settings include, ...
Read more >Managing Security Context Constraints | Cluster Administration
Security context constraints allow administrators to control permissions for pods. To learn more about this API type, see the security context constraints (SCCs) ......
Read more >How to manage service accounts and security context ...
Learn how to configure service account access restrictions and security context constraints (SCCs) to control permissions for pods.
Read more >10 Kubernetes Security Context settings you should understand
In this cheatsheet, we will take a look at the various securityContext settings, explore what they mean and how you should use them....
Read more >Tutorial: Use SCCs to restrict and empower OpenShift workloads
An administrator assigns a security context constraint (SCC) to the service account that grants the requested access. The SCC can be assigned ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes it is.
On Fri, Apr 30, 2021 at 11:58 AM kodeninja @.***> wrote:
actually, we do not support security context at the right moment, please send a PR if you are interested.
On Fri, Apr 30, 2021 at 10:31 AM kodeninja @.***> wrote: