Skip to content

Commit

Permalink
chore: switch to layered helmfiles
Browse files Browse the repository at this point in the history
helmfile was giving us warnings because the environments where not
seperate yaml documents. Also the recommendation how to structure you
helmfile changed. There is a new layering featurte that enabled you to
share common parts (like environments ;))
  • Loading branch information
cc-ju committed Oct 6, 2023
1 parent c56ba53 commit c7eb072
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 20 deletions.
10 changes: 3 additions & 7 deletions infrastructure/kubernetes/helmfile.d/00-namespaces.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
bases:
- environments.yaml

repositories:
- name: incubator
url: https://charts.helm.sh/incubator

environments:
default:
istio:
linkerd:
kuma:
traefik-mesh:

releases:
- name: namespaces
chart: incubator/raw
Expand Down
10 changes: 3 additions & 7 deletions infrastructure/kubernetes/helmfile.d/10-keycloak.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
bases:
- environments.yaml

repositories:
- name: codecentric
url: https://codecentric.github.io/helm-charts
Expand All @@ -6,13 +9,6 @@ repositories:
- name: bitnami-archive-full-index
url: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami

environments:
default:
istio:
linkerd:
kuma:
traefik-mesh:

releases:
- name: keycloak-postgresql
namespace: hc-keycloak
Expand Down
8 changes: 2 additions & 6 deletions infrastructure/kubernetes/helmfile.d/20-habitcentric.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
environments:
default:
istio:
linkerd:
kuma:
traefik-mesh:
bases:
- environments.yaml

repositories:
- name: bitnami-archive-full-index
Expand Down
6 changes: 6 additions & 0 deletions infrastructure/kubernetes/helmfile.d/environments.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
environments:
default:
istio:
linkerd:
kuma:
traefik-mesh:

0 comments on commit c7eb072

Please sign in to comment.