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: garm v0.1.5 #158

Merged
merged 30 commits into from
Oct 21, 2024
Merged

feat: garm v0.1.5 #158

merged 30 commits into from
Oct 21, 2024

Conversation

rafalgalaw
Copy link
Collaborator

@rafalgalaw rafalgalaw commented Aug 20, 2024

This PR attempts to implement the new set of changes and api changes garm requires for its version v0.1.5. This includes:

  • New Credentials API
  • New Endpoint API
  • Update Garm Server Config Urls via CR

Fixes #150, fixes #143, fixes #127, fixes #139

open ToDos:

PROJECT Outdated Show resolved Hide resolved
@rafalgalaw rafalgalaw marked this pull request as ready for review September 9, 2024 07:04
PROJECT Show resolved Hide resolved
Copy link
Member

@bavarianbidi bavarianbidi left a comment

Choose a reason for hiding this comment

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

As discussed, let's introduce a new API group

api/v1alpha1/enterprise_types.go Outdated Show resolved Hide resolved
PROJECT Outdated Show resolved Hide resolved
PROJECT Outdated Show resolved Hide resolved
PROJECT Outdated Show resolved Hide resolved
rafalgalaw and others added 2 commits October 16, 2024 16:36
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
APIBaseURL string `json:"apiBaseUrl,omitempty"`
UploadBaseURL string `json:"uploadBaseUrl,omitempty"`
BaseURL string `json:"baseUrl,omitempty"`
CACertBundle []byte `json:"caCertBundle,omitempty"` // TODO: This should be a secret reference
Copy link
Member

Choose a reason for hiding this comment

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

@rafalgalaw have you already thought about that?

It's optional (from a garm POV) and only needed, if the garm server doesn't trust the CA.
At least in our case we do not need it. But for others it might be relevant ...

I would prefer a secret ref as well

Copy link
Member

Choose a reason for hiding this comment

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

as discussed, let's move this towards a secret ref and raise a new PR for this.

In this PR we will remove this field

as we do not do pool adoption anymore we can get rid of the test case as
well
PROJECT Outdated Show resolved Hide resolved
@bavarianbidi bavarianbidi force-pushed the feat/garm-v0.1.5 branch 2 times, most recently from 5b6f1b7 to ec09567 Compare October 21, 2024 12:34
@bavarianbidi bavarianbidi added this to the support for garm > 0.1.4 milestone Oct 21, 2024
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
@rafalgalaw rafalgalaw merged commit ee9029d into main Oct 21, 2024
4 checks passed
@rafalgalaw rafalgalaw deleted the feat/garm-v0.1.5 branch October 21, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants