Add helmfile state validate policy (#592)

This commit is contained in:
yxxhero
2022-12-21 10:49:31 +08:00
committed by GitHub
parent 8ec51c2826
commit d8d0bf830a
9 changed files with 148 additions and 8 deletions
@@ -0,0 +1,8 @@
localChartRepoServer:
enabled: true
port: 18083
chartifyTempDir: envs_releases_within_same_yaml_part
helmfileArgs:
- --environment
- prod
- template
@@ -0,0 +1,11 @@
environments:
prod:
staging:
releases:
- name: raw
chart: ../../charts/raw-0.0.1
values:
- templates:
- |
chartVersion: {{`{{ .Chart.Version }}`}}
@@ -0,0 +1,8 @@
Warning: environments and releases cannot be defined within the same YAML part. Use --- to extract the environments into a dedicated part
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
---
# Source: raw/templates/resources.yaml
chartVersion: 0.0.1
@@ -5,7 +5,7 @@ repositories:
releases:
- name: elasticsearch
chart: bitnami/elasticsearch
version: 17.5.7
version: 19.0.1
jsonPatches:
- target:
version: v1