add grafana oci repo
This commit is contained in:
parent
4d18b83b81
commit
c6de327c75
2 changed files with 16 additions and 0 deletions
15
kubernetes/flux/repositories/oci/grafana.yaml
Normal file
15
kubernetes/flux/repositories/oci/grafana.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/ocirepository-source-v1beta2.json
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: OCIRepository
|
||||
metadata:
|
||||
name: grafana
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 2h
|
||||
layerSelector:
|
||||
mediaType: "application/vnd.cncf.helm.chart.content.v1.tar+gzip"
|
||||
operation: copy
|
||||
url: oci://ghcr.io/grafana/helm-charts/grafana
|
||||
ref:
|
||||
tag: 8.5.5
|
|
@ -3,4 +3,5 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- grafana.yaml
|
||||
- prometheus-community.yaml
|
||||
|
|
Loading…
Reference in a new issue