Skip to content

[RELEASE-1.6] Feature: Let users set allowPrivilegeEscalation = false on ksvc. - #18

Merged
openshift-merge-robot merged 3 commits into
openshift-knative:release-v1.6from
skonto:allow_priv_1.6
Nov 16, 2022
Merged

openshift-merge-robot merged 3 commits into
openshift-knative:release-v1.6from
skonto:allow_priv_1.6

Conversation

@skonto

@skonto skonto commented Nov 16, 2022

Copy link
Copy Markdown

Contains: 5b5eb3f and ddc2c42.

Stavros Kontopoulos and others added 2 commits November 16, 2022 10:58
…ion (knative#1282)

* Feature: Let users set `allowPrivilegeEscalation = false` on ksvc. (knative#13395)

:gift: This allows used to specify `allowPrivilegeEscalation` (in particular to false) to ensure that processes cannot escalate privileges.

Kicking the tires on the new GKE security posture dashboard, I noticed that ~all Knative services get flagged for this despite Knative not allowing me to set it to false!

https://cloud.google.com/kubernetes-engine/docs/concepts/about-security-posture-dashboard

/kind bug

* Fix: Add the new `AllowPrivilegeEscalation` field to the *other* fieldmask. (knative#13402)

:bug: My previous changed missed the new config file that controls how the CRD schema is updated.

You can now clearly see the fields being added to the schemas.

Apologies for the break, I had no clue this was a thing!

/kind bug

Related: knative#13395

* add allowPrivilegeEscalation to manifests

Co-authored-by: Matt Moore <[email protected]>
@openshift-ci
openshift-ci Bot requested review from alanfx and mgencur November 16, 2022 09:03
@skonto

skonto commented Nov 16, 2022

Copy link
Copy Markdown
Author

/assign @nak3. This is the last patch from 1.5 to 1.6.

@nak3

nak3 commented Nov 16, 2022

Copy link
Copy Markdown

/lgtm

Thank you so much!

@openshift-ci

openshift-ci Bot commented Nov 16, 2022

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nak3, skonto

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot
openshift-merge-robot merged commit cef28ae into openshift-knative:release-v1.6 Nov 16, 2022
openshift-merge-robot pushed a commit that referenced this pull request Dec 22, 2022
…e` on ksvc. (#18) (#90)

* [RELEASE-1.5] [BACKPORT] Feature: Let users set allowPrivilegeEscalation (#1282)

* Feature: Let users set `allowPrivilegeEscalation = false` on ksvc. (knative#13395)

:gift: This allows used to specify `allowPrivilegeEscalation` (in particular to false) to ensure that processes cannot escalate privileges.

Kicking the tires on the new GKE security posture dashboard, I noticed that ~all Knative services get flagged for this despite Knative not allowing me to set it to false!

https://cloud.google.com/kubernetes-engine/docs/concepts/about-security-posture-dashboard

/kind bug

* Fix: Add the new `AllowPrivilegeEscalation` field to the *other* fieldmask. (knative#13402)

:bug: My previous changed missed the new config file that controls how the CRD schema is updated.

You can now clearly see the fields being added to the schemas.

Apologies for the break, I had no clue this was a thing!

/kind bug

Related: knative#13395

* add allowPrivilegeEscalation to manifests

Co-authored-by: Matt Moore <[email protected]>

* Add missing allowPrivilegeEscalation patch into 1-serving-crds.yaml (#1301)

* fix download script

Co-authored-by: Matt Moore <[email protected]>
Co-authored-by: Kenjiro Nakayama <[email protected]>

Co-authored-by: Stavros Kontopoulos <[email protected]>
Co-authored-by: Matt Moore <[email protected]>
Co-authored-by: Kenjiro Nakayama <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants