v1.1.0
This is big overhaul on the way we generate the Kubernetes yaml that Flux will apply. This structural change was necessary to make for supporting the upcoming linting and Helm chart testing that can run locally to make sure everything is working locally before pushing the code into your repository. Without this change, it would have made those future activities a lot harder to do without user intervention and the purpose of this project is really to automate away manual user activities.
Breaking changes
- In the
HelmRelease
's we will no longer use thevaluesFrom.configMapKeyRef
methods. Instead we will be using justvalues
.
valuesFrom:
# Base values for all environments
- configMapKeyRef:
name: helmrelease-base-values
key: base-values.yaml
optional: false
# This environment specific values
- configMapKeyRef:
name: helmrelease-env-values
key: values.yaml
optional: false
- Going forward, we all of the environment and base values should be in the
values
.
Significant changes
kustomize
will be used for base and environment specific values. Notes on why we are using kustomize: https://github.com/ManagedKube/kubernetes-common-services/blob/master/docs/kustomize.md
Required Actions
- You will need to change all of the
valuesFrom.configMapKeyRef
to avalues
format - Add
kustomize
and.flux.yaml
files to your Flux release directory paths. - Examples environment: https://github.com/ManagedKube/kubernetes-common-services/tree/master/kubernetes/flux/releases