chore(vault-auth): bump xplane-vault-auth OCI source to 0.4.0#67
Merged
patrick-hermann-sva merged 1 commit intomainfrom Apr 13, 2026
Merged
chore(vault-auth): bump xplane-vault-auth OCI source to 0.4.0#67patrick-hermann-sva merged 1 commit intomainfrom
patrick-hermann-sva merged 1 commit intomainfrom
Conversation
0.4.0 pulls in the vendored xplane-vault-auth-base 0.7.0, which works around function-kcl's inability to resolve transitive OCI dependencies at runtime. With this bump the composition renders successfully on fn-kcl v0.11.3 and produces the expected v2 opentofu Workspaces. Refs: stuttgart-things/kcl#32, #66 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9 tasks
patrick-hermann-sva
added a commit
that referenced
this pull request
Apr 13, 2026
…pdates - Bump composition source to xplane-vault-auth:0.4.1 (carries the multi-line HCL variable block fix — OpenTofu rejects single-line blocks with multiple args). - Revert function refs to the upstream standard names `crossplane-contrib-function-kcl` and `crossplane-contrib-function-auto-ready`. PR #67 had shortened them while debugging a local kind cluster that had ad-hoc function names; the standard names are what `examples/function.yaml` installs and what most clusters use. Added a README note explaining the naming discrepancy. - examples/claim.yaml: drop the stale spec.compositionRef (that field moved in Crossplane v2), comment out backendConfig with a pointer to the new README section explaining its prerequisites, and revert to a placeholder vaultAddr / kubernetesHost. - README: document the backendConfig prerequisites (SA token Secret must pre-exist, how to create one on k8s >= 1.24, RBAC hints). Verified end-to-end on a Crossplane v2 + provider-opentofu v1.0.3 + function-kcl v0.12.1 cluster: two Workspaces reconcile to Ready=True and Vault gains the expected auth backends + roles. Refs: stuttgart-things/kcl#33, #66 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
Bumps the
function-kclsource for thebootstrap/vault-authcomposition fromxplane-vault-auth:0.3.1to:0.4.0.0.4.0pulls inxplane-vault-auth-base:0.7.0, which vendors the opentofu v1beta1 schemas directly into the module and drops the transitive OCI dependency oncrossplane-provider-opentofu. This works around a limitation in function-kcl (verified with v0.11.3) that prevents it from resolving transitive OCI dependencies at runtime — see stuttgart-things/kcl#32.With this bump, end-to-end testing against a real Crossplane v2 cluster succeeds:
VaultK8sAuth) reconciles cleanlyWorkspaceresources (opentofu.m.upbound.io/v1beta1) are rendered with the expected shapepids_limitissue inside the provider-opentofu pod, unrelated to this composition — tracked in test: validate vault-auth v2/opentofu migration end-to-end #66.Test plan
VaultK8sAuthrenders two Workspaces with correct namespace, provider config ref, vars, and inline HCLReady=True(blocked on test: validate vault-auth v2/opentofu migration end-to-end #66 / unrelatedpids_limiton the provider pod)Generated with Claude Code