Skip to content

Service export should handle securityContext field #1788

Open
@dsimansk

Description

@dsimansk

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 <ksvc> --with-securityContext
or
kn service export <ksvc> --with-sc

/kind good-first-issue
/kind proposal

/cc @rhuss @mvinkler

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor.kind/featureNew feature or requesttriage/acceptedIssues which should be fixed (post-triage)

Type

No type

Projects

  • Status

    Ready To Work

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions