Skip to content

Making step ssh config --roots respect context #975

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixes #939 provisioner update tofu flag changing custom sans.
  • Loading branch information
clayrosenthal committed May 17, 2023
commit 3a4f877be84b1c45bc095ce07f4815e5df7093f7
6 changes: 3 additions & 3 deletions command/ca/provisioner/update.go
Original file line number Diff line number Diff line change
@@ -800,7 +800,7 @@ func updateAWSDetails(ctx *cli.Context, p *linkedca.Provisioner) error {
details.DisableCustomSans = ctx.Bool("disable-custom-sans")
}
if ctx.IsSet("disable-trust-on-first-use") {
details.DisableCustomSans = ctx.Bool("disable-trust-on-first-use")
details.DisableTrustOnFirstUse = ctx.Bool("disable-trust-on-first-use")
}
if ctx.IsSet("remove-aws-account") {
details.Accounts = removeElements(details.Accounts, ctx.StringSlice("remove-aws-account"))
@@ -828,7 +828,7 @@ func updateAzureDetails(ctx *cli.Context, p *linkedca.Provisioner) error {
details.DisableCustomSans = ctx.Bool("disable-custom-sans")
}
if ctx.IsSet("disable-trust-on-first-use") {
details.DisableCustomSans = ctx.Bool("disable-trust-on-first-use")
details.DisableTrustOnFirstUse = ctx.Bool("disable-trust-on-first-use")
}
if ctx.IsSet("remove-azure-resource-group") {
details.ResourceGroups = removeElements(details.ResourceGroups, ctx.StringSlice("remove-azure-resource-group"))
@@ -869,7 +869,7 @@ func updateGCPDetails(ctx *cli.Context, p *linkedca.Provisioner) error {
details.DisableCustomSans = ctx.Bool("disable-custom-sans")
}
if ctx.IsSet("disable-trust-on-first-use") {
details.DisableCustomSans = ctx.Bool("disable-trust-on-first-use")
details.DisableTrustOnFirstUse = ctx.Bool("disable-trust-on-first-use")
}
if ctx.IsSet("remove-gcp-service-account") {
details.ServiceAccounts = removeElements(details.ServiceAccounts, ctx.StringSlice("remove-gcp-service-account"))