add polaris

This commit is contained in:
2024-09-28 12:54:13 -04:00
parent 02269a0209
commit 593b2d3da5
5 changed files with 74 additions and 0 deletions

View File

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

View File

@@ -0,0 +1,18 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: polaris
namespace: flux-system
spec:
interval: 15m
path: ./polaris
prune: true # remove any elements later removed from the above path
timeout: 2m # if not set, this defaults to interval duration, which is 1h
sourceRef:
kind: GitRepository
name: flux-system
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
name: polaris
namespace: polaris

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: polaris

View File

@@ -0,0 +1,12 @@
apiVersion: externaldns.k8s.io/v1alpha1
kind: DNSEndpoint
metadata:
name: polaris.michaelthomson.dev
namespace: kube-prometheus-stack
spec:
endpoints:
- dnsName: polaris.michaelthomson.dev
recordTTL: 180
recordType: CNAME
targets:
- server.michaelthomson.dev

View File

@@ -0,0 +1,32 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: polaris
namespace: polaris
spec:
chart:
spec:
chart: polaris
version: 5.x
sourceRef:
kind: HelmRepository
name: fairwinds
namespace: flux-system
interval: 15m
timeout: 5m
releaseName: polaris
values:
dashboard:
ingress:
enabled: true
annotations:
traefik.ingress.kubernetes.io/router.tls: "true"
traefik.ingress.kubernetes.io/router.entrypoints: websecure
hosts:
- polaris.michaelthomson.dev
path: /
tls:
- secretName: letsencrypt-wildcard-cert-michaelthomson.dev
hosts:
- polaris.michaelthomson.dev