mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-19 04:42:40 +02:00
* 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>
57 lines
1.1 KiB
YAML
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
|