mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-08 08:11:48 +02:00
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:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user