Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ using '../templates/geneva-identities.bicep'

param genevaActionsCertificateDomain = '{{ .geneva.actions.certificate.san }}'
param genevaActionApplicationUseSNI = {{ .geneva.actions.application.useSNI }}
param genevaActionApplicationManage = {{ .geneva.actions.application.manage }}
// Coexistence: the Geneva Actions Entra app is environment-scoped (arohcp-ga-stg)
// and is managed by both the canonical stg global rollout and this transient V2
// rollout. Both set the same fixed entraAppOwnerIds, so app ownership races between
// them: whichever ran last owns it, and the other rollout's deploy identity (which
// only holds Application.ReadWrite.OwnedBy) then fails to manage it with
// Authorization_RequestDenied. This regressed the V2 rollout after a run where it
// had briefly owned the app. The V2 global rollout does not consume this app, so
// skip managing it here to end the tug-of-war. Revisit at decommission.
param genevaActionApplicationManage = false
param genevaActionApplicationName = '{{ .geneva.actions.application.name }}'
param entraAppOwnerIds = '{{ .entraAppOwnerIds }}'
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// TRANSIENT: STG-global "V2" copy of mise-identity.tmpl.bicepparam. Removed at decommission.
//
// Coexistence: the MISE Entra app is environment-scoped (arohcp-mise-stg) and is
// managed by both the canonical stg global rollout and this transient V2 rollout.
// Both set the same fixed entraAppOwnerIds, so app ownership races between them:
// whichever ran last owns it, and the other rollout's deploy identity (which only
// holds Application.ReadWrite.OwnedBy) then fails to manage it with
// Authorization_RequestDenied. The V2 global rollout does not consume this app
// (the stg svc rollout looks it up independently), so skip deploying it here to end
// the tug-of-war. Revisit at decommission.
using '../templates/mise-identity.bicep'

param miseApplicationName = '{{ .mise.applicationName }}'
param entraAppOwnerIds = '{{ .entraAppOwnerIds }}'
param miseApplicationDeploy = false
2 changes: 1 addition & 1 deletion dev-infrastructure/global-pipeline-stg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ resourceGroups:
- name: mise-identity
action: ARM
template: templates/mise-identity.bicep
parameters: configurations/mise-identity.tmpl.bicepparam
parameters: configurations/mise-identity-stg.tmpl.bicepparam
deploymentLevel: ResourceGroup
- name: housekeeping
action: Shell
Expand Down