Skip to content

Commit

Permalink
Merge pull request #10 from AnchorFree/INFRA-6427-s3sync-kubernetes-s…
Browse files Browse the repository at this point in the history
…ecret-type-tls

add secret type for certificates
  • Loading branch information
dmitriy-lukyanchikov authored May 30, 2018
2 parents 9236ae3 + c464a60 commit 0fa66f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.swp
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ func saveSecretMapToK8s(sh map[string]map[string][]byte, namespace string, label
apiv1.TLSCertKey: sh[secret_domain]["cert"],
apiv1.TLSPrivateKeyKey: sh[secret_domain]["key"],
},
Type: apiv1.SecretType("kubernetes.io/tls"),
}, verbose)

if err != nil {
Expand Down

0 comments on commit 0fa66f2

Please sign in to comment.