From fff488f7eff270323f31edde22af006c19fe1462 Mon Sep 17 00:00:00 2001 From: Mariell Hoversholm Date: Wed, 13 Nov 2024 10:15:07 +0100 Subject: [PATCH] feat: include more example repositories --- apps/gituisync/github-repo.yaml | 12 ++++++++++++ apps/gituisync/kinds/{config.cue => repository.cue} | 0 apps/gituisync/s3-repo.yaml | 11 +++++++++++ 3 files changed, 23 insertions(+) create mode 100644 apps/gituisync/github-repo.yaml rename apps/gituisync/kinds/{config.cue => repository.cue} (100%) create mode 100644 apps/gituisync/s3-repo.yaml diff --git a/apps/gituisync/github-repo.yaml b/apps/gituisync/github-repo.yaml new file mode 100644 index 00000000000..13a778610a0 --- /dev/null +++ b/apps/gituisync/github-repo.yaml @@ -0,0 +1,12 @@ +# Assuming you're in the root of the Grafana OSS repo with `make run` running elsewhere. +# kubectl --kubeconfig ./data/grafana-apiserver/grafana.kubeconfig create -f ./apps/gituisync/github-repo.yaml +apiVersion: gituisync.grafana.app/v0alpha1 +kind: Repository +metadata: + name: github-test-repo + namespace: default +spec: + repository: + type: github + owner: grafana + repository: test-dashboards \ No newline at end of file diff --git a/apps/gituisync/kinds/config.cue b/apps/gituisync/kinds/repository.cue similarity index 100% rename from apps/gituisync/kinds/config.cue rename to apps/gituisync/kinds/repository.cue diff --git a/apps/gituisync/s3-repo.yaml b/apps/gituisync/s3-repo.yaml new file mode 100644 index 00000000000..3702de7fdad --- /dev/null +++ b/apps/gituisync/s3-repo.yaml @@ -0,0 +1,11 @@ +# Assuming you're in the root of the Grafana OSS repo with `make run` running elsewhere. +# kubectl --kubeconfig ./data/grafana-apiserver/grafana.kubeconfig create -f ./apps/gituisync/s3-repo.yaml +apiVersion: gituisync.grafana.app/v0alpha1 +kind: Repository +metadata: + name: s3-test-repo + namespace: default +spec: + repository: + type: s3 + bucket: s3://test/idontrememberthesyntax