skupperproject / skupper

Skupper is an implementation of a Virtual Application Network, enabling rich hybrid cloud communication.
http://skupper.io
Apache License 2.0
582 stars 72 forks source link

Link status doesnt work if the connection secret is not available #909

Open rmallam opened 1 year ago

rmallam commented 1 year ago

Hi,

I am deploying skupper using a custom helm chart in which all the certificates are pulled from Hashicorp vault at the time of skupper deployment. I use the same method to establish link between sites too and it works fine but when i try to get the link status, it doesn't work ,shows "No Links available". but if i do a "skupper network status", i am able to see the Remote site.

I understand that "Skupper link status" is looking for a connection secret but it doesn't exist in my way of deployment, is there a way to change this behaviour?

@ajssmith

Regards, Rakesh

grs commented 1 year ago

How does the router pod get the certificates in your case?

rmallam commented 1 year ago

@grs I am pulling the certificates from hashicorp vault and mounting them on to the Routerpod directly at the time of deployment. you can find the information here.

(https://github.com/rmallam/skupper-helm/blob/main/templates/deploy-skupper-router.yaml#L121)

grs commented 1 year ago

@rmallam does skupper network status give you what you need?

Our use of the term 'link' is known in some cases to be confusing. The original purpose of skupper link status was to indicate the status on a previous skupper link create command. The noun there really should be 'link-config' to be consistent. We need some more discussion around what the right change there is I think. However skupper network status is intended to give a view of the topology of the skupper network, and I'm hoping that will meet your needs for now?

rmallam commented 1 year ago

@grs skupper network status shows the required information but when i deploy skupper using helm , skupper network status command doesnt work, I raised this with @ajssmith this morning.