fix(ansible-run): bump kcl-tekton-pr to 0.9.0 (Observe+Create on PipelineRun)#101
Merged
Merged
Conversation
…lineRun) kcl-tekton-pr 0.9.0 sets managementPolicies ["Observe", "Create"] on the PipelineRun Object (stuttgart-things/stage-time#60). Without it the Object defaults to ["*"] and claims Update on a resource Tekton makes immutable once it completes, so provider-kubernetes' observe dry-run SSA is denied by the webhook, the finalizer is never released, and deleting an AnsibleRun XR after a successful run strands the Object forever — three sat stuck for 22h+ on kind1 and needed a manual finalizer patch. The rendered diff is exactly the three added managementPolicies lines; nothing else about the PipelineRun changes. Also realigns the version references, which had drifted apart: crossplane.yaml said v0.1.7 while examples/configuration.yaml and the README table still said v0.1.2 — and neither v0.1.6 nor v0.1.7 was ever published (ghcr stops at v0.1.5). All three now say v0.1.8. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
patrick-hermann-sva
temporarily deployed
to
linting
July 16, 2026 13:25 — with
GitHub Actions
Inactive
Contributor
📦 ttl.sh preview packagesPreview OCI packages for the Configurations changed in this PR, pushed to the public, ephemeral ttl.sh registry. No auth required — install on any Crossplane v2 cluster: 📦
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Consumes stuttgart-things/stage-time#60 (merged,
kcl-tekton-pr:0.9.0published to ghcr and public).Why
kcl-tekton-pr≤0.8.0 set nomanagementPolicieson the PipelineRunObject, so it defaulted to["*"]— claiming Update on a resource Tekton makes immutable once it completes. provider-kubernetes' observe dry-run SSA is then denied by Tekton's webhook:Observe errors → the finalizer is never released → deleting an
AnsibleRunXR after a successful run strands theObjectforever. Three of them sat stuck for 22h+ on kind1 and needed a manual finalizer patch. It hits everyAnsibleRundeleted after a completed run, so they accumulate.0.9.0setsmanagementPolicies: ["Observe", "Create"]— create it, watch it, never touch it again.Verification
All three examples render against the published
0.9.0, each emitting the Object withmanagementPolicies: ['Observe', 'Create']and the PipelineRun manifest intact.The rendered output diff,
0.8.0→0.9.0, is exactly:Nothing else about the PipelineRun changes — a clean additive change.
crossplane xpkg buildpasses.Behaviour probed directly on kind1 (not inferred), against an already-completed PipelineRun:
["*"](0.8.0)["Observe","Create"](0.9.0)Synced=FalseSynced=TrueVersion drift, fixed in passing
The three version references had drifted apart and are realigned to v0.1.8:
crossplane.yamlmeta.crossplane.io/versionexamples/configuration.yamlpackage tagREADME.mdtable rowWorth flagging: neither v0.1.6 nor v0.1.7 was ever published — ghcr stops at
v0.1.5. So the SOPS-decrypt work (#93, #94) is in git and in the version annotation but has never shipped as a package. v0.1.8 will be the first published tag carrying it.Note
The PipelineRun is now left behind when the XR is deleted (no
Deletepolicy). Completed runs are history and Tekton pruning owns their lifecycle. If they should die with the XR instead, that needs["Observe","Create","Delete"]in the module — untested against the dry-run problem, see stage-time#60.🤖 Generated with Claude Code