mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-03 00:05:09 +02:00
This is important for deployments where the chart repo is protected by client cert validation.
helmfile.yaml is extended to support `certFile` and `keyFile`:
```
repositories:
- name: roboll
url: http://roboll.io/charts
certFile: optional_client_cert
keyFile: optional_client_key
```
Everything works the same if you don't provide values for them.
Regarding the implementation, the "helm repo add" command already supports the cert-file and key-file values, so we just have to pass them through.
13 lines
304 B
Go
13 lines
304 B
Go
package helmexec
|
|
|
|
type Interface interface {
|
|
SetExtraArgs(args ...string)
|
|
|
|
AddRepo(name, repository, certfile, keyfile string) error
|
|
UpdateRepo() error
|
|
|
|
SyncRelease(name, chart string, flags ...string) error
|
|
DiffRelease(name, chart string, flags ...string) error
|
|
DeleteRelease(name string) error
|
|
}
|