GithubHelp home page GithubHelp logo

Comments (3)

lizardruss avatar lizardruss commented on June 11, 2024

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.

szymi- avatar szymi- commented on June 11, 2024

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.

alexandradragodan avatar alexandradragodan commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.