From e33198e7500c24f6b611d6050cf28456c992f56e Mon Sep 17 00:00:00 2001
From: Robert Wittman <robkwittman@gmail.com>
Date: Thu, 3 Feb 2022 11:09:10 -0500
Subject: [PATCH] Replace github boostrap GPG options

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