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

Improve InternalTLSEnabled util function #847

Merged
merged 2 commits into from
Aug 28, 2023

Conversation

nak3
Copy link
Contributor

@nak3 nak3 commented Aug 28, 2023

Currently InternalTLSEnabled() has two issues such as:

  • true is returned when dataplane-trust is not configured. (The current default is disabled.)
  • controlplane-trust is not considered.

This patch improves these issues.

/kind enhancement

Release Note

NONE

Currently `InternalTLSEnabled()` has two issues such as:

* `true` is returned when `dataplane-trust` is not configured.
* `controlplane-trust` is not considered.

This patch improves these issues.
@knative-prow knative-prow bot added kind/enhancement approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 28, 2023
@knative-prow knative-prow bot requested review from ReToCode and skonto August 28, 2023 06:13
@knative-prow knative-prow bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 28, 2023
@codecov
Copy link

codecov bot commented Aug 28, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.24% ⚠️

Comparison is base (1d7920d) 82.50% compared to head (d0624a4) 82.26%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #847      +/-   ##
==========================================
- Coverage   82.50%   82.26%   -0.24%     
==========================================
  Files          45       45              
  Lines        1715     1720       +5     
==========================================
  Hits         1415     1415              
- Misses        259      264       +5     
  Partials       41       41              
Files Changed Coverage Δ
pkg/config/config.go 79.79% <0.00%> (-2.07%) ⬇️

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

Copy link
Member

@ReToCode ReToCode 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 Aug 28, 2023
@knative-prow
Copy link

knative-prow bot commented Aug 28, 2023

[APPROVALNOTIFIER] This PR is APPROVED

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

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 1e4e183 into knative:main Aug 28, 2023
23 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. kind/enhancement 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.

2 participants