-
Notifications
You must be signed in to change notification settings - Fork 8
Avoid replacing seccompProfile in CRD files #148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid replacing seccompProfile in CRD files #148
Conversation
| # 3. Replace serving.knative.dev/release label. | ||
| # 4. Remove seccompProfile, except on CRD files in 300-resources folder to avoid breaking CRDs. | ||
| if [[ $file == config/core//300-resources/* ]]; then | ||
| if [[ $file == */300-resources/* ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another option would be to remove slashes with echo $file | sed s#//*#/#g.
|
/lgtm hold for tests |
|
/lgtm |
|
Tests are passing |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ReToCode, skonto The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* [SRVKS-988] Drop duplicate manifests (#81) * Drop duplicate manifests * keep * Drop openshift/release/artifacts * Add correct version * Revert Makefile * Set label version based on the branch name * [SRVKS-1000] Use SO repo's script to install serverless (#89) * Drop CI yamls * Avoid replacing seccompProfile in CRD files (#148) * Fix seccompProfile: * Drop 006-secure-pod-defaults.patch * Fix invalid new line in domainmapping --------- Co-authored-by: Reto Lehmann <retocode@icloud.com>
The script is called for multiple paths, unfortunately the different base paths result in different amount of trailing/leading slashes:
vs.
Tested in #147
/hold for tests