ministryofjustice / cloud-platform-environments

Environment configuration for the Cloud Platform
MIT License
68 stars 34 forks source link

Create serviceaccount.tf for all POLA namespaces #27021

Closed HettieS closed 12 hours ago

HettieS commented 12 hours ago

Creating service account module so that we can deploy to our new environments.

sablumiah commented 12 hours ago

Terraform Plan Summary

<details "open">

Terraform Plan: 8 to be created, 0 to be destroyed, 0 to be updated, 0 to be replaced and 11 unchanged.

Resources to create:

+ module.serviceaccount.github_actions_environment_secret.cluster-name["laa-pola.production"]
+ module.serviceaccount.github_actions_environment_secret.cluster-namespace["laa-pola.production"]
+ module.serviceaccount.github_actions_environment_secret.serviceaccount-cert["laa-pola.production"]
+ module.serviceaccount.github_actions_environment_secret.serviceaccount-token["laa-pola.production"]
+ module.serviceaccount.kubernetes_role.github_actions_role
+ module.serviceaccount.kubernetes_role_binding.github-actions-rolebinding
+ module.serviceaccount.kubernetes_secret_v1.serviceaccount-token
+ module.serviceaccount.kubernetes_service_account.github_actions_serviceaccount

sablumiah commented 12 hours ago

Terraform Plan Summary

<details "open">

Terraform Plan: 8 to be created, 0 to be destroyed, 0 to be updated, 0 to be replaced and 0 unchanged.

Resources to create:

+ module.serviceaccount.github_actions_environment_secret.cluster-name["laa-pola.staging"]
+ module.serviceaccount.github_actions_environment_secret.cluster-namespace["laa-pola.staging"]
+ module.serviceaccount.github_actions_environment_secret.serviceaccount-cert["laa-pola.staging"]
+ module.serviceaccount.github_actions_environment_secret.serviceaccount-token["laa-pola.staging"]
+ module.serviceaccount.kubernetes_role.github_actions_role
+ module.serviceaccount.kubernetes_role_binding.github-actions-rolebinding
+ module.serviceaccount.kubernetes_secret_v1.serviceaccount-token
+ module.serviceaccount.kubernetes_service_account.github_actions_serviceaccount

sablumiah commented 12 hours ago

Terraform Plan Summary

<details "open">

Terraform Plan: 8 to be created, 0 to be destroyed, 0 to be updated, 0 to be replaced and 0 unchanged.

Resources to create:

+ module.serviceaccount.github_actions_environment_secret.cluster-name["laa-pola.uat"]
+ module.serviceaccount.github_actions_environment_secret.cluster-namespace["laa-pola.uat"]
+ module.serviceaccount.github_actions_environment_secret.serviceaccount-cert["laa-pola.uat"]
+ module.serviceaccount.github_actions_environment_secret.serviceaccount-token["laa-pola.uat"]
+ module.serviceaccount.kubernetes_role.github_actions_role
+ module.serviceaccount.kubernetes_role_binding.github-actions-rolebinding
+ module.serviceaccount.kubernetes_secret_v1.serviceaccount-token
+ module.serviceaccount.kubernetes_service_account.github_actions_serviceaccount