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

(new feature): get k8s manifests from pipeline #127

Open
zelig81 opened this issue Oct 30, 2024 · 2 comments
Open

(new feature): get k8s manifests from pipeline #127

zelig81 opened this issue Oct 30, 2024 · 2 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@zelig81
Copy link

zelig81 commented Oct 30, 2024

Intro to the problem

I have kustomization that uses helmChart, so the usual kubectl diff -k will not apply.

My workaround till now was:

kustomize build --enable-helm --load-restrictor LoadRestrictionsNone . | kubectl diff -f -

The only problem here is that for field is immutable I cannot get the real diff.

Proposal

  • could you add a possibility to kube-compare to get the manifests from the pipeline argument?
  • (optionally - but nice to have) if there is an immutable field to be changed, to show it as recreation as the simplest option
@lack
Copy link
Member

lack commented Nov 19, 2024

The first part of the proposal is probably pretty straightforward; accepting a list of objects on stdin if specifying -f -

Can you expand more on the 2nd part of your proposal? What happens with the tool now? What would you like to see instead?

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

3 participants