Skip to content

Commit

Permalink
elastic: move things around and do dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
GwynHannay committed May 8, 2024
1 parent 9070d98 commit 7eab3a1
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: monitoring
resources:
- ./helmrelease.yaml
- ./elastic.yaml
- ./kibana.yaml
- ./fluentd.yaml
Expand Down
15 changes: 15 additions & 0 deletions kubernetes/apps/monitoring/eck-app/ks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-eck-app
namespace: flux-system
spec:
dependsOn:
- name: cluster-apps-eck-operator
path: ./kubernetes/apps/monitoring/eck-app/app
prune: true
sourceRef:
kind: GitRepository
name: home-kubernetes
interval: 5m
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: monitoring
resources:
- ./helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cluster-apps-eck
name: cluster-apps-eck-operator
namespace: flux-system
spec:
path: ./kubernetes/apps/monitoring/eck/app
path: ./kubernetes/apps/monitoring/eck-operator/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
3 changes: 2 additions & 1 deletion kubernetes/apps/monitoring/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ kind: Kustomization
resources:
- ./namespace.yaml
- ./pvc.yaml
- ./eck/ks.yaml
- ./eck-app/ks.yaml
- ./eck-operator/ks.yaml
- ./glances/ks.yaml
- ./kubernetes-dashboard/ks.yaml

0 comments on commit 7eab3a1

Please sign in to comment.