Repository navigation
Conversation
gossion
marked this pull request as ready for review
November 27, 2026 08:01
| {{- if .Values.serviceAccount.create -}} | ||
| {{- $annotations := deepCopy (.Values.serviceAccount.annotations | default dict) }} | ||
| {{- if dig "enabled" false (.Values.providerIdentity | default dict) }} | ||
| {{- $_ := set $annotations "azure.workload.identity/client-id" .Values.providerIdentity.clientId }} |
Contributor
There was a problem hiding this comment.
[P2] Restart Gateway Pods when the provider identity changes
Changing providerIdentity.clientId updates only the ServiceAccount annotation. When enabled remains true, the Deployment Pod template stays identical, so Helm does not replace the Gateway Pods. Azure Workload Identity injects AZURE_CLIENT_ID when Kubernetes creates each Pod; existing Pods continue to use the previous identity. This breaks identity replacement once the previous identity loses inference permissions. Add the effective identity to the Pod template or a ServiceAccount checksum, and add an upgrade regression test.
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.
Summary
New environments can install the internal CetiRun platform while their public certificate and Entra application changes are pending. Add an explicit internal-only bootstrap mode with exposure checks and a target-bound retry receipt, and support disabling Entra Agent Identity preview while retaining ordinary Portal sign-in, internal TLS, and managed identities.
The same deployment path adds Azure model-provider Workload Identity and direct model routing, a separately packaged Key Vault CSI certificate consumer, and a hostname-validating TLS probe. Blob NFS provisioning keeps HTTPS-only enabled and disables shared-key authentication; the documentation distinguishes REST protection from NFS transport security.
Related issue
Implements the requested new-environment deployment work. Environment-specific profiles, identifiers, keys, and deployment evidence remain outside the repository.
Validation
Offline:
python3 -B -m unittest scripts.tests.test_full_deployment -v: 126 passed.make version-check artifact-check license-check python-check shell-check workflow-check bicep-check: passed using the available pinned validation tools.make docs-check HUGO=<existing pinned Hugo 0.164.0>: passed.make python-checkpassed.git diff --cached --check: passed.Authorized integration: private Blob NFS provisioning and nonroot write/fsync/rename passed; a separate-node Kata reader read the fixture and rejected writes with EROFS. Two Foundry model deployments succeeded. Internal Broker/platform rollouts and the enforced-admission server dry-run passed. Both models returned valid completions through the Gateway using ordinary Workload Identity, and aggregate queries verified actual ADX log and metric ingestion. Public certificate synchronization, login, DNS and rotation remain unverified pending owner prerequisites.
A clean final full
make checkwas not rerun. Earlier component gates passed, and the changed areas were rerun as listed above. The charts are customized local deployment artifacts; this change does not publish a new release.Compatibility and operational impact
Agent Identity remains enabled by default. Internal-only mode refuses existing public Gateways and externally exposed Services; it does not replace final public TLS or login acceptance. Existing published-upgrade safeguards are unchanged. The Key Vault consumer requires an exportable certificate backing secret and continuously running CSI mounts. No CRDs, application binaries, dependencies, or release versions changed.
Checklist