flux: added goldilocks + vpa

This commit is contained in:
Vivian 2022-05-22 20:23:26 +02:00
parent fe5c0246e5
commit c6f0b742de
9 changed files with 75 additions and 0 deletions

View file

@ -5,3 +5,4 @@ resources:
- presidential-paradise
- authentik
- gitops
- monitoring

View file

@ -0,0 +1,22 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: goldilocks
namespace: monitoring
spec:
interval: 5m
chart:
spec:
chart: goldilocks
version: 6.1.2
sourceRef:
kind: HelmRepository
name: fairwinds-charts
namespace: flux-system
interval: 5m
timeout: 20m
values:
dashboard:
replicaCount: 1
ingress:
enabled: false

View file

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml

View file

@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- vpa
- goldilocks

View file

@ -0,0 +1,24 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: vpa
namespace: monitoring
spec:
interval: 5m
chart:
spec:
chart: vpa
version: 1.3.0
sourceRef:
kind: HelmRepository
name: fairwinds-charts
namespace: flux-system
interval: 5m
timeout: 20m
values:
recommender:
enabled: true
updater:
enabled: false
admissionController:
enabled: false

View file

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml

View file

@ -0,0 +1,9 @@
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: HelmRepository
metadata:
name: fairwinds-charts
namespace: flux-system
spec:
interval: 15m
url: https://charts.fairwinds.com/stable
timeout: 3m

View file

@ -5,3 +5,4 @@ resources:
- traefik-charts.yaml
- external-secrets-charts.yaml
- authentik-charts.yaml
- fairwinds-charts.yaml

View file

@ -0,0 +1,5 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: monitoring