♻️ apply kube templates

This commit is contained in:
auricom
2024-01-23 17:22:40 +01:00
parent d384984388
commit cb87a67dd2
262 changed files with 1510 additions and 3360 deletions

View File

@@ -1,22 +0,0 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
name: ngnode-landing-page-gatus-ep
namespace: ngnode
labels:
gatus.io/enabled: "true"
data:
config.yaml: |
endpoints:
- name: ngnode-landing-page
group: external
url: https://ngnode-landing-page.${SECRET_CLUSTER_DOMAIN}
interval: 1m
client:
dns-resolver: tcp://1.1.1.1:53
insecure: true
conditions:
- "[STATUS] == 200"
alerts:
- type: pushover

View File

@@ -4,7 +4,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: ngnode
resources:
- ./gatus.yaml
- ./helmrelease.yaml
- ../../../../templates/gatus/external
generatorOptions:
disableNameSuffixHash: true

View File

@@ -3,14 +3,23 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-ngnode-landing-page
name: &app ngnode-landing-page
namespace: flux-system
spec:
targetNamespace: ngnode
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/ngnode/landing-page/app
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
wait: false
interval: 30m
retryInterval: 1m
timeout: 3m
timeout: 5m
postBuild:
substitute:
APP: *app