Skip to content

Commit

Permalink
Added AcrPush role for cicd canary managed identity. Removed for prod…
Browse files Browse the repository at this point in the history
… and c2 cluster cleanup, as it is not running on them (#1402)
  • Loading branch information
satr authored Jul 18, 2024
1 parent 5915afc commit b142e37
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
6 changes: 3 additions & 3 deletions terraform/subscriptions/s940/c2/common/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ module "radix-id-acr-workflows" {
issuer = "https://token.actions.githubusercontent.com"
subject = "repo:equinor/radix-acr-cleanup:ref:refs/heads/release"
}
radix-cluster-cleanup-master = {
name = "radix-cluster-cleanup-release"
radix-cicd-canary-release = {
name = "radix-cicd-canary-release"
issuer = "https://token.actions.githubusercontent.com"
subject = "repo:equinor/radix-cluster-cleanup:ref:refs/heads/release"
subject = "repo:equinor/radix-cicd-canary:ref:refs/heads/release"
},
}
}
Expand Down
6 changes: 3 additions & 3 deletions terraform/subscriptions/s940/prod/common/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ module "radix-id-acr-workflows" {
issuer = "https://token.actions.githubusercontent.com"
subject = "repo:equinor/radix-acr-cleanup:ref:refs/heads/release"
}
radix-cluster-cleanup-master = {
name = "radix-cluster-cleanup-release"
radix-cicd-canary-release = {
name = "radix-cicd-canaryp-release"
issuer = "https://token.actions.githubusercontent.com"
subject = "repo:equinor/radix-cluster-cleanup:ref:refs/heads/release"
subject = "repo:equinor/radix-cicd-canary:ref:refs/heads/release"
},
}
}
Expand Down
6 changes: 5 additions & 1 deletion terraform/subscriptions/s941/dev/common/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,12 @@ module "radix-id-acr-workflows" {
issuer = "https://token.actions.githubusercontent.com"
subject = "repo:equinor/radix-cluster-cleanup:ref:refs/heads/master"
},
radix-cicd-canary-master = {
name = "radix-cicd-canary-master"
issuer = "https://token.actions.githubusercontent.com"
subject = "repo:equinor/radix-cicd-canary:ref:refs/heads/master"
},
}

}


Expand Down
7 changes: 6 additions & 1 deletion terraform/subscriptions/s941/playground/common/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,16 @@ module "radix-id-acr-workflows" {
issuer = "https://token.actions.githubusercontent.com"
subject = "repo:equinor/radix-acr-cleanup:ref:refs/heads/release"
}
radix-cluster-cleanup-master = {
radix-cluster-cleanup-release = {
name = "radix-cluster-cleanup-release"
issuer = "https://token.actions.githubusercontent.com"
subject = "repo:equinor/radix-cluster-cleanup:ref:refs/heads/release"
},
radix-cicd-canary-release = {
name = "radix-cicd-canary-release"
issuer = "https://token.actions.githubusercontent.com"
subject = "repo:equinor/radix-cicd-canary:ref:refs/heads/release"
},
}
}

Expand Down

0 comments on commit b142e37

Please sign in to comment.