Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
Use password generation instead of bash
Browse files Browse the repository at this point in the history
shasum doesn't exist on Linux hosts

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Dec 15, 2020
1 parent 42c4087 commit 8f74588
Show file tree
Hide file tree
Showing 6 changed files with 1,217 additions and 52 deletions.
8 changes: 4 additions & 4 deletions cmd/create_github.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,21 +145,21 @@ func printResult(rootDomain string, appRes github.AppResult) {
AppID: fmt.Sprintf("%d", appRes.ID),
},
Secrets: []types.KeyValueNamespaceTuple{
types.KeyValueNamespaceTuple{
{
Name: "github-webhook-secret",
Literals: []types.KeyValueTuple{
types.KeyValueTuple{
{
Name: "github-webhook-secret",
Value: appRes.WebhookSecret,
},
},
Filters: []string{"scm_github"},
Namespace: "openfaas-fn",
},
types.KeyValueNamespaceTuple{
{
Name: "private-key",
Literals: []types.KeyValueTuple{
types.KeyValueTuple{
{
Name: "private-key",
Value: appRes.PEM,
},
Expand Down
18 changes: 15 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,26 @@ module github.com/openfaas/ofc-bootstrap
go 1.13

require (
code.cloudfoundry.org/bytefmt v0.0.0-20200131002437-cf55d5288a48 // indirect
github.com/alexellis/arkade v0.0.0-20201213184027-cc231f9508b1
github.com/alexellis/derek v0.0.0-20201203223145-52084a5968ea // indirect
github.com/alexellis/go-execute v0.0.0-20201205082949-69a2cde04f4f
github.com/imdario/mergo v0.3.8
github.com/bitnami-labs/sealed-secrets v0.13.1 // indirect
github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7 // indirect
github.com/imdario/mergo v0.3.11
github.com/inlets/inletsctl v0.0.0-20200211123457-caff14436308
github.com/jinzhu/copier v0.0.0-20190924061706-b57f9002281a
github.com/minio/minio-go v6.0.14+incompatible // indirect
github.com/moby/buildkit v0.8.1 // indirect
github.com/morikuni/aec v1.0.0
github.com/onsi/ginkgo v1.14.2 // indirect
github.com/onsi/gomega v1.10.4 // indirect
github.com/openfaas/faas-cli v0.0.0-20201211213129-87c59955dd17 // indirect
github.com/openfaas/openfaas-cloud/edge-auth v0.0.0-20201214095559-b4ad89b94ed9 // indirect
github.com/openfaas/openfaas-cloud/sdk v0.0.0-20201214095559-b4ad89b94ed9 // indirect
github.com/pkg/errors v0.9.1
github.com/spf13/cobra v1.1.1
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/yaml.v2 v2.2.8
gopkg.in/yaml.v2 v2.3.0
k8s.io/apimachinery v0.20.0 // indirect
k8s.io/client-go v11.0.0+incompatible // indirect
)
Loading

0 comments on commit 8f74588

Please sign in to comment.