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

Function secrets need default Vault policy #54

Closed
acornies opened this issue Oct 15, 2018 · 2 comments
Closed

Function secrets need default Vault policy #54

acornies opened this issue Oct 15, 2018 · 2 comments

Comments

@acornies
Copy link
Collaborator

What are the steps to reproduce this issue?

  1. Use the UI or faas-cli to deploy a function w/ one or more secrets using the Nomad provider

What happens?

Function is never "ready" due to missing Vault policy in certain Nomad configurations

What were you expecting to happen?

Functions can be deployed with secrets using Vault Nomad integration

Any logs, error output, etc?

N/A

Any other comments?

When a Nomad client is configured with a Vault master token this isn't a problem, but when Nomad Vault integration is configured to request token on-the-fly for functions (from the Nomad servers) a policy is needed to this behaviour to work.

What versions of software are you using?

Operating System: Ubuntu 16.04 x64

OpenFaaS Version: 0.9.3

Nomad Version: 0.8.4

@nicholasjackson
Copy link
Contributor

Sorry @acornies just merged your PR, will do a tagged build in 10 mins

@acornies
Copy link
Collaborator Author

Resolved in #53

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants