Comments (4)
So, now I created the k8s/eduk8s/upstream/eduk8s
folder and everything was properly created there, but for some reason all the existing files in k8s/eduk8s/myfile.yaml
were deleted this time.
from vendir.
I had to mmove everthing into a folder like:
k8s/eduk8s/overlay
and then add this to preserve these files:
- path: overlay
manual: {}
from vendir.
I have seen the test https://github.com/k14s/vendir/blob/develop/examples/overlapping-dir/vendir.yml which confuses me as it seems to be the expected behavior. What am I missing?
i ran vendir sync against your config above. i had to create k8s/eduk8s/downstream/hub
since it's expected to be already existing before hand. if you dont want to do that, use directory: {path: "..."}
instead of manual. following was the end result after sync:
but for some reason all the existing files in k8s/eduk8s/myfile.yaml were deleted this time.
when you tell vendir to manage a directory it will delete everything that's not specified in vendir.yml. this is intentional since vendir is declaratively managing contents of a directory.
from vendir.
Thanks,
I'll close the issue since it seems as expected behavior, although the documentation doesn't help/clarify much in this regards in many of the cases.
from vendir.
Related Issues (20)
- Support dangerousSkipTLSVerify option when fetching from http server. HOT 2
- Confusion about what `path` actually represents HOT 2
- Sign `vendir` binaries while releasing them HOT 1
- Error when using --directory and --locked option at the same time HOT 1
- Use vanity urls to change the go module name
- issue with lazy sync functionality HOT 1
- Vendir directory sync ignores overlapping paths on directories HOT 3
- Timeouts when attempting to use vendir with a registry with a significant amount of tags HOT 3
- Concurrent vendir processes interfere with each other
- Lazy sync doesn't work for the same path in different forms HOT 1
- Vendir allows self-destructing configuration HOT 4
- Vendir is failing to fetch content if private-key does not have newline at the end
- Vendir allows to use unsafe paths in configuration HOT 2
- vendir sync --json swallows error HOT 8
- Syncing OCI helm chart with semver version range fails if tag has a v prefix HOT 2
- Vendir sync with http on windows fails because of a missing close before rename HOT 2
- Support forcing basic authentication for git HOT 4
- Version checker errors when consumed as library
- Update copyright headers
- can't install on old fedora HOT 2
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 vendir.