Skip to content

fix/ske e2e kubeconfig yaml#234

Merged
JohannesRudolph merged 2 commits into
mainfrom
fix/ske-e2e-kubeconfig-yaml
Jul 24, 2026
Merged

fix/ske e2e kubeconfig yaml#234
JohannesRudolph merged 2 commits into
mainfrom
fix/ske-e2e-kubeconfig-yaml

Conversation

@JohannesRudolph

@JohannesRudolph JohannesRudolph commented Jul 24, 2026

Copy link
Copy Markdown
Member

The way we supply config to e2e tests changed internally, this PR aligns the hub to this.

  • fix(ske/e2e): accept YAML kubeconfig via yamldecode
  • fix(ske/e2e): use yamldecode in kubernetes provider block too

JohannesRudolph and others added 2 commits July 24, 2026 21:04
The SKE cluster was recreated and its kubeconfig is now published to a new
repo-mirrored Vault path by the ICF ske/kubernetes module, which stores it as
YAML (yamlencode). The e2e harness used jsondecode, which fails on YAML.

Switch to yamldecode, which parses both YAML and JSON (a superset), so the test
is robust regardless of the format the kubeconfig secret is provided in.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The e2e provider.tf configures the kubernetes provider by decoding
var.ske_kubeconfig, which is now YAML. Follow up to the main.tf change so the
provider config also parses the YAML kubeconfig instead of failing jsondecode.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Scorecard Check

Scorecard run on commit 87fde7c9f1b2f0855144580c34a1cce07460bd85 relative to origin/main

📊 meshstack-hub Module Scorecard

Generated: 2026-07-24 | Modules scanned: 1 | Categories: 5

📋 Per-Module Category Summary

Score per category per building block. n/a = category does not apply to this module.

Module Overall Core Structure Integration Azure Backplane STACKIT Backplane Testing
ske/ske-starterkit 🟢 91% 🟢 100% 🟢 92% n/a n/a 🟡 67%

⚠️ 1 module has failing checks — failing categories are expanded below.

Core Structure — ✅ all passing

Basic module file structure and documentation — applies to 1 modules

Module Score 📦 🔗 📋 📝 🖼️ 📌 🔒
ske/ske-starterkit 🟢 100%

Core Structure — Summary

Emoji Criterion Coverage Status
📦 buildingblock/ directory exists 1/1 🟢 100%
🔗 meshstack_integration.tf present 1/1 🟢 100%
📋 buildingblock/APP_TEAM_README.md present (no-integration fallback) n/a
📝 buildingblock/README.md with YAML front-matter 1/1 🟢 100%
🖼️ buildingblock/logo.png included 1/1 🟢 100%
📌 buildingblock/versions.tf present 1/1 🟢 100%
🔒 Provider versions use minimum constraint (>=) 1/1 🟢 100%
Integration — some checks failing

meshstack_integration.tf conventions — applies to 1 modules

Module Score 🏷️ 🏢 📤 🔌 📎 🔀 📋 🏷️ 🧱 📖 📝 📊 🚫 🔄
ske/ske-starterkit 🟢 92%

Integration — Summary

Emoji Criterion Coverage Status
🏷️ variable "hub" in integration 1/1 🟢 100%
🏢 variable "meshstack" in integration 1/1 🟢 100%
📤 building_block_definition output exposed 1/1 🟢 100%
🔌 meshcloud/meshstack in required_providers 1/1 🟢 100%
📎 backplane source uses var.hub.git_ref 1/1 🟢 100%
🔀 ref_name uses var.hub.git_ref 1/1 🟢 100%
📋 version_spec.draft uses var.hub.bbd_draft 1/1 🟢 100%
🏷️ BBD metadata.tags forwards var.meshstack.tags 1/1 🟢 100%
🧱 BBD input argument vars with optional() have explicit defaults 0/1 🔴 0%
📖 BBD readme field present 1/1 🟢 100%
📝 BBD readme starts with plain-text description (no heading) 1/1 🟢 100%
📊 BBD readme has shared responsibility table (✅/❌) 1/1 🟢 100%
🚫 No documentation_md output in backplane 1/1 🟢 100%
🔄 meshstack_platform has lifecycle ignore_changes = [availability] n/a
Azure Backplane — not applicable

Azure UAMI-based automation principal conventions — applies to 0 modules

No applicable modules.

STACKIT Backplane — not applicable

STACKIT WIF-based automation principal conventions — applies to 0 modules

No applicable modules.

Testing — some checks failing

End-to-end test coverage — applies to 1 modules

Module Score ⚙️ 🧪
ske/ske-starterkit 🟡 67%

Testing — Summary

Emoji Criterion Coverage Status
⚙️ backplane/ directory (optional tier) 0/1 🔴 0%
🧪 e2e/ test directory exists 1/1 🟢 100%
e2e/ contains .tftest.hcl files 1/1 🟢 100%

@JohannesRudolph
JohannesRudolph merged commit fc0d70b into main Jul 24, 2026
2 of 3 checks passed
@JohannesRudolph
JohannesRudolph deleted the fix/ske-e2e-kubeconfig-yaml branch July 24, 2026 20: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.

1 participant