Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Refactor things to clarify which functions are for which platform #8

Merged
merged 1 commit into from
May 14, 2019

Conversation

jcrossley3
Copy link
Contributor

This also introduces the idea of configuring the resources before
they're applied, which in hindsight makes more sense, i.e. make the
first configmap the controllers see the correct one.

We may want to do the same for the config in the Install CR, but
because I'm still unsure whether having the config in there at all is
a good idea, I'm keeping it post-install, mostly because the logging
is set up to show previous values of whatever it overwrites. Doing
that pre-install would require manifestival enhancements.

Another thing pre-install config solves is swimming upstream against
the controller-runtime caching client, which occasionally fails to
find newly-created resources as the informer doesn't yet know about
them.

See kubernetes-sigs/controller-runtime#180
for more info.

This also introduces the idea of configuring the resources *before*
they're applied, which in hindsight makes more sense, i.e. make the
first configmap the controllers see the correct one.

We may want to do the same for the config in the Install CR, but
because I'm still unsure whether having the config in there at all is
a good idea, I'm keeping it post-install, mostly because the logging
is set up to show previous values of whatever it overwrites. Doing
that pre-install would require manifestival enhancements.

Another thing pre-install config solves is swimming upstream against
the controller-runtime caching client, which occasionally fails to
find newly-created resources as the informer doesn't yet know about
them.

See kubernetes-sigs/controller-runtime#180
for more info.
@jcrossley3 jcrossley3 merged commit 4a43d9d into master May 14, 2019
@jcrossley3 jcrossley3 deleted the platformFunk branch May 14, 2019 14:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant