Skip to content
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

Remove SelfSigned issuer from released transport-encryption artifacts #7905

Merged
merged 2 commits into from May 10, 2024

Conversation

pierDipi
Copy link
Member

@pierDipi pierDipi commented May 8, 2024

Using a SelfSigned issuer is not recommended by cert-manager and currently we're shipping it in the tranport-encryption feature artifact.

Moving forward, we will not ship a SelfSigned issuer in the eventing-tls-networking.yaml artifacts and we will document, as a prerequisite, how to create a ClusterIssuer for eventing components so that by users can bring their own choosen issuer [1].

[1] https://cert-manager.io/docs/concepts/issuer/

Fixes #

Proposed Changes

  • Remove SelfSigned issuer from released transport-encryption artifacts
  • Add SelfSigned to the test configuration

Pre-review Checklist

  • At least 80% unit test coverage
  • E2E tests for any new behavior
  • Docs PR for any user-facing impact
  • Spec PR for any new API feature
  • Conformance test for any change to the spec

Release Note

Remove `SelfSigned` issuer from released `transport-encryption` artifacts.
To continue using the `transport-encryption` feature, Eventing components require a pre-created `ClusterIssuer` with name `knative-eventing-ca-issuer`. For more details, refer to the `transport-encryption` feature documentation.

Docs

Using a SelfSigned issuer is not recommended by cert-manager and
currently we're shipping it in the tranport-encryption feature
artifact.

Moving forward, we will not ship a SelfSigned issuer in the
`eventing-tls-networking.yaml` artifacts and we will document,
as a prerequisite, how to create a `ClusterIssuer` for eventing
components so that by users can bring their own choosen issuers [1].

[1] https://cert-manager.io/docs/concepts/issuer/

Signed-off-by: Pierangelo Di Pilato <[email protected]>
@knative-prow knative-prow bot added area/test-and-release Test infrastructure, tests or release size/S Denotes a PR that changes 10-29 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels May 8, 2024
@pierDipi
Copy link
Member Author

pierDipi commented May 8, 2024

/cc @creydr @ReToCode

@knative-prow knative-prow bot requested review from creydr and ReToCode May 8, 2024 10:21
@creydr
Copy link
Member

creydr commented May 8, 2024

@pierDipi can you fix the boilerplate issue?

Copy link

codecov bot commented May 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.13%. Comparing base (7e1c082) to head (0cbefa3).
Report is 36 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7905      +/-   ##
==========================================
- Coverage   69.22%   69.13%   -0.09%     
==========================================
  Files         339      341       +2     
  Lines       19494    15829    -3665     
==========================================
- Hits        13494    10943    -2551     
+ Misses       5337     4213    -1124     
- Partials      663      673      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pierDipi
Copy link
Member Author

pierDipi commented May 8, 2024

@creydr I've just copied this file from another placeholder, so I think it's ok to ignore the error there

@pierDipi pierDipi force-pushed the no-selfsigned-issuer branch 2 times, most recently from ab5edb7 to 8eeee70 Compare May 9, 2024 08:50
@knative-prow knative-prow bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 9, 2024
@knative-prow knative-prow bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 9, 2024
Copy link
Member

@creydr creydr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label May 10, 2024
Copy link

knative-prow bot commented May 10, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: creydr, pierDipi

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

The pull request process is described here

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

@knative-prow knative-prow bot merged commit 1cc8179 into knative:main May 10, 2024
32 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/test-and-release Test infrastructure, tests or release lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants