forked from hashicorp/faas-nomad
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit of secrets w/ housekeeping:
- updated vagrant provisioning process - added vault approle commands - added vault info types - WIP token/login on startup - Secret handler stub created Signed-off-by: Andrew Cornies <acornies@gmail.com>
- Loading branch information
Showing
13 changed files
with
200 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ consul.hcl | |
nomad.hcl | ||
|
||
.vagrant | ||
.vscode | ||
provisioning/saltstack/formulas* | ||
ubuntu*.log | ||
debug | ||
|
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,27 @@ | ||
[[constraint]] | ||
name = "github.com/openfaas/faas" | ||
version = "0.8.12" | ||
version = "0.10.1" | ||
|
||
[[constraint]] | ||
name = "github.com/openfaas/faas-provider" | ||
version = "0.7.1" | ||
version = "0.8.1" | ||
|
||
[[constraint]] | ||
name = "github.com/hashicorp/nomad" | ||
version = "0.7.0" | ||
|
||
[[constraint]] | ||
name = "github.com/hashicorp/vault" | ||
version = "v0.9.6" | ||
|
||
[[constraint]] | ||
name = "github.com/stretchr/testify" | ||
version = "1.1.4" | ||
|
||
[[constraint]] | ||
name = "github.com/mitchellh/mapstructure" | ||
version = "v1.1.2" | ||
|
||
[prune] | ||
go-tests = true | ||
unused-packages = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package handlers | ||
|
||
import ( | ||
"net/http" | ||
|
||
"github.com/hashicorp/faas-nomad/types" | ||
hclog "github.com/hashicorp/go-hclog" | ||
vapi "github.com/hashicorp/vault/api" | ||
) | ||
|
||
func MakeSecretHandler(vaultClient *vapi.Client, logger hclog.Logger, providerConfig types.ProviderConfig) http.HandlerFunc { | ||
return func(w http.ResponseWriter, r *http.Request) { | ||
} | ||
} |
Oops, something went wrong.