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
clusterIssuer:
jsonPatches: []
strategicMergePatches: []
caIssuer:
secretName: root-ca
letsencrypt:
enabled: true
email: name@example.com
tls_key: replace-me
root-ca:
crt: null
key: null
version:
raw: 1.1.0
environments:
default:
values:
- clusterIssuer:
jsonPatches: []
strategicMergePatches: []
caIssuer:
secretName: root-ca
letsencrypt:
enabled: true
email: name@example.com
tls_key: replace-me
root-ca:
crt: null
key: null
version:
raw: 1.1.0
bases:
- ../common/environments.yaml
repositories:
- name: jetstack
......
environments:
{{ .Environment.Name }}:
missingFileHandler: Debug
values:
- environments/default-values.yaml
{{- if ne .Environment.Name "default" }}
- environments/{{ .Environment.Name }}-values.yaml
{{- end }}
namespace: istio-system
namePrefix: ""
version:
istio: 1.14.1
raw: 1.1.0
gateways:
- name: cluster-local-gateway
hosts:
- "*"
environments:
default:
values:
- namespace: istio-system
namePrefix: ""
version:
istio: 1.14.1
raw: 1.1.0
gateways:
- name: cluster-local-gateway
hosts:
- "*"
bases:
- ../common/environments.yaml
repositories:
- name: istio
......
environments:
default:
values:
- namespace: keycloak-operator
bases:
- ../common/environments.yaml
---
repositories:
......
namespace: kube-system
storageClass:
default: true
name: local-path
nodePaths:
- node: DEFAULT_PATH_FOR_NON_LISTED_NODES
paths:
- /opt/local-path-provisioner
environments:
default:
values:
- namespace: kube-system
storageClass:
default: true
name: local-path
nodePaths:
- node: DEFAULT_PATH_FOR_NON_LISTED_NODES
paths:
- /opt/local-path-provisioner
bases:
- ../common/environments.yaml
---
repositories:
......
environments:
default:
values:
- namespace: postgres-operator
bases:
- ../common/environments.yaml
repositories:
- name: postgres-operator-charts
url: https://opensource.zalando.com/postgres-operator/charts/postgres-operator
---
releases:
- name: postgres-operator
namespace: {{ .Values.namespace }}
......