add oci prom-community
This commit is contained in:
parent
e3167d2370
commit
d3692d298a
3 changed files with 97 additions and 0 deletions
|
@ -5,3 +5,4 @@ kind: Kustomization
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
resources:
|
resources:
|
||||||
- ./helm
|
- ./helm
|
||||||
|
- ./oci
|
||||||
|
|
6
kubernetes/flux/repositories/oci/kustomization.yaml
Normal file
6
kubernetes/flux/repositories/oci/kustomization.yaml
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- prometheus-community.yaml
|
90
kubernetes/flux/repositories/oci/prometheus-community.yaml
Normal file
90
kubernetes/flux/repositories/oci/prometheus-community.yaml
Normal file
|
@ -0,0 +1,90 @@
|
||||||
|
---
|
||||||
|
# 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: alertmanager
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 2h
|
||||||
|
layerSelector:
|
||||||
|
mediaType: "application/vnd.cncf.helm.chart.content.v1.tar+gzip"
|
||||||
|
operation: copy
|
||||||
|
url: oci://ghcr.io/prometheus-community/charts/alertmanager
|
||||||
|
ref:
|
||||||
|
semver: 1.13.0
|
||||||
|
---
|
||||||
|
# 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: kube-state-metrics
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 2h
|
||||||
|
layerSelector:
|
||||||
|
mediaType: "application/vnd.cncf.helm.chart.content.v1.tar+gzip"
|
||||||
|
operation: copy
|
||||||
|
url: oci://ghcr.io/prometheus-community/charts/kube-state-metrics
|
||||||
|
ref:
|
||||||
|
semver: 5.25.1
|
||||||
|
---
|
||||||
|
# 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: kube-prometheus-stack
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 2h
|
||||||
|
layerSelector:
|
||||||
|
mediaType: "application/vnd.cncf.helm.chart.content.v1.tar+gzip"
|
||||||
|
operation: copy
|
||||||
|
url: oci://ghcr.io/prometheus-community/charts/kube-prometheus-stack
|
||||||
|
ref:
|
||||||
|
semver: 62.7.0
|
||||||
|
---
|
||||||
|
# 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: prometheus-node-exporter
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 2h
|
||||||
|
layerSelector:
|
||||||
|
mediaType: "application/vnd.cncf.helm.chart.content.v1.tar+gzip"
|
||||||
|
operation: copy
|
||||||
|
url: oci://ghcr.io/prometheus-community/charts/prometheus-node-exporter
|
||||||
|
ref:
|
||||||
|
semver: 4.39.0
|
||||||
|
---
|
||||||
|
# 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: prometheus-operator-crds
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 2h
|
||||||
|
layerSelector:
|
||||||
|
mediaType: "application/vnd.cncf.helm.chart.content.v1.tar+gzip"
|
||||||
|
operation: copy
|
||||||
|
url: oci://ghcr.io/prometheus-community/charts/prometheus-operator-crds
|
||||||
|
ref:
|
||||||
|
semver: 14.0.0
|
||||||
|
---
|
||||||
|
# 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: prometheus-smartctl-exporter
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 2h
|
||||||
|
layerSelector:
|
||||||
|
mediaType: "application/vnd.cncf.helm.chart.content.v1.tar+gzip"
|
||||||
|
operation: copy
|
||||||
|
url: oci://ghcr.io/prometheus-community/charts/prometheus-smartctl-exporter
|
||||||
|
ref:
|
||||||
|
semver: 0.10.0
|
Loading…
Reference in a new issue