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

feat(companion-cli): add controller deployment manifests / crds to companion cli deploy command #27

Open
lander2k2 opened this issue Jun 10, 2022 · 0 comments

Comments

@lander2k2
Copy link
Contributor

For offline scenarios, it would be nice to only have to ship the binary to the offline environment and be able to deploy the manifests for the controller (taking into consideration that another process must exist to ship the image).

Something like:

myappctl crds install   # << deploys the generated crds
myappctl controller deploy --image myrepo/myimage:v1 --namespace my-controller-namespace   # << deploys the generated controller manifests

# or perhaps
myappctl controller deploy --image myrepo/myimage:v1 --namespace my-controller-namespace --crds   # << deploys the generated controller manifests with crds

This would more easily facilitate the idea of offline environments for completely air-gapped networks. Additionally, we can do things like ensure the image is locked down for those who need more secure scenarios.

NOTE: will likely have to tie into kustomize/controller-gen APIs to do such a thing as that is currently what is generating the manifests.

scottd018 pushed a commit that referenced this issue Jun 14, 2022
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