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