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

[RELEASE-v1.5] Add missing allowPrivilegeEscalation into 1-serving-crds.yaml - #1301

Merged
skonto merged 1 commit into
openshift:release-v1.5from
nak3:add-missing-patch
Nov 3, 2022
Merged

skonto merged 1 commit into
openshift:release-v1.5from
nak3:add-missing-patch

Conversation

@nak3

@nak3 nak3 commented Nov 3, 2022

Copy link
Copy Markdown

@openshift-ci
openshift-ci Bot requested review from alanfx and rhuss November 3, 2022 14:21
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 3, 2022
@nak3

nak3 commented Nov 3, 2022

Copy link
Copy Markdown
Author

/cc @skonto

@openshift-ci
openshift-ci Bot requested a review from skonto November 3, 2022 14:58
@skonto

skonto commented Nov 3, 2022

Copy link
Copy Markdown

/lgtm

@skonto

skonto commented Nov 3, 2022

Copy link
Copy Markdown

I guess we cover all Configuration, Service and revision.

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Nov 3, 2022
@openshift-ci

openshift-ci Bot commented Nov 3, 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

@skonto

skonto commented Nov 3, 2022

Copy link
Copy Markdown

/test 49-e2e-aws-ocp-49

@skonto

skonto commented Nov 3, 2022 •

Copy link
Copy Markdown

@nak3

nak3 commented Nov 3, 2022

Copy link
Copy Markdown
Author

@skonto I found another script issue in this repo 😓
This repo is still using SO's manifest as https://github.com/openshift/knative-serving/blob/release-v1.5/openshift/e2e-common.sh#L182 so it is still failing by the same error with the SO's.

Could you manually merge this? I think this patch is necessary regardless of HA test fix or not.

@nak3

nak3 commented Nov 3, 2022

Copy link
Copy Markdown
Author

@skonto I found another script issue in this repo 

The script modifies the deployment which name is knative-operator https://github.com/openshift/knative-serving/blob/release-v1.5/openshift/e2e-common.sh#L122 but the knative-operator deployment does not exist anymore by openshift-knative/serverless-operator@7eb0ff4. So, the manifest in this repo is not used but SO repo's is used...

@openshift-ci

openshift-ci Bot commented Nov 3, 2022

Copy link
Copy Markdown

@nak3: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/48-e2e-aws-ocp-48 1aa3897 link true /test 48-e2e-aws-ocp-48
ci/prow/49-e2e-aws-ocp-49 1aa3897 link true /test 49-e2e-aws-ocp-49
ci/prow/411-e2e-aws-ocp-411 1aa3897 link true /test 411-e2e-aws-ocp-411
ci/prow/410-e2e-aws-ocp-410 1aa3897 link true /test 410-e2e-aws-ocp-410

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@skonto

skonto commented Nov 3, 2022 •

Copy link
Copy Markdown

@nak3 cherry-picked from main to 1.5 will do the same for the rest of the branches: #1302. Will scan branches again to check if we missed anything else.

@skonto

skonto commented Nov 3, 2022

Copy link
Copy Markdown

Merging so we move forward.

@skonto
skonto merged commit ddc2c42 into openshift:release-v1.5 Nov 3, 2022
@nak3
nak3 deleted the add-missing-patch branch November 8, 2022 02:11
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/knative-serving that referenced this pull request Nov 24, 2022
…e` on ksvc. (openshift#18)

* [RELEASE-1.5] [BACKPORT] Feature: Let users set allowPrivilegeEscalation (openshift#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 (openshift#1301)

* fix download script

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants