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

Reconcile #270

Merged
merged 1 commit into from
Aug 17, 2020
Merged

Reconcile #270

merged 1 commit into from
Aug 17, 2020

Conversation

alecmerdler
Copy link
Contributor

Description

Deploy all Kubernetes objects when a QuayRegistry is created. Deployed objects are cleaned up by native k8s garbage collection using ownerReferences.

Testing

E2E Tests:

$ go test -v ./controllers

Manual:

  1. In one terminal, run the Operator locally:
$ go run main.go
  1. In another terminal, create your base Quay config Secret:
$ kubectl create secret -n <your-namespace> generic --from-file=config.yaml=./kustomize/app/bundle/config.yaml quay-config-secret-123abc
  1. Create your QuayRegistry:
$ kubectl create -n skynet-registry -f ./config/samples/quay.redhat.com_v1_quayregistry.yaml
  1. Watch the logs from the Operator process to see the objects being created. Check your Kubernetes cluster to confirm everything was deployed.

  2. For teardown, simply delete the QuayRegistry. Everything will be cleaned up automatically by k8s garbage collection using ownerReferences.

Fulfills https://issues.redhat.com/browse/PROJQUAY-827

@alecmerdler alecmerdler merged commit b3a5849 into quay:master Aug 17, 2020
@alecmerdler alecmerdler deleted the reconcile branch August 17, 2020 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant