add infra app logstash for omada syslog

This commit is contained in:
2024-07-10 19:00:34 +10:00
parent 5c715d1d53
commit 674bb2e8d3
5 changed files with 214 additions and 3 deletions

View File

@@ -0,0 +1,50 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: logstash-secrets
namespace: flux-system
spec:
interval: 10m
timeout: 1m30s
retryInterval: 30s
targetNamespace: logstash
path: ./logstash
prune: true
sourceRef:
kind: GitRepository
namespace: flux-system
name: home-cluster-ops-secrets
dependsOn:
- name: repositories
namespace: flux-system
decryption:
provider: sops
secretRef:
name: sops-age
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: logstash
namespace: logstash
spec:
interval: 10m
timeout: 1m30s
retryInterval: 30s
path: ./kubernetes/infrastructure/logstash/app
prune: true
sourceRef:
kind: GitRepository
namespace: flux-system
name: flux-system
dependsOn:
- name: namespaces
namespace: flux-system
- name: logstash-secrets
namespace: flux-system
- name: local-path-provisioner
namespace: local-path-storage
postBuild:
substituteFrom:
- kind: Secret
name: logstash-secrets