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

Use ownerReferences with CRD #38

Closed
lilic opened this issue Aug 4, 2017 · 2 comments
Closed

Use ownerReferences with CRD #38

lilic opened this issue Aug 4, 2017 · 2 comments
Assignees

Comments

@lilic
Copy link
Contributor

lilic commented Aug 4, 2017

Using OwnerReferences allows us to define relationships between Resources, so that deleting an owner can automatically delete owned resources.

Currently, we use OwnerReferences to associate a ConfigMap with a Deployment.

It could be useful to make all Resources we create dependent on the CustomResource, but there might currently be problems with that.

@lilic lilic changed the title Use ownerReferences Use ownerReferences with CRD Aug 11, 2017
@asymmetric
Copy link
Contributor

The issues seem to have been solved.

@lilic
Copy link
Contributor Author

lilic commented Jan 30, 2018

@asymmetric Yes, we can use that now in the operator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants