From 5612222cc6d6268be7fc42a7c4c4852f8c795b20 Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Tue, 7 Jan 2025 12:00:19 -0500 Subject: [PATCH] fix: github privatekey var Signed-off-by: Devin Buhl --- config.sample.yaml | 2 +- .../kubernetes/bootstrap/flux/github-deploy-key.sops.yaml.j2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.sample.yaml b/config.sample.yaml index 328bfc1e1bd..eeeaf0aea14 100644 --- a/config.sample.yaml +++ b/config.sample.yaml @@ -98,7 +98,7 @@ github: # (REQUIRED) GitHub repository URL # For a public repo use the 'https://' URL (e.g. "https://github.com/onedr0p/cluster-template.git") # For a private repo use the 'ssh://' URL (e.g. "ssh://git@github.com/onedr0p/cluster-template.git") - # If using a private repo make sure to following the instructions with the 'github_private_key' option below. + # If using a private repo make sure to following the instructions with the 'github.private_key' option below. address: "" # (REQUIRED) GitHub repository branch branch: "main" diff --git a/templates/config/kubernetes/bootstrap/flux/github-deploy-key.sops.yaml.j2 b/templates/config/kubernetes/bootstrap/flux/github-deploy-key.sops.yaml.j2 index da616e66a59..2b0ef8525a7 100644 --- a/templates/config/kubernetes/bootstrap/flux/github-deploy-key.sops.yaml.j2 +++ b/templates/config/kubernetes/bootstrap/flux/github-deploy-key.sops.yaml.j2 @@ -1,4 +1,4 @@ -#% if github_private_key %# +#% if github.private_key %# --- apiVersion: v1 kind: Secret @@ -8,7 +8,7 @@ metadata: stringData: identity: | #% filter indent(width=4, first=False) %# - #{ github_private_key }# + #{ github.private_key }# #%- endfilter %# known_hosts: | github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl