adding args to be added in helmfile along with context to be set in helmspec (#171)

Ref #114 

Changelog:

* adding args to be added in helmfile along with context to be set in helmspec

* making command args take precedence
This commit is contained in:
rmartinez3
2018-06-26 10:12:38 +09:00
committed by KUOKA Yusuke
parent af1914c575
commit 58bc2a2997
2 changed files with 29 additions and 12 deletions
+6
View File
@@ -25,6 +25,7 @@ import (
// HelmState structure for the helmfile
type HelmState struct {
BaseChartPath string
HelmDefaults HelmSpec `yaml:"helmDefaults"`
Context string `yaml:"context"`
DeprecatedReleases []ReleaseSpec `yaml:"charts"`
Namespace string `yaml:"namespace"`
@@ -32,6 +33,11 @@ type HelmState struct {
Releases []ReleaseSpec `yaml:"releases"`
}
// HelmSpec to defines helmDefault values
type HelmSpec struct {
Args []string `yaml:"args"`
}
// RepositorySpec that defines values for a helm repo
type RepositorySpec struct {
Name string `yaml:"name"`