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

Manifest applying #38

Merged
merged 3 commits into from
Jul 2, 2020
Merged

Manifest applying #38

merged 3 commits into from
Jul 2, 2020

Conversation

jnummelin
Copy link
Collaborator

@jnummelin jnummelin commented Jul 1, 2020

Most of the pain is from the fat that cli-utils is not really properly designed to be used as library. The cobra command stuff leaks around like hell.

As discussed on slack, had to "revert" to flat model as dir-per-bundle model had serious destroy issues with cli-utils.

Signed-off-by: Jussi Nummelin jnummelin@mirantis.com

fixes #28

Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
@jnummelin jnummelin changed the title Initial skeleton for resource applier functionality Manifest applying Jul 1, 2020
@jnummelin jnummelin marked this pull request as ready for review July 1, 2020 10:27
@jnummelin jnummelin requested review from jakolehm and ncopa July 1, 2020 10:28
cmd/server.go Outdated Show resolved Hide resolved
pkg/applier/manager.go Show resolved Hide resolved
@jnummelin jnummelin mentioned this pull request Jul 1, 2020
Signed-off-by: Jussi Nummelin <jnummelin@mirantis.com>
Copy link
Collaborator

@jakolehm jakolehm left a comment

Choose a reason for hiding this comment

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

LGTM. I think we might want to replace cli-utils somewhere in the future.

@jnummelin
Copy link
Collaborator Author

jnummelin commented Jul 1, 2020

I think we might want to replace cli-utils somewhere in the future.

absolutely. Given that we find something that fulfills the needs or we have time to implement the "stack" concept as a separate lib

Copy link
Collaborator

@ncopa ncopa left a comment

Choose a reason for hiding this comment

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

LGTM

@jnummelin jnummelin merged commit e627cf0 into main Jul 2, 2020
@jnummelin jnummelin deleted the manifest-applier branch July 2, 2020 06:54
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.

Option to "apply" kubernetes manifests from a local folder
3 participants