Skip to content
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

Add functionality to be able to run lagoon-facts in a custom task. #22

Open
bomoko opened this issue Nov 24, 2021 · 0 comments
Open

Add functionality to be able to run lagoon-facts in a custom task. #22

bomoko opened this issue Nov 24, 2021 · 0 comments

Comments

@bomoko
Copy link
Collaborator

bomoko commented Nov 24, 2021

Currently, we assume that lagoon-facts is going to be run inside a cli pod.
In moving to custom tasks, we could run lagoon-facts in cli pods/services - however, there is the possibility that a project doesn't use the cli service.
In this case, we'd still like to be able to run lagoon-facts.

To this end, it would be good to be able to run this app in a custom task. Specifically, it would be good to be able to run these as a custom image.

To this end, we'd like to enhance the lagoon-facts app to

  1. Make facts K8S aware (so we can load access tokens and list services in the current namespaces)
  2. where gatherers run, we need to be able to support either running directly in the current environment (how it currently works) OR exec'ing into running containers.

This will allow us to run gathers in multiple contexts (either directly in a collection environment or by execing into running environments from a task)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant