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

Cleaning up deployment, avoiding docker overrides #44

Merged
merged 10 commits into from
Mar 13, 2018

Conversation

ewoutp
Copy link
Contributor

@ewoutp ewoutp commented Mar 12, 2018

This PR changes the way a developer build & tests the operator.
The intent in to avoid pushing images to arangdb/arango-operator by accident.

With this PR you have to set a DOCKERNAMESPACE environent variable before calling make.
Set this variable to your docker account name.
If will result in docker images such as <yourDockerAccount>/arango-operator:dev

After building the docker image, a deployment manifest is build that contains everything needed
to run the operator (RBAC resources & deployment resource).
By default the deployment will be created in the default namespace.
To change this, set a DEPLOYMENTNAMESPACE environment variable before calling make.

To test the operator, run:

kubectl apply -f manifests/arango-operator-dev.yaml

@ewoutp ewoutp requested a review from neunhoef March 12, 2018 14:54
@ewoutp ewoutp mentioned this pull request Mar 12, 2018
Copy link
Member

@neunhoef neunhoef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ewoutp ewoutp merged commit 45461c3 into master Mar 13, 2018
@ewoutp ewoutp deleted the deployment-manifests branch March 13, 2018 09:38
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

Successfully merging this pull request may close these issues.

2 participants