From f8b58f8be938be618b4f083b54584d77198ccc0b Mon Sep 17 00:00:00 2001
From: Robert Wittman <robkwittman@gmail.com>
Date: Tue, 1 Feb 2022 11:55:50 -0500
Subject: [PATCH] Add GPG signing to Github bootstrap

Signed-off-by: Robert Wittman <robkwittman@gmail.com>
---
 cmd/flux/bootstrap_github.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/flux/bootstrap_github.go b/cmd/flux/bootstrap_github.go
index fd04ac6f..904f6890 100644
--- a/cmd/flux/bootstrap_github.go
+++ b/cmd/flux/bootstrap_github.go
@@ -243,6 +243,7 @@ func bootstrapGitHubCmdRun(cmd *cobra.Command, args []string) error {
 		bootstrap.WithKubeconfig(kubeconfigArgs),
 		bootstrap.WithLogger(logger),
 		bootstrap.WithCABundle(caBundle),
+		bootstrap.WithGitCommitSigning(bootstrapArgs.gpgKeyRingPath, bootstrapArgs.gpgPassphrase, bootstrapArgs.gpgKeyID),
 	}
 	if bootstrapArgs.sshHostname != "" {
 		bootstrapOpts = append(bootstrapOpts, bootstrap.WithSSHHostname(bootstrapArgs.sshHostname))
-- 
GitLab