Files
helmfile/test/integration/test-cases/happypath/input/happypath.yaml
T
yxxheroandYusuke Kuoka 5c5dc42ef5 Refactor integration tests (#531)
* refactor integrations

Signed-off-by: yxxhero <aiopsclub@163.com>

* Update the integration test directory structure to better correlate the test script with testdata

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Undo the test-cases directory renaming to make the diff more easy to understand

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* fix ci

Signed-off-by: yxxhero <aiopsclub@163.com>

Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-11-23 14:44:16 +09:00

57 lines
1.1 KiB
YAML

environments:
default:
values:
- environment.values.yaml
---
repositories:
- name: incubator
url: https://charts.helm.sh/incubator
helmDefaults:
kubeContext: minikube
releases:
- name: httpbin
chart: ../../../charts/httpbin
set:
- name: ingress.enabled
value: false
hooks:
- events: ["prepare", "cleanup"]
showlogs: true
command: "echo"
args:
- "{{`{{.Environment.Name}}`}}"
- "{{`{{.Release.Name}}`}}"
- "{{`{{.HelmfileCommand}}`}}"
- name: raw
chart: incubator/raw
version: 0.2.3
values:
- mysecret: {{ .Environment.Values.mysecret }}
- values.yaml
- name: helmx
chart: ../../../charts/helmx
namespace: helmx-system
jsonPatches:
- target:
version: v1
kind: ConfigMap
name: release-name
patch:
- op: add
path: /metadata/annotations
value:
foo: bar
- name: raw2
chart: incubator/raw
version: 0.2.3
condition: raw2.enabled
values:
- mysecret: {{ .Environment.Values.mysecret }}
- values.yaml