0ff52f9b by Adam Heath

Refactor all values in environments to come from an external file, and

then add support for HELMFILE_ENVIRONMENT.
1 parent bbca7996
1 clusterIssuer:
2 jsonPatches: []
3 strategicMergePatches: []
4 caIssuer:
5 secretName: root-ca
6 letsencrypt:
7 enabled: true
8 email: name@example.com
9 tls_key: replace-me
10 root-ca:
11 crt: null
12 key: null
13 version:
14 raw: 1.1.0
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
......
1 environments:
2 {{ .Environment.Name }}:
3 missingFileHandler: Debug
4 values:
5 - environments/default-values.yaml
6 {{- if ne .Environment.Name "default" }}
7 - environments/{{ .Environment.Name }}-values.yaml
8 {{- end }}
9
1 namespace: istio-system
2 namePrefix: ""
3 version:
4 istio: 1.14.1
5 raw: 1.1.0
6 gateways:
7 - name: cluster-local-gateway
8 hosts:
9 - "*"
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: 3
4 - namespace: keycloak-operator
5 --- 4 ---
6 5
7 repositories: 6 repositories:
......
1 namespace: kube-system
2 storageClass:
3 default: true
4 name: local-path
5
6 nodePaths:
7 - node: DEFAULT_PATH_FOR_NON_LISTED_NODES
8 paths:
9 - /opt/local-path-provisioner
10
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 }}
......