Refactor all values in environments to come from an external file, and
then add support for HELMFILE_ENVIRONMENT.
Showing
11 changed files
with
59 additions
and
49 deletions
1 | environments: | 1 | bases: |
2 | default: | 2 | - ../common/environments.yaml |
3 | values: | ||
4 | - clusterIssuer: | ||
5 | jsonPatches: [] | ||
6 | strategicMergePatches: [] | ||
7 | caIssuer: | ||
8 | secretName: root-ca | ||
9 | letsencrypt: | ||
10 | enabled: true | ||
11 | email: name@example.com | ||
12 | tls_key: replace-me | ||
13 | root-ca: | ||
14 | crt: null | ||
15 | key: null | ||
16 | version: | ||
17 | raw: 1.1.0 | ||
18 | 3 | ||
19 | repositories: | 4 | repositories: |
20 | - name: jetstack | 5 | - name: jetstack | ... | ... |
common/environments.yaml
0 → 100644
istio/environments/default-values.yaml
0 → 100644
1 | environments: | 1 | bases: |
2 | default: | 2 | - ../common/environments.yaml |
3 | values: | ||
4 | - namespace: istio-system | ||
5 | namePrefix: "" | ||
6 | version: | ||
7 | istio: 1.14.1 | ||
8 | raw: 1.1.0 | ||
9 | gateways: | ||
10 | - name: cluster-local-gateway | ||
11 | hosts: | ||
12 | - "*" | ||
13 | 3 | ||
14 | repositories: | 4 | repositories: |
15 | - name: istio | 5 | - name: istio | ... | ... |
1 | environments: | 1 | bases: |
2 | default: | 2 | - ../common/environments.yaml |
3 | values: | ||
4 | - namespace: kube-system | ||
5 | storageClass: | ||
6 | default: true | ||
7 | name: local-path | ||
8 | |||
9 | nodePaths: | ||
10 | - node: DEFAULT_PATH_FOR_NON_LISTED_NODES | ||
11 | paths: | ||
12 | - /opt/local-path-provisioner | ||
13 | --- | 3 | --- |
14 | 4 | ||
15 | repositories: | 5 | repositories: | ... | ... |
1 | environments: | 1 | bases: |
2 | default: | 2 | - ../common/environments.yaml |
3 | values: | ||
4 | - namespace: postgres-operator | ||
5 | 3 | ||
6 | repositories: | 4 | repositories: |
7 | - name: postgres-operator-charts | 5 | - name: postgres-operator-charts |
8 | url: https://opensource.zalando.com/postgres-operator/charts/postgres-operator | 6 | url: https://opensource.zalando.com/postgres-operator/charts/postgres-operator |
9 | 7 | ||
8 | --- | ||
9 | |||
10 | releases: | 10 | releases: |
11 | - name: postgres-operator | 11 | - name: postgres-operator |
12 | namespace: {{ .Values.namespace }} | 12 | namespace: {{ .Values.namespace }} | ... | ... |
-
Please register or sign in to post a comment