Skip to content

Commit

Permalink
Merge pull request #11863 from johngmyers/keypair-dryrun
Browse files Browse the repository at this point in the history
Fix dryrun cluster creation
  • Loading branch information
k8s-ci-robot authored Jun 25, 2021
2 parents 89ad2bc + 41776c1 commit 86afeff
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion upup/pkg/fi/fitasks/keypair.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,15 @@ func parsePkixName(s string) (*pkix.Name, error) {

func (e *Keypair) ensureResources() {
if e.certificates == nil {
e.certificates = &fi.TaskDependentResource{Task: e}
e.certificates = &fi.TaskDependentResource{
Resource: fi.NewStringResource("<< TO BE GENERATED >>\n"),
Task: e,
}
e.keyset = &fi.Keyset{
Primary: &fi.KeysetItem{
Id: "<< TO BE GENERATED >>",
},
}
}
}

Expand Down

0 comments on commit 86afeff

Please sign in to comment.