Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support api details in config file #20

Open
travisghansen opened this issue Jan 16, 2019 · 1 comment
Open

support api details in config file #20

travisghansen opened this issue Jan 16, 2019 · 1 comment

Comments

@travisghansen
Copy link
Collaborator

travisghansen commented Jan 16, 2019

I'm interested in allowing for FreeNAS api (host, protocol, username, password, etc) details to be stored in some sort of config file outside the cluster. Reasoning is we have a pretty open cluster(s) that I'd like to be able to deploy the storage class in, but not worry about cracking down on things too much. Idea would be:

  1. run the provisioner on FreeNAS itself (or generally out of the cluster)
  2. support secrets out of cluster by passing a --secrets-file flag or similar

Structure of the secrets file would be something like the following directly mirroring the secrets in cluster:

---
<storage-class-name>:
  protocol:
  host:
  port:
  username:
  password:
  allowInsecure:
---
<storage-class-name>:
  protocol:
  ...

Interested in feedback on the idea.

@travisghansen
Copy link
Collaborator Author

@nmaupu any thoughts?

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

No branches or pull requests

1 participant