Replace github boostrap GPG options

Signed-off-by: Robert Wittman <robkwittman@gmail.com>
pull/2364/head
Robert Wittman 3 years ago
parent e3f5a8fee3
commit e33198e750
No known key found for this signature in database
GPG Key ID: 1157CD1ADBD52E8C

@ -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))

Loading…
Cancel
Save