knative / knative/client

Service export should handle securityContext field

Open
#1,788 13 comments 0 reactions 2 assignees Claimed by @thiagomedina View on GitHub
good first issue kind/feature triage/accepted
Dominant language
Go
Stars
387
Forks
274
Avg merge
1d 6h
Merged PRs (30d)
8

Description

### Feature request

With more Pod Security Standards enabled clusters we need to address the `securityContext` being present in PodSpec and Containers definitions. Since the two cluster with different PSS config might not be compatible for the same export.

I'd suggest that we remove it in default behavior and add a flag to include it optionally

### UI Example

```

kn service export --with-securityContext
or
kn service export --with-sc
```

/kind good-first-issue
/kind proposal

/cc @rhuss @mvinkler

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.