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

Impossibile to use gpm module in environments with constrained Internet access #21

Closed
lnovara opened this issue Jan 15, 2021 · 5 comments · Fixed by #51
Closed

Impossibile to use gpm module in environments with constrained Internet access #21

lnovara opened this issue Jan 15, 2021 · 5 comments · Fixed by #51
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Milestone

Comments

@lnovara
Copy link
Contributor

lnovara commented Jan 15, 2021

I am not able to deploy the gpm module in an environment with constrained Internet access since we're pulling the Kustomize base directly from GitHub.

I know that it will lead to some duplications, but can we consider to just add the manifests to this repository as well instead of pulling the base from GitHub?

Thank you.

@lnovara lnovara added the question Further information is requested label Jan 15, 2021
@lnovara lnovara changed the title Impossibile to use gpm module in environment with constrained Internet access Impossibile to use gpm module in environments with constrained Internet access Jan 15, 2021
@angelbarrera92
Copy link
Contributor

🤔 And how do you download the base OPA module?

@ralgozino
Copy link
Member

I have the same doubt that @angelbarrera92 but if it helps maybe we could make GPM's repo furyctl-compatible so you could add it to your Furyfile, shouldn't be too much effort

@lnovara
Copy link
Contributor Author

lnovara commented Jan 15, 2021

🤔 And how do you download the base OPA module?

The base OPA module is vendored through furyctl and committed to a git repo that than is pulled from a machine with access to both the repo and the cluster.

@angelbarrera92
Copy link
Contributor

🤔 And how do you download the base OPA module?

The base OPA module is vendored through furyctl and committed to a git repo that than is pulled from a machine with access to both the repo and the cluster.

Understood. Now we have to think about how to solve this problem

@ralgozino
Copy link
Member

Being that kustomize is dropping support for remote resources in v4. This issue will become more important, and not just a problem in internet-constrained environments.

Some options that I can think of are:

  • Duplicate the yaml files as Luca suggested.
  • Create a fury-kubernetes-apps repo where we could put the all yamls for this kind of "shared" apps manifests.
  • Add support in furyctl to specify in the Furyfile the URL from where to download the base overriding the dynamic generated one -as we do for the version-, If the URL field is not set, used the dynamic one.

See also as reference:
fluxcd/flux2#918

Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants