feat!: Remove support for k3s and go full-on Talos (#1482)

This commit is contained in:
Devin Buhl authored and GitHub committed 2024-05-21 08:29:59 -04:00
1 parent f4eb701ac6
commit 21afc0baa2
96 files changed
+508 -1845

No files matched your search

@@ -24,7 +24,7 @@ spec:
kind: OCIRepository
name: flux-manifests
patches:
# Remove the network policies that does not work with k3s
# Remove the network policies
- patch: |
$patch: delete
apiVersion: networking.k8s.io/v1
@@ -0,0 +1,9 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: coredns
namespace: flux-system
spec:
interval: 1h
url: https://coredns.github.io/helm
@@ -4,16 +4,16 @@ kind: Kustomization
resources:
- ./bjw-s.yaml
- ./cilium.yaml
- ./coredns.yaml
- ./jetstack.yaml
- ./metrics-server.yaml
- ./openebs.yaml
- ./postfinance.yaml
- ./prometheus-community.yaml
- ./spegel.yaml
- ./stakater.yaml
#% if bootstrap_cloudflare.enabled %#
- ./external-dns.yaml
- ./ingress-nginx.yaml
- ./k8s-gateway.yaml
#% endif %#
- ./jetstack.yaml
- ./metrics-server.yaml
- ./openebs.yaml
#% if bootstrap_distribution in ["talos"] %#
- ./postfinance.yaml
- ./spegel.yaml
#% endif %#
- ./stakater.yaml
@@ -1,4 +1,3 @@
#% if bootstrap_distribution in ["talos"] %#
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
@@ -8,4 +7,3 @@ metadata:
spec:
interval: 1h
url: https://postfinance.github.io/kubelet-csr-approver
#% endif %#
@@ -0,0 +1,11 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/source.toolkit.fluxcd.io/helmrepository_v1.json
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: prometheus-community
namespace: flux-system
spec:
type: oci
interval: 5m
url: oci://ghcr.io/prometheus-community/charts
@@ -1,4 +1,3 @@
#% if bootstrap_distribution in ["talos"] %#
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
@@ -9,4 +8,3 @@ spec:
type: oci
interval: 5m
url: oci://ghcr.io/spegel-org/helm-charts
#% endif %#
@@ -5,7 +5,6 @@ metadata:
name: cluster-settings
namespace: flux-system
data:
TIMEZONE: "#{ bootstrap_timezone }#"
CLUSTER_CIDR: "#{ bootstrap_pod_network.split(',')[0] }#"
NODE_CIDR: "#{ bootstrap_node_network }#"
#% if bootstrap_feature_gates.dual_stack_ipv4_first %#