Skip to content

Commit 4793caa

Browse files
authored
Merge pull request #218 from elamaran11/feature/gitopsWithGrafana
GitOps with Amazon Managed Grafana Workshop Module Snippets
2 parents 0f76914 + 78ddb20 commit 4793caa

14 files changed

+12985
-0
lines changed

gitops/git-repository.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: source.toolkit.fluxcd.io/v1beta2
2+
kind: GitRepository
3+
metadata:
4+
name: grafana-repo
5+
namespace: flux-system
6+
spec:
7+
interval: 5m0s
8+
url: https://github.com/aws-samples/one-observability-demo
9+
ref:
10+
branch: main

gitops/grafana-kustomization.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
2+
kind: Kustomization
3+
metadata:
4+
name: grafana-kustomization
5+
namespace: flux-system
6+
spec:
7+
interval: 1m0s
8+
path: ./grafana-operator-manifests
9+
prune: true
10+
sourceRef:
11+
kind: GitRepository
12+
name: grafana-repo
13+
postBuild:
14+
substituteFrom:
15+
- kind: ConfigMap
16+
name: cluster-vars

0 commit comments

Comments
 (0)