From 11bc20d288da87719a13210906d5c4153ab917ef Mon Sep 17 00:00:00 2001 From: jaskaransarkaria Date: Tue, 10 Oct 2023 11:22:22 +0100 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20turn=20on=20psa=20in=20?= =?UTF-8?q?audit=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.tf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 9151cc4..1869433 100644 --- a/main.tf +++ b/main.tf @@ -21,6 +21,7 @@ resource "kubernetes_namespace" "kuberos" { "name" = "kuberos" "cloud-platform.justice.gov.uk/environment-name" = "production" "cloud-platform.justice.gov.uk/is-production" = "true" + "pod-security.kubernetes.io/audit" = "privileged" } annotations = { @@ -56,12 +57,12 @@ resource "helm_release" "kuberos" { })] set_sensitive { - name = "oidc.clientId" + name = "oidc.clientId" value = var.oidc_kubernetes_client_id } set_sensitive { - name = "oidc.clientSecret" + name = "oidc.clientSecret" value = var.oidc_kubernetes_client_secret } lifecycle {