add grafana oci repo

This commit is contained in:
Joseph Hanson 2024-10-20 19:19:50 -05:00
parent 4d18b83b81
commit c6de327c75
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 16 additions and 0 deletions

View 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

View file

@ -3,4 +3,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- grafana.yaml
- prometheus-community.yaml - prometheus-community.yaml