Skip to content

chore(vault-auth): bump xplane-vault-auth OCI source to 0.4.0#67

Merged
patrick-hermann-sva merged 1 commit intomainfrom
chore/bump-vault-auth-to-0.4.0
Apr 13, 2026
Merged

chore(vault-auth): bump xplane-vault-auth OCI source to 0.4.0#67
patrick-hermann-sva merged 1 commit intomainfrom
chore/bump-vault-auth-to-0.4.0

Conversation

@patrick-hermann-sva
Copy link
Copy Markdown
Contributor

Summary

Bumps the function-kcl source for the bootstrap/vault-auth composition from xplane-vault-auth:0.3.1 to :0.4.0.

0.4.0 pulls in xplane-vault-auth-base:0.7.0, which vendors the opentofu v1beta1 schemas directly into the module and drops the transitive OCI dependency on crossplane-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:

  • XR (VaultK8sAuth) reconciles cleanly
  • Two Workspace resources (opentofu.m.upbound.io/v1beta1) are rendered with the expected shape
  • The remaining failure is a host-level pids_limit issue inside the provider-opentofu pod, unrelated to this composition — tracked in test: validate vault-auth v2/opentofu migration end-to-end #66.

Test plan

Generated with Claude Code

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>
@patrick-hermann-sva patrick-hermann-sva merged commit 809df01 into main Apr 13, 2026
@patrick-hermann-sva patrick-hermann-sva deleted the chore/bump-vault-auth-to-0.4.0 branch April 13, 2026 20:48
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>
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.

1 participant