Revert "cleanup: remove all about v0.x" (#1918)

Revert "cleanup: remove all about v0.x (#1903)"

This reverts commit d7bcd5e998.

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero
2025-02-08 18:25:16 +08:00
committed by GitHub
parent 6cb42d1416
commit 63e2684ade
229 changed files with 9464 additions and 510 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ func testHelmfileTemplateWithBuildCommand(t *testing.T, goccyGoYaml bool) {
helmConfigHome := filepath.Join(tmpDir, "helm_config")
t.Logf("Using HELM_CACHE_HOME=%s, HELMFILE_CACHE_HOME=%s, HELM_CONFIG_HOME=%s", helmCacheHome, helmfileCacheHome, helmConfigHome)
inputFile := filepath.Join(testdataDir, name, "input.yaml.gotmpl")
inputFile := filepath.Join(testdataDir, name, "input.yaml")
outputFile := filepath.Join(testdataDir, name, "output.yaml")
ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second)
@@ -4,13 +4,13 @@ environments:
- test.yaml.gotmpl
---
helmfiles:
- path: helmfiles/test.yaml.gotmpl
- path: helmfiles/test.yaml
values:
- envName: {{ .Values.envName }}
- path: helmfiles/prod.yaml.gotmpl
- path: helmfiles/prod.yaml
values:
- envName: {{ .Values.envName }}
- path: helmfiles/no-envs.yaml.gotmpl
- path: helmfiles/no-envs.yaml
values:
- envName: {{ .Values.envName }}
- path: helmfiles/no-values.yaml.gotmpl
- path: helmfiles/no-values.yaml
@@ -0,0 +1,5 @@
chartifyTempDir: envs_releases_within_same_yaml_part
helmfileArgs:
- --environment
- prod
- template
@@ -1,3 +1,4 @@
WARNING: environments and releases cannot be defined within the same YAML part. Use --- to extract the environments into a dedicated part
Building dependency release=raw, chart=../../charts/raw-0.0.1
Templating release=raw, chart=../../charts/raw-0.0.1
---
@@ -1,5 +0,0 @@
chartifyTempDir: envs_releases_without_same_yaml_part
helmfileArgs:
- --environment
- prod
- template
@@ -1,7 +1,7 @@
---
# Source: __workingdir__/testdata/snapshot/issue_2098_release_template_needs/input.yaml.gotmpl
# Source: __workingdir__/testdata/snapshot/issue_2098_release_template_needs/input.yaml
filepath: input.yaml.gotmpl
filepath: input.yaml
helmBinary: helm
kustomizeBinary: kustomize
environments: