-
Notifications
You must be signed in to change notification settings - Fork 49
pkg/components: add Headlamp component #981
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.
Hmm, I think we should also include headlamp in CI configuration and have some basic e2e tests for it.
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.
Hmm, I think we should also include headlamp in CI configuration and have some basic e2e tests for it.
Will add basic tests.
@iaguis can you address the reviews. Or do you mind someone taking it over? |
6aa6c7d
to
8c693f2
Compare
@iaguis make sure to pull the reviewers again when you are done addressing review comments. Resolving existing conversations when they are addressed is also helpful while doing another rounds of reviews :) |
Yes, I was waiting for CI to pass and I didn't realize it was passing already :D |
8c693f2
to
45121b0
Compare
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.
Looks mostly good, though I'd change commits a bit, as right now it is difficult to review the PR commit by commit.
f59eaf7
to
e40715d
Compare
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.
NIT picks. We are using unmarshaling
in our test cases elsewhere.
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.
Awesome update @iaguis, I think there is still few bits which could be improved, but it looks very nice already!
7d3f101
to
2d9074e
Compare
2d9074e
to
c70187f
Compare
Addressed review. I've moved it to the |
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.
Small test changes
c70187f
to
a615385
Compare
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.
Just one tiny nit, but I'm fine with it.
Nice work @iaguis, LGTM 👍 ✔️ 🎉
It checks that the deployment is created and converges.
We weren't taking into account the test structure component name and were using the hardcoded "httpbin" string. This means we were only testing the httpbin component. This uses the component name from the test structure. Also, this changes the hardcoded "get" subpath to a parameter so we can access the right Prometheus Operator URL.
This refactors the HTTP access code so it can be reused later for the Headlamp ingress test.
a615385
to
983e618
Compare
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.
Nice work. Looks great 🔥
Fixes #988