Skip to content

Commit

Permalink
Switch generate name to name
Browse files Browse the repository at this point in the history
  • Loading branch information
mattford63 committed Jul 24, 2019
1 parent a159482 commit afe8b40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ func writeKey(key *rsa.PrivateKey, certs []*x509.Certificate, namespace, label,
}
secret := v1.Secret{
ObjectMeta: metav1.ObjectMeta{
Namespace: namespace,
GenerateName: prefix,
Namespace: namespace,
Name: prefix,
Labels: map[string]string{
label: "active",
},
Expand Down

0 comments on commit afe8b40

Please sign in to comment.