GoogleContainerTools / GoogleContainerTools/skaffold

Is there or can there be support for helm plugins?

Open
#5,873 4 comments 0 reactions 0 assignees View on GitHub
area/deploy deploy/helm help wanted kind/feature-request priority/p3
Dominant language
Go
Stars
15.9k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
10

Description

### Expected behavior

Helm supports plugins, we're currently using a plugin that assists in automatic recovery of secrets from vault, it's a fork of this plugin:

https://github.com/Just-Insane/helm-vault

Once a plugin is installed an extra subcommand is injected into helm and the plugin is activated by calling helm with, in this case, vault as a subcommand. i.e.

`helm vault template helm/myChart -f myValuesFile.yaml`

### Actual behavior

I have the plugin installed but I'm unsure how to have skaffold ustilize it. Is there current functionality to call a plugin when using helm?

### Information

- Skaffold version: v1.23.0
- Operating system: OSx 11.3.1
- Installed via: Homebrew
- Contents of skaffold.yaml:

```yaml
apiVersion: skaffold/v2beta13
kind: Config
build:
# defines where to find the code at build time and where to push the resulting image
artifacts:
- context: .
image: gcr.io/myProject/myApi
tagPolicy:
gitCommit:
variant: CommitSha
deploy:
helm:
releases:
- name: "myApi-{{.USER}}"
wait: true
recreatePods: true
artifactOverrides:
image: gcr.io/myProject/myApi
chartPath: helm/myApi
valuesFiles:
- "helm/vars/local.yaml"
profiles: []
```

For extra information, here's the helm plugin design guide
https://helm.sh/docs/topics/plugins/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.