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

Allow remote installation #154

Closed
LCaparelli opened this issue Sep 20, 2020 · 0 comments · Fixed by #166
Closed

Allow remote installation #154

LCaparelli opened this issue Sep 20, 2020 · 0 comments · Fixed by #166
Assignees
Labels
enhancement 👑 New feature or request good first issue Good for newcomers Hacktoberfest
Milestone

Comments

@LCaparelli
Copy link
Member

LCaparelli commented Sep 20, 2020

Today users who would like to install the Operator without OLM would use the steps described in our quick install guide. While it works great, the user must have the project's files locally, as it uses our Makefile which in turn runs the actual installation script (which also requires locally downloaded files).

kubectl is capable of fetching resources using HTTP, like so:

$ kubectl apply -f https://raw.githubusercontent.com/m88i/nexus-operator/main/deploy/operator.yaml

And yaml syntax allows having several yaml in the same file, meaning we could compile deploy/operator.yaml, deploy/role_binding.yaml, deploy/role.yaml and deploy/service_account.yaml into a single file and then simply apply it, thus rendering hack/install.sh obsolete.

Installing it remotely would be as simple as:

$ kubectl apply -f https://raw.githubusercontent.com/m88i/nexus-operator/<some path>/operator.yaml

The README quick install section would also need to be updated to reflect the new instructions.

@LCaparelli LCaparelli added enhancement 👑 New feature or request good first issue Good for newcomers Hacktoberfest labels Sep 20, 2020
@LCaparelli LCaparelli changed the title Write script for remote installation Allow remote installation Sep 22, 2020
ricardozanini added a commit that referenced this issue Oct 4, 2020
ricardozanini added a commit that referenced this issue Oct 8, 2020
@ricardozanini ricardozanini self-assigned this Oct 8, 2020
@ricardozanini ricardozanini added this to the v0.4.0 milestone Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 👑 New feature or request good first issue Good for newcomers Hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants