Comments (3)
Hello, there are a couple options to avoid this issue. The first is to use updateImageTags: false. This will prevent DevSpace from attempting to rewrite image references that don't have tags. Here's a sample that worked for my testing:
deployments:
airflow:
updateImageTags: false
helm:
chart:
repo: https://airflow.apache.org
name: airflow
values:
images:
airflow:
repository: custom/apache-airflow
tag: latest
The other option is to use DevSpace's ${runtime.variables} to be a little more explicit about what DevSpace should substitute (if you want anything substituted at all). These are more likely to be useful if you're using DevSpace's dynamic tags. Here's an example that also worked for me:
deployments:
airflow:
updateImageTags: false
helm:
chart:
repo: https://airflow.apache.org
name: airflow
values:
images:
airflow:
repository: ${runtime.images.custom-airflow.image}
tag: ${runtime.images.custom-airflow.tag}
The first option is likely the better fit for your case, but the second could be helpful if using the latest
tag causes issues with images not re-pulling in your environment.
Hope this helps!
from devspace.
Thanks for your time. I went with the second option as I have a feeling it will save me (or a teammate) some unnecessary troubles in the future. It works :)
from devspace.
Hey @szymi-
I'm glad Russ's suggestions unblocked your use case.
Closing this issue for now then, please feel free to re-open it if you're still facing similar issues!
from devspace.
Related Issues (20)
- runtime variables not available in custom pipeline HOT 2
- Report the use of components with vulnerabilities in devspace
- Cannot pull images from my local registry - getting ImagePullBackoff errors. HOT 2
- devspace init -> Docker-Compose migration ignores ENVs/--vars HOT 1
- Signed Windows executables
- Unable to use server-side apply
- devspace build --push HOT 1
- `--kubeconfig` cannot be set via DEVSPACE_FLAGS HOT 4
- Devspace failing to find entrypoint sh file when running "devspace dev" HOT 2
- Setting `buildKit: inCluster:` overrides `localRegistry` config
- Results of onUpload.exec.command not rendering in the terminal HOT 1
- devspace open will wait for a init container which is a sidecar HOT 1
- Rust Image still uses rustc 1.67.1 HOT 1
- Feature Request: Add Support for Showing Helm Diff
- make devspace SSH config optional
- Enabling `persistPaths` in devPod spec always replaces devPod even when there has been no config/podSpec changes HOT 2
- issue with env variable subsitution in deployment names
- devspace with k3d integration in WSL2 HOT 1
- How can we access DevSpace with DNS?
- Move dependency cache into .devspace
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 devspace.