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

Unable to deploy injector only #173

Closed
herrbpl opened this issue Jan 13, 2020 · 6 comments · Fixed by #207
Closed

Unable to deploy injector only #173

herrbpl opened this issue Jan 13, 2020 · 6 comments · Fixed by #207
Assignees
Labels
docs Improvements or additions to documentation enhancement New feature or request
Milestone

Comments

@herrbpl
Copy link

herrbpl commented Jan 13, 2020

Attempt to deploy following configuration:

global:
    enabled: false
  injector:
    # True if you want to enable vault agent injection.
    enabled: true

results following error from helm:
Error: release vault-injector failed: no objects visited

Expected result:

  • Injector Agent installed

Actual result:

  • Deployment fails

Helm template version 0.3.2
Target Environment: Rancher v2.3.2

@ianks
Copy link

ianks commented Jan 13, 2020

I was curious if it is possible to run the injector only since we already have a Vault server. Is this a supported use case?

@herrbpl
Copy link
Author

herrbpl commented Jan 14, 2020

Yes it can be run, I extracted injector part from Helm Chart and made it run standalone. Just needed to add additional parameter to specify Vault server. Hope this will be supported by official chart as well.

@jleechp-occm
Copy link

Would definitely be nice to have as a supported feature. Multiple k8s clusters don't need multiple Vault instances as opposed to leveraging a centralized one.

@tvoran tvoran added docs Improvements or additions to documentation enhancement New feature or request labels Jan 22, 2020
@tvoran
Copy link
Member

tvoran commented Jan 23, 2020

Hi there, this should be possible with the current chart by deploying vault-k8s manually as described in this thread: hashicorp/vault-k8s#15

Adding an example of this kind of configuration to the docs is definitely on the todo list.

@jasonodonnell jasonodonnell added this to the v0.4.0 milestone Jan 23, 2020
@lawliet89
Copy link
Contributor

In case you are trying to find out how to opt out of the server portion of the chart only, you can find the information in this PR: #159

@tvoran tvoran linked a pull request Feb 20, 2020 that will close this issue
@tvoran
Copy link
Member

tvoran commented Feb 22, 2020

Hi @herrbpl, sorry this was auto-closed without another response. We recently merged #207 which I think addresses your issue since it allows for deploying only the injector against an external vault. Please feel free to re-open if you have further questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants