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

Feat/https for everyone #145

Merged
merged 7 commits into from
Jun 6, 2024
Merged

Feat/https for everyone #145

merged 7 commits into from
Jun 6, 2024

Conversation

niklastreml
Copy link
Collaborator

@niklastreml niklastreml commented Jun 5, 2024

Motivation

Closes #144

This pr implements the features requested in #144

Serve API over https

Adds a tls config to allow configuring the server to use https instead of http

HTTP targets in targetmanager

Changes the targetmanager to allow non https targets by setting a new scheme value in the config

Enabled flag for targetmanager

To make our lives a bit easier when dealing with default values, I've added a flag to the targetManager config for enabling it explicitly instead of implicitly enabling it as we did before

Changes

For additional information look at the commits.

Tests done

  • Unit tests succeeded
  • E2E tests succeeded

TODO

  • I've assigned this PR to myself
  • I've labeled this PR correctly
  • I've fixed the tests

@niklastreml niklastreml added feature Introduces a new feature request/internal Indicates an internal feature request security Security improvements or additions area/api Issues/PRs related to the API area/target-manager Issues/PRs related to the TargetManager labels Jun 5, 2024
@niklastreml niklastreml self-assigned this Jun 5, 2024
@niklastreml niklastreml linked an issue Jun 5, 2024 that may be closed by this pull request
1 task
Signed-off-by: Niklas Treml <[email protected]>
@y-eight
Copy link
Member

y-eight commented Jun 6, 2024

Looks quite good to me!

Copy link
Collaborator

@puffitos puffitos left a comment

Choose a reason for hiding this comment

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

LGTM.

pkg/sparrow/targets/manager.go Outdated Show resolved Hide resolved
@niklastreml niklastreml marked this pull request as ready for review June 6, 2024 08:39
@niklastreml niklastreml merged commit c19585a into main Jun 6, 2024
13 checks passed
@niklastreml niklastreml deleted the feat/https-for-everyone branch June 6, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Issues/PRs related to the API area/target-manager Issues/PRs related to the TargetManager feature Introduces a new feature request/internal Indicates an internal feature request security Security improvements or additions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Expose api server over HTTPS
3 participants