From 9e20f6a475c86f527e7ab22916eb696cb58d641d Mon Sep 17 00:00:00 2001 From: Valentin Khramtsov Date: Wed, 21 Aug 2024 20:37:43 +0300 Subject: [PATCH] Added patch k9s service account of github runner --- terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf b/terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf index d3ad261..bd63a9b 100644 --- a/terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf +++ b/terraform/modules/k8s-addons/eks-gha-runner-scale-set.tf @@ -60,11 +60,11 @@ resource "helm_release" "gha_runner_scale_set" { depends_on = [module.gha_runner_scale_set_controller_namespace] } -resource "null_resource" "k8s_svc_patch" { +resource "null_resource" "k8s_service_account_patch" { count = local.gha_runner_scale_set.enabled ? 1 : 0 provisioner "local-exec" { command = <