mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
♻️ apply kube templates
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: lidarr-gatus-ep
|
||||
namespace: default
|
||||
labels:
|
||||
gatus.io/enabled: "true"
|
||||
data:
|
||||
config.yaml: |
|
||||
endpoints:
|
||||
- name: lidarr
|
||||
group: internal
|
||||
url: 192.168.8.1
|
||||
interval: 1m
|
||||
ui:
|
||||
hide-hostname: true
|
||||
hide-url: true
|
||||
dns:
|
||||
query-name: lidarr.${SECRET_CLUSTER_DOMAIN}
|
||||
query-type: A
|
||||
conditions:
|
||||
- "[BODY] == 192.168.169.101"
|
||||
- "[DNS_RCODE] == NOERROR"
|
||||
alerts:
|
||||
- type: pushover
|
@@ -97,7 +97,9 @@ spec:
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
type: emptyDir
|
||||
existingClaim: *app
|
||||
globalMounts:
|
||||
- path: /config
|
||||
music:
|
||||
type: nfs
|
||||
server: "${LOCAL_LAN_TRUENAS}"
|
||||
|
@@ -5,8 +5,9 @@ kind: Kustomization
|
||||
namespace: default
|
||||
resources:
|
||||
- ./externalsecret.yaml
|
||||
- ./gatus.yaml
|
||||
- ./helmrelease.yaml
|
||||
- ../../../../templates/gatus/guarded
|
||||
- ../../../../templates/volsync
|
||||
configMapGenerator:
|
||||
- name: lidarr-pushover
|
||||
files:
|
||||
|
@@ -3,18 +3,28 @@
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: cluster-apps-lidarr-app
|
||||
name: &app lidarr
|
||||
namespace: flux-system
|
||||
spec:
|
||||
targetNamespace: default
|
||||
commonMetadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: *app
|
||||
|
||||
dependsOn:
|
||||
- name: cluster-apps-external-secrets-stores
|
||||
- name: cluster-apps-rook-ceph-cluster
|
||||
- name: cluster-apps-volsync-app
|
||||
- name: external-secrets-stores
|
||||
- name: rook-ceph-cluster
|
||||
- name: volsync
|
||||
path: ./kubernetes/apps/default/lidarr/app
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: home-ops-kubernetes
|
||||
wait: false
|
||||
interval: 30m
|
||||
retryInterval: 1m
|
||||
timeout: 3m
|
||||
timeout: 5m
|
||||
postBuild:
|
||||
substitute:
|
||||
APP: *app
|
||||
VOLSYNC_CAPACITY: 20Gi
|
||||
|
Reference in New Issue
Block a user