GoogleContainerTools/skaffold

Is there or can there be support for helm plugins?

开放

#5,873 创建于 2021年5月20日

 (4 条评论) (0 个反应) (0 位负责人)Go (1,416 个派生)batch import
area/deploydeploy/helmhelp wantedkind/feature-requestpriority/p3

仓库指标

星标
 (12,822 个星标)
PR 合并指标
 (平均合并 3天 6小时) (30 天内合并 16 个 PR)

描述

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:
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/

贡献者指南