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)
- DevSpaces Crashes when running devspaces-init and asking to use customer Container Registry HOT 1
- multi-arch builds
- Issue with --no-warn when using commands
- Unclear error message during init using path to existing Helm chart Chart.yaml file
- bug: `devspace init` fails with rendering error when using existing Helm chart in Go project environment
- excludePaths documentation improvement
- Add image import for K3D clusters
- Test issue automation
- Issue for Testing Issue Synching Pipeline into Task Mngmt tool
- Pass debug flag from devspace command line to Helm command line
- Test Issue Synching
- Document function declaration
- 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 1
- devspace init -> Docker-Compose migration ignores ENVs/--vars HOT 1
- Signed Windows executables
- Unable to use server-side apply
- devspace build --push
- `--kubeconfig` cannot be set via DEVSPACE_FLAGS
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.