Skip to content

chore: embed image tag in kustomize bundle at publish time#158

Merged
scotwells merged 1 commit into
mainfrom
chore/embed-image-tag-in-kustomize-bundle
May 12, 2026
Merged

chore: embed image tag in kustomize bundle at publish time#158
scotwells merged 1 commit into
mainfrom
chore/embed-image-tag-in-kustomize-bundle

Conversation

@scotwells
Copy link
Copy Markdown
Contributor

Summary

  • Pass image-name and image-overlays inputs to publish-kustomize-bundle.yaml@v1.14.0 so the "Set Image Tags in Kustomize Overlays" step runs during CI
  • Without these inputs the step is conditional on both being non-empty, so it is silently skipped — the bundle is published with newTag: latest in config/manager/kustomization.yaml instead of the actual build tag
  • This caused ImagePullBackOff in staging because FluxCD deploys the bundle as-is and the latest tag resolves to nothing useful

Test plan

  • Merge and confirm CI runs the "Set Image Tags in Kustomize Overlays" step (check workflow run logs for publish-kustomize-bundles job)
  • Confirm the published OCI bundle at ghcr.io/datum-cloud/network-services-operator-kustomize has newTag set to the build tag (not latest) in config/manager/kustomization.yaml
  • Confirm staging deployment rolls out successfully without ImagePullBackOff

Pass image-name and image-overlays inputs to publish-kustomize-bundle.yaml
so the "Set Image Tags in Kustomize Overlays" step runs and bakes the
correct docker image tag into config/manager before publishing the OCI
bundle.

Without these inputs the step is skipped (conditional on both inputs
being non-empty), leaving the bundle with newTag: latest and causing
ImagePullBackOff when FluxCD deploys from the bundle.
@scotwells scotwells enabled auto-merge May 12, 2026 18:15
@scotwells scotwells merged commit 07e9080 into main May 12, 2026
11 checks passed
@scotwells scotwells deleted the chore/embed-image-tag-in-kustomize-bundle branch May 12, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants