Repository navigation
Conversation
* Refactor authentication flow in the webhook. Remove the obsolete long-live token authentication option. Add the possibility to setup multitenant environment using SA keys per namespace. Add the possibility to use WIF auth flow. * Add integration test for the multitenant auth flow. * Update documentation * fix: code review * fix: lint and lower acme record default TTL
…d namespace file reads
jojomo96
approved these changes
Nov 27, 2026
This branch has not been deployed
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.
Prepares the
v1.0.0major release with refactored authentication, least-privilege RBAC defaults, and security hardening.Key Changes
stackitSaAuthentication.secretAccessScope(webhookby default,issuerfor multi-tenant namespaces,noneto disable Secret RBAC) and reduced permissions togetonly.DefaultAuth, Workload Identity Federation (WIF), and per-namespace dynamic Service Account key lookup (serviceAccountSecretRef); removed legacy static bearer token authentication (authTokenSecretRef).ChallengeRequest.ResourceNamespace, allowlistedapiBasePath(*.stackit.cloud) andserviceAccountKeyPath(/var/run/secrets/stackit/), moved custom token endpoint configuration to Pod-levelSTACKIT_SERVICE_ACCOUNT_BASE_URL, and added HTTP client timeouts/connection limits with per-request client cloning.appVersionto1.0.0, added unit/E2E coverage for cross-tenant isolation, and documentedv0.x→v1.0.0migration inREADME.md.