-
-
Notifications
You must be signed in to change notification settings - Fork 734
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: ibm provider implementation #235
feat: ibm provider implementation #235
Conversation
16baed2
to
e8af112
Compare
/ok-to-test sha=e8af112 |
Gonna add docs and e2e tests on another PR later |
/ok-to-test sha=1427997 |
1 similar comment
/ok-to-test sha=1427997 |
Hmm 🤔 so when github actions is slow our e2e tests fail to start and gets timed out |
/ok-to-test sha=1427997 |
/ok-to-test sha=67a1ba5 |
@moolen where do we set this specific timeout? I saw in the code we setting timeouts for waiting for URLs and for waiting for responses, but not for the framework/setup to start. |
/ok-to-test sha=e8af112 |
/ok-to-test sha=1427997 |
In the logs of this run i see:
I would assume that we need to specify Also, the kind node is NotReady in this test, it was ready previously.... weird 🤷♂️ |
/ok-to-test sha=82efb8e |
The NotReady did not catch my eye before 😂 I am gonna check it out |
/ok-to-test sha=ee50ee8 |
Co-authored-by: Sebastián Gómez <sebastiangomezcorrea@gmail.com> Co-authored-by: Lucas Severo <lucassalves65@gmail.com> Co-authored-by: Joey Brayshaw <joeybrayshaw@gmail.com> Co-authored-by: Elsa Chelala <elsachelala@gmail.com> Co-authored-by: choilmto <choilmto@gmail.com> Co-authored-by: Adrian Mouat <adrian.mouat@gmail.com> Co-authored-by: ricardoptcosta <ricardoptcosta@gmail.com> Co-authored-by: Gabi Beyer <Gabrielle.Beyer@container-solutions.com> Co-authored-by: Tomasz Tarczynski <ttarczynski@users.noreply.github.com> Co-authored-by: Mircea Cosbuc <mircea.cosbuc@container-solutions.com>
/ok-to-test sha=812ddf4 |
@moolen ok, now it worked. Upgraded kind and increased some timeouts: https://github.com/external-secrets/external-secrets/runs/2973310813?check_suite_focus=true |
} | ||
response, _, err := ibm.IBMClient.GetSecret( | ||
&sm.GetSecretOptions{ | ||
SecretType: core.StringPtr(sm.GetSecretOptionsSecretTypeArbitraryConst), |
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.
must the secret_type
match with the secret id? E.g. what happens if we request type=arbitrary
when the secret is actually a type=imported_cert
?
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.
It has to match. If we request a type=arbitrary
and we have a type=imported_cert
on the SM, it will fail with key \"x-x-x-x\" from ExternalSecret \"example\": Not Found"
. I would say we only support type=arbitrary
for now.
I am going to update the docs.
bd7c50d
to
18b365b
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.
Cool, Looks good to me! Lets get it in as it is RN and add the missing bits later!
/merge |
We worked on this one doing mob programming with some people at CS. Some tried Golang for the first time, some are even new to kubernetes. I think this is pretty cool 😄
This is just a basic GetSecret and GetSecretMap implementation. Still missing e2e tests and support for the property field.
Closes #66