Skip to content

Commit

Permalink
feat(provisioning): moved helm repos to sub helmfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario-F committed Dec 24, 2021
1 parent 20309d0 commit a28ce78
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 21 deletions.
1 change: 0 additions & 1 deletion provisioning/helmfile.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
bases:
- ./repositories.yaml
- ./clusters/init.yaml

---
Expand Down
8 changes: 8 additions & 0 deletions provisioning/infra/helmfile.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
---
{{ readFile "../common/templates.yaml" }}

repositories:

- name: bitnami
url: https://charts.bitnami.com/bitnami

- name: ingress-nginx
url: https://kubernetes.github.io/ingress-nginx

releases:

- name: metrics-server
Expand Down
5 changes: 5 additions & 0 deletions provisioning/monitoring/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
{{ readFile "../common/templates.yaml" }}
{{- $globalPrometheus := .Values | get "global-config.prometheus" dict }}

repositories:

- name: prometheus-community
url: https://prometheus-community.github.io/helm-charts

releases:

{{- if $globalPrometheus.enabled }}
Expand Down
20 changes: 0 additions & 20 deletions provisioning/repositories.yaml

This file was deleted.

5 changes: 5 additions & 0 deletions provisioning/services/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
{{ readFile "../common/templates.yaml" }}
{{- $globalPrometheus := .Values | get "global-config.prometheus" dict }}

repositories:

- name: jetstack
url: https://charts.jetstack.io

releases:

- name: cert-manager
Expand Down

0 comments on commit a28ce78

Please sign in to comment.