Skip to content

Add transport-encryption feature flag#6845

Merged
knative-prow[bot] merged 6 commits intoknative:mainfrom
Rahul-Kumar-prog:Rahulkumar-6836
Apr 5, 2023
Merged

Add transport-encryption feature flag#6845
knative-prow[bot] merged 6 commits intoknative:mainfrom
Rahul-Kumar-prog:Rahulkumar-6836

Conversation

@Rahul-Kumar-prog
Copy link
Contributor

Fixes #6836

Proposed Changes

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


Docs

@knative-prow knative-prow bot requested review from creydr and matzew April 4, 2023 20:45
@knative-prow knative-prow bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Apr 4, 2023
@knative-prow
Copy link

knative-prow bot commented Apr 4, 2023

Hi @Rahul-Kumar-prog. Thanks for your PR.

I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@Rahul-Kumar-prog
Copy link
Contributor Author

@pierDipi I did some spelling and feature explaining mistake. but I will take care of it next time.

Other than this everything is fine ?

Rahul-Kumar-prog and others added 4 commits April 5, 2023 12:02
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
@pierDipi
Copy link
Member

pierDipi commented Apr 5, 2023

/ok-to-test

@knative-prow knative-prow bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Apr 5, 2023
@pierDipi
Copy link
Member

pierDipi commented Apr 5, 2023

@pierDipi I did some spelling and feature explaining mistake. but I will take care of it next time.

Other than this everything is fine ?

Yes, no worries, thank you!

@pierDipi
Copy link
Member

pierDipi commented Apr 5, 2023

For some reason, GH actions are not running 🤔

@pierDipi pierDipi closed this Apr 5, 2023
@pierDipi pierDipi reopened this Apr 5, 2023
@pierDipi
Copy link
Member

pierDipi commented Apr 5, 2023

Ok, now they are

@codecov
Copy link

codecov bot commented Apr 5, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.06 ⚠️

Comparison is base (f6ca59b) 80.45% compared to head (42276c9) 80.40%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6845      +/-   ##
==========================================
- Coverage   80.45%   80.40%   -0.06%     
==========================================
  Files         236      236              
  Lines       12213    12243      +30     
==========================================
+ Hits         9826     9844      +18     
- Misses       1896     1907      +11     
- Partials      491      492       +1     
Impacted Files Coverage Δ
pkg/apis/feature/features.go 65.62% <0.00%> (-21.88%) ⬇️

... and 3 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Comment on lines +48 to +49
# ALPHA feature: The transport-encryption flag allows you to encrypt events in transit using the transport layer security (TLS) protocol.
# For more details: https://github.com/knative/eventing/issues/5957
Copy link
Member

@pierDipi pierDipi Apr 5, 2023

Choose a reason for hiding this comment

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

There is a lint issue at line 49: https://github.com/knative/eventing/actions/runs/4617248930/jobs/8163277093?pr=6845

[trailing whitespace] reported by reviewdog 🐶
  transport-encryption: "disabled" 

Raw Output:
config/core/configmaps/features.yaml:49:  transport-encryption: "disabled" 

Copy link
Contributor Author

@Rahul-Kumar-prog Rahul-Kumar-prog Apr 5, 2023

Choose a reason for hiding this comment

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

ohh that whitespace stoping GH actions ? i keep this thing in my mind. Thankyou so much @pierDipi for helping me.

Copy link
Member

Choose a reason for hiding this comment

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

No worries, we have these automated checks so that they help us

Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Copy link
Member

@pierDipi pierDipi left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Apr 5, 2023
@knative-prow
Copy link

knative-prow bot commented Apr 5, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pierDipi, Rahul-Kumar-prog

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

@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 5, 2023
@pierDipi
Copy link
Member

pierDipi commented Apr 5, 2023

Thanks @Rahul-Kumar-prog

@knative-prow knative-prow bot merged commit d991040 into knative:main Apr 5, 2023
vishal-chdhry pushed a commit to vishal-chdhry/eventing that referenced this pull request Apr 25, 2023
Fixes knative#6836 

<!-- Please include the 'why' behind your changes if no issue exists -->

## Proposed Changes

<!-- Please categorize your changes:
- 🎁 Add new feature
- 🐛 Fix bug
- 🧹 Update or clean up current behavior
- 🗑️ Remove feature or internal logic
-->

-
-
-

### Pre-review Checklist

<!-- If these boxes are not checked, you will be asked to complete these
requirements or explain why they do not apply to your PR. -->

- [ ] **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**

<!--
📄 If this change has user-visible impact, write a release
note in the block
below. Include the string "action required" if additional action is
required of
users switching to the new release, for example in case of a breaking
change.

Write as if you are speaking to users, not other Knative contributors.
If this
change has no user-visible impact, no release note is needed.
-->

```release-note

```


**Docs**

<!--
📖 If this change has user-visible impact, link to an issue or PR in
https://github.com/knative/docs.
-->

---------

Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
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. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Eventing TLS: Add transport-encryption feature flag

2 participants