-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: garm v0.1.5 #158
Conversation
There was a problem hiding this 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
88fcd0d
to
4231a28
Compare
this adds the conversion generator from https://github.com/kubernetes/code-generator to generate conversion code Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
code got generated by make conversion 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>
69cc4f7
to
d3c3dc4
Compare
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
6738e00
to
00bc110
Compare
api/v1beta1/githubendpoint_types.go
Outdated
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 |
There was a problem hiding this comment.
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
There was a problem hiding this 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 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
34e9203
to
99827da
Compare
5b6f1b7
to
ec09567
Compare
Signed-off-by: Mario Constanti <mario.constanti@mercedes-benz.com>
ec09567
to
c153b89
Compare
This PR attempts to implement the new set of changes and api changes garm requires for its version v0.1.5. This includes:
Fixes #150, fixes #143, fixes #127, fixes #139
open ToDos:
1. list all pools for the given org
1. compare pool spec with given pool spec
1. always match first entry and reflect id back
1. if more matches, log a warning