Comments (9)
@WoodyWoodsta PR is welcome.
from helmfile.
@WoodyWoodsta From the code. In sync subcommand, no logic for interactive.
from helmfile.
Ok thanks for the investigation. This seems like a fairly consequential missing feature, and at the least quite misleading documentation. The sync
command can be considered a dangerous command with respect to an entire cluster, so reading in --help
that interactive will confirm before making changes to the cluster as a global flag makes it appear as though it will behave the way I expected.
Which commands does --interactive
apply to?
from helmfile.
@WoodyWoodsta I will try to add it in sync. wait my PR or your PR. haha
from helmfile.
Thanks @yxxhero - if I get some time I can have a quick look but I work full-time, so we'll see 😄
from helmfile.
@WoodyWoodsta OpenSource requires all of us.
from helmfile.
Hey! Thanks for reporting and investigating.
Probably this was an unintended regression introduced when we migrated our CLI framework from urfave/cli to cobra?
Just to be clear, the point of --interactive
was to let Helmfile ask AFTER showing the diff and BEFORE actually applying the changes.
So, from the author's perspective, I can say it's working as intended.
Please use helmfile apply
if you need interactivity!
from helmfile.
And we might be adding support for sync
and delete
as well via #328
from helmfile.
@mumoshu Thanks - explained that way I now understand that apply
is a "superset" command including diff
and sync
, and that --interactive
is to ask for confirmation before those two steps. Coming from kubectl apply
and helm upgrade
, I assumed sync
to be more of the latter (which does a diff internally).
from helmfile.
Related Issues (20)
- Support of current kustomize strategie HOT 7
- race condition in remote cache with go-getter HOT 4
- failure in hook should not prevent next hooks to execute HOT 11
- Documentation Discrepancy: Inconsistency in Support for 'condition' Flag in Helmfile Dependencies HOT 5
- helmfile cannot execute binary file: Exec format error HOT 3
- [Regression] Registry password printed to stdout by `repos` on error
- Function `trunc` not defined in helper templates using new `include` function HOT 2
- Helmfile still trying to use "Helm chart pull" instead of just "Helm Pull" with newer versions of helm. HOT 3
- Relative path in `environments.*.values` not working in multi-file setup. HOT 6
- Refresh helm repositories only once per run HOT 10
- Helmfile does not work in offline mode (--skip-deps) after all relevant helm charts have been cached HOT 2
- Can't use chart version other than X.Y.Z HOT 12
- Typo in helm plugin install prompt "The helm plugin %s is not installed, do you need to install it" HOT 1
- Regression in v0.162.0: helmfile deps uses the wrong path for kustomizations HOT 1
- Local ad-hoc chart dependencies not working as described by documentation HOT 5
- Helmfile does not delete custom object HOT 3
- sub helmfiles are not included in template output when environment is not default HOT 1
- needs evaluated even if 'installed: false' HOT 4
- Unable to pull multiple in-line secrets HOT 1
- Receiving the `WARNING: top-level config key bases must be defined before environments in ...` despite it being so HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helmfile.