devspace-sh / devspace

DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.
https://devspace.sh
Apache License 2.0
4.3k stars 360 forks source link

Patches ability to pull images information #2052

Closed 9brandon2 closed 2 years ago

9brandon2 commented 2 years ago

Is your feature request related to a problem?
Currently not easily able to utilize a new built image tag to be used by a helm chart deployment.

Which solution do you suggest?
The patches.replace should allow the value to utilize information pulled from the images information. For example:

profiles:

Which alternative solutions exist?
Currently, I need to replace the backend.helm.values.image.tag with empty quotes. And I cannot use a helm chart unless I specify it directly.

Does not work: deployments:

Does work: deployments:

For some reason the second way works, but would be significantly better if I could utilize the images.backend.tags[0] information directly.

Additional context

/kind feature

9brandon2 commented 2 years ago

Found the information I was looking for! https://devspace.sh/cli/docs/configuration/deployments/helm-charts

By utilizing: ${runtime.images.backend.tag}