make a better override + add more values (serviceAccount, nodeSelector...)

This commit is contained in:
2024-04-21 16:34:21 +02:00
parent ec62a79d82
commit d48fd2f911
2 changed files with 49 additions and 8 deletions

View File

@@ -57,6 +57,8 @@ type Value struct {
Environment map[string]any `yaml:"environment,omitempty"`
Replicas *uint32 `yaml:"replicas,omitempty"`
CronJob *CronJobValue `yaml:"cronjob,omitempty"`
NodeSelector map[string]string `yaml:"nodeSelector"`
ServiceAccount string `yaml:"serviceAccount"`
}
// CronJobValue is a cronjob configuration that will be saved in values.yaml.