kubernetes-sigs / external-dns

Configure external DNS servers (AWS Route53, Google CloudDNS and others) for Kubernetes Ingresses and Services
Apache License 2.0
7.76k stars 2.58k forks source link

Release run should bump the tag in kustomization.yaml #4905

Open TimJones opened 3 days ago

TimJones commented 3 days ago

What would you like to be added: Ensure the image for the kustomization.yaml file gets bumped when a release is made.

Why is this needed: Using release ref in Kustomize resources results in a mismatched image tag.

To Reproduce kustomization.yaml

$ echo 'apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
  - https://github.com/kubernetes-sigs/external-dns//kustomize?ref=v0.15.0' > kustomization.yaml

$ kustomize build . | grep 'image:'
        image: registry.k8s.io/external-dns/external-dns:v0.14.2