Skip to content

Which API gives you the Access URLs? #3996

Discussion options

You must be logged in to vote

hi @sehrishnaseer, thanks for participating in the Kubeapps community!

Since v2.4.2 you can find that information through the operation GetResources of the resources plugin.

For example, if you want to get data of the my-wordpress service in the default ns:

grpcurl -plaintext \
  -d '{"installed_package_ref": {"context": {"cluster": "default", "namespace": "default"}, "plugin": {"name": "helm.packages", "version": "v1alpha1"}, "identifier": "mywordpress"} }' \
  -H "Authorization: Bearer $TOKEN" localhost:8080 \
  kubeappsapis.plugins.resources.v1alpha1.ResourcesService.GetResources | jq -s -r '.[] | select((.resourceRef.kind=="Service") and (.resourceRef.name=="mywordpress")) | .manifest…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sehrishnaseer
Comment options

Answer selected by antgamdia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants