feat(operators): add Grafana operator
This commit is contained in:
parent
95e08c0c24
commit
1def2597c0
3 changed files with 29 additions and 0 deletions
12
apps/grafana/base/kustomization.yaml
Normal file
12
apps/grafana/base/kustomization.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- https://github.com/grafana/grafana-operator/releases/download/v5.12.0/kustomize-cluster_scoped.yaml
|
||||||
|
patches:
|
||||||
|
- patch: |-
|
||||||
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
|
kind: CustomResourceDefinition
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-options: Replace=true
|
||||||
|
name: grafanas.grafana.integreatly.org
|
||||||
11
apps/grafana/overlays/system/config.json
Normal file
11
apps/grafana/overlays/system/config.json
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"appName": "grafana",
|
||||||
|
"userGivenName": "grafana",
|
||||||
|
"destNamespace": "monitoring-system",
|
||||||
|
"destServer": "https://kubernetes.default.svc",
|
||||||
|
"srcPath": "apps/grafana/overlays/system",
|
||||||
|
"srcRepoURL": "ssh://git@gitea-ssh.gitops.svc.cluster.local:2222/davad/argo.git",
|
||||||
|
"srcTargetRevision": "",
|
||||||
|
"labels": null,
|
||||||
|
"annotations": null
|
||||||
|
}
|
||||||
6
apps/grafana/overlays/system/kustomization.yaml
Normal file
6
apps/grafana/overlays/system/kustomization.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ../../base
|
||||||
|
|
||||||
|
namespace: monitoring-system
|
||||||
Loading…
Add table
Add a link
Reference in a new issue