Skip to content

Conversation

einalien
Copy link
Owner

@einalien einalien commented Nov 1, 2026 •

Summary

Extends the GitHub Actions deployment workflow to generate temporary Kubernetes credentials and verify connectivity to the Kubernetes backend used for OpenTofu remote state.

Changes

  • Generate a short-lived Kubernetes kubeconfig using kOps.
  • Use separate OpenStack application credentials to access the kOps Swift state store.
  • Configure KUBECONFIG and KUBE_CONFIG_PATH for subsequent workflow steps.
  • Verify that the generated kubeconfig contains a valid Kubernetes context.
  • Verify connectivity to the Kubernetes API server.
  • Verify access to the iac namespace.
  • Check permissions for Kubernetes Secrets and Leases.
  • Remove temporary Kubernetes credentials after execution, including on failure.

Verification

  • Existing CI checks passed previously.
  • Verified kOps access to swift://demo-kops from GitHub Actions.
  • Verify temporary kubeconfig generation on the self-hosted runner.
  • Verify Kubernetes API connectivity.
  • Verify access to the iac namespace and required permissions.
  • Verify temporary credential cleanup.

Next Steps

  • Verify OpenTofu Kubernetes backend initialization and state locking.
  • Implement automated TEST network deployment.
  • Implement automated TEST frontend deployment.
  • Extend deployment automation to STAGE and PROD.

Notes

This PR introduces Kubernetes connectivity and authentication checks only. No infrastructure provisioning or destruction is performed.

@einalien einalien self-assigned this Nov 1, 2026
@einalien einalien merged commit bd8ade6 into main Nov 1, 2026
1 check passed
@einalien einalien deleted the feat/kubernetes-state-access branch November 1, 2026 18:16
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant