From 82e10cc39eb78f30a440fb28fb73868fee536649 Mon Sep 17 00:00:00 2001 From: BryanFauble <17128019+BryanFauble@users.noreply.github.com> Date: Thu, 7 Nov 2024 14:28:40 -0700 Subject: [PATCH] authenticate to github oci --- deployments/stacks/dpe-k8s-deployments/provider.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deployments/stacks/dpe-k8s-deployments/provider.tf b/deployments/stacks/dpe-k8s-deployments/provider.tf index 32049e25..55be84ec 100644 --- a/deployments/stacks/dpe-k8s-deployments/provider.tf +++ b/deployments/stacks/dpe-k8s-deployments/provider.tf @@ -13,6 +13,14 @@ provider "helm" { kubernetes { config_path = var.kube_config_path } + + registry { + url = "oci://ghcr.io" + # TODO: Is there a service account we can use instead of my personal account? + username = "BryanFauble" + # Requires that a secret be created in spacelift TF_VAR_github_container_repository_token + password = var.github_container_repository_token + } } provider "spotinst" {