-
Notifications
You must be signed in to change notification settings - Fork 90
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
SecureComms: Fix needed following changes in other components #2073
SecureComms: Fix needed following changes in other components #2073
Conversation
f298965
to
cd3c315
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.
The code changes look ago to me. Is anyone able to manually test this to validate it works in the SecureComms configuration?
b4c8398
to
e82a59a
Compare
cc: @bpradipt |
e82a59a
to
5679447
Compare
I've tried to test this code change and doc (creating CAA image quay.io/stevenhorsman/cloud-api-adaptor:dev-3fa7867a7499f2a636179f83c68174330812113d-dirty and podvm quay.io/stevenhorsman/podvm-generic-ubuntu-amd64:80da436ca39f40d439da987a3c83271f9dffb0ae3ac5dc9283a7ce8d6a112c97) and it doesn't work for me. The agent proxy never connected and times out after 5mins:
Has anyone else successfully tested this - and tips for what I did wrong here? |
Did you follow the instructions to activate secure comms in SecureComms.md?
The Caa in your envirinment is not configured to activate SecureComms. You
can see this since caa is approaching 192.168.122.33:15150.
When the peerpod
ConfigMap is configured correctly, caa should approach 192.168.122.33:2222 instead. The proxy agent will later approach some local port instead of a peerpod port.
|
This is my peer-pod-cm:
|
Ok, I've got it working. The doc doesn't mention that after editing
|
5679447
to
d3c1eac
Compare
1. Trustee Operator had changed the namespace 2. CAA had removed the SecureComms default kbs address Use InitData to set the kbs address instead Signed-off-by: David Hadas <[email protected]>
d3c1eac
to
c3d306c
Compare
SecureComms.md is now modified to include:
|
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.
LGTM and the doc fixes should resolve the issues I hit when testing this. Thanks @davidhadas!
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.
/lgtm
Change the trustee operator namespace
Add necessary initData to get SecureComms to work