Skip to content

Commit

Permalink
feat: enable cilium; optimize helm repo usage
Browse files Browse the repository at this point in the history
  • Loading branch information
muhlba91 committed Oct 27, 2023
1 parent 625c980 commit 2b9358e
Show file tree
Hide file tree
Showing 26 changed files with 35 additions and 103 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ TODO.md
!**/secret-generator.yaml
!**/secret-generator.yml
local.env
.vscode/
18 changes: 18 additions & 0 deletions app-of-apps/helmrepository.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Helm Repositories which are used multiple times
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: bjw-s
namespace: flux-system
spec:
interval: 10m
url: https://bjw-s.github.io/helm-charts
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: bitnami
namespace: flux-system
spec:
url: https://charts.bitnami.com/bitnami # TODO: OCI
3 changes: 2 additions & 1 deletion app-of-apps/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ kind: Kustomization
namespace: flux-system
resources:
- repository.yaml
# - infrastructure.yaml
- helmrepository.yaml
- infrastructure.yaml
# - core.yaml
# - applications.yaml
# - home-assistant.yaml
2 changes: 1 addition & 1 deletion applications/adguard/templates/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: adguard
name: bjw-s
namespace: flux-system
valuesFrom:
- kind: ConfigMap
Expand Down
8 changes: 0 additions & 8 deletions applications/adguard/templates/repository.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion applications/coredns/etcd/templates/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: coredns-etcd
name: bitnami
namespace: flux-system
valuesFrom:
- kind: ConfigMap
Expand Down
8 changes: 0 additions & 8 deletions applications/coredns/etcd/templates/repository.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion applications/coredns/external-dns/templates/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: coredns-external-dns
name: bitnami
namespace: flux-system
valuesFrom:
- kind: ConfigMap
Expand Down
8 changes: 0 additions & 8 deletions applications/coredns/external-dns/templates/repository.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion applications/dnsmasq/templates/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: dnsmasq
name: bjw-s
namespace: flux-system
valuesFrom:
- kind: ConfigMap
Expand Down
8 changes: 0 additions & 8 deletions applications/dnsmasq/templates/repository.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion core/external-dns/templates/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: external-dns
name: bitnami
namespace: flux-system
valuesFrom:
- kind: ConfigMap
Expand Down
8 changes: 0 additions & 8 deletions core/external-dns/templates/repository.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion home-assistant/ecowitt2mqtt/templates/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: home-assistant-ecowitt2mqtt
name: bjw-s
namespace: flux-system
valuesFrom:
- kind: ConfigMap
Expand Down
8 changes: 0 additions & 8 deletions home-assistant/ecowitt2mqtt/templates/repository.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion home-assistant/home-assistant/templates/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: home-assistant-home-assistant
name: bjw-s
namespace: flux-system
valuesFrom:
- kind: ConfigMap
Expand Down
8 changes: 0 additions & 8 deletions home-assistant/home-assistant/templates/repository.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion home-assistant/node-red/templates/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: home-assistant-node-red
name: bjw-s
namespace: flux-system
valuesFrom:
- kind: ConfigMap
Expand Down
8 changes: 0 additions & 8 deletions home-assistant/node-red/templates/repository.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion home-assistant/ring-mqtt/templates/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: home-assistant-ring-mqtt
name: bjw-s
namespace: flux-system
valuesFrom:
- kind: ConfigMap
Expand Down
8 changes: 0 additions & 8 deletions home-assistant/ring-mqtt/templates/repository.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion home-assistant/telegraf/templates/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: home-assistant-telegraf
name: bjw-s
namespace: flux-system
valuesFrom:
- kind: ConfigMap
Expand Down
8 changes: 0 additions & 8 deletions home-assistant/telegraf/templates/repository.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion home-assistant/zwave/templates/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: home-assistant-zwave
name: bjw-s
namespace: flux-system
valuesFrom:
- kind: ConfigMap
Expand Down
8 changes: 0 additions & 8 deletions home-assistant/zwave/templates/repository.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions infrastructure/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: flux-system
resources: []
# - ./cilium/
# - ./metallb/
resources:
- ./cilium/
# - ./external-secrets/
# - ./longhorn/
# - ./metallb/
# - ./traefik/

0 comments on commit 2b9358e

Please sign in to comment.