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

Secure Communication Channels via TLS #75

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

benjaminhettwer
Copy link

No description provided.

@benjaminhettwer benjaminhettwer requested a review from a team as a code owner August 13, 2024 08:23
Signed-off-by: Benjamin Hettwer <[email protected]>
Copy link

codecov bot commented Aug 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.81%. Comparing base (7ce9f83) to head (80d7ec2).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #75      +/-   ##
==========================================
- Coverage   82.29%   80.81%   -1.48%     
==========================================
  Files          29       29              
  Lines        3158     3248      +90     
==========================================
+ Hits         2599     2625      +26     
- Misses        485      544      +59     
- Partials       74       79       +5     
Flag Coverage Δ
service 80.81% <ø> (-1.48%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 8 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7ce9f83...80d7ec2. Read the comment docs.

Copy link
Member

@sbckr sbckr left a comment

Choose a reason for hiding this comment

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

Thank you for this PR.

Please have a look at the individual comments.

Copy link
Member

Choose a reason for hiding this comment

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

Please update Copyright Header

{{- if .Values.discovery.tls.enabled }}
- port:
number: 31400
name: grpc-my
Copy link
Member

Choose a reason for hiding this comment

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

hmm I know it was named grpcy-my before, but eventually rename to sth like cs-grpc here and below

Copy link
Member

Choose a reason for hiding this comment

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

Please update Header

Copy link
Member

Choose a reason for hiding this comment

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

Please update Copyright Header

Copy link
Member

Choose a reason for hiding this comment

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

Please update Copyright Header

Copy link
Member

Choose a reason for hiding this comment

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

as file was touched either update copyright header or undo changes 😉

Copy link
Member

Choose a reason for hiding this comment

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

Please update Copyright Header

@@ -167,9 +170,14 @@ func (r *ReconcileNetwork) Reconcile(request reconcile.Request) (reconcile.Resul
return reconcile.Result{}, err
}

log.Info(fmt.Sprintf("Reconcile with the config:\n%+v", r.config))
if err != nil {
Copy link
Member

Choose a reason for hiding this comment

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

why checking error and panic? err was already checked before, wasn't it?

@@ -137,6 +154,13 @@ type DiscoveryClientTypedConfig struct {
ConnectTimeout time.Duration
}

// K8sSecret represents the structure containing key, cert, and CA cert
type K8sSecret struct {
Copy link
Member

Choose a reason for hiding this comment

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

where is it used?

pkg/utils/os.go Outdated
Copy link
Member

Choose a reason for hiding this comment

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

Please update Copyright Header

@sbckr
Copy link
Member

sbckr commented Sep 17, 2024

@benjaminhettwer btw. please add yourself to the NOTICE.md file

Signed-off-by: Benjamin Hettwer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants