Added image policy for kube prometheus stack
This commit is contained in:
parent
1428504fd6
commit
042a252828
@ -18,7 +18,7 @@ spec:
|
|||||||
interval: 1h
|
interval: 1h
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
version: 79.4.1
|
version: 79.4.1 # {"$imagepolicy": "flux-system:kube-prometheus-stack:tag"}
|
||||||
chart: kube-prometheus-stack
|
chart: kube-prometheus-stack
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
|
|||||||
20
update/kube-prometheus-stack.yaml
Normal file
20
update/kube-prometheus-stack.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
apiVersion: image.toolkit.fluxcd.io/v1
|
||||||
|
kind: ImageRepository
|
||||||
|
metadata:
|
||||||
|
name: kube-prometheus-stack
|
||||||
|
spec:
|
||||||
|
image: "ghcr.io/prometheus-community/charts/kube-prometheus-stack"
|
||||||
|
interval: 1h
|
||||||
|
provider: generic
|
||||||
|
---
|
||||||
|
apiVersion: image.toolkit.fluxcd.io/v1
|
||||||
|
kind: ImagePolicy
|
||||||
|
metadata:
|
||||||
|
name: kube-prometheus-stack
|
||||||
|
spec:
|
||||||
|
imageRepositoryRef:
|
||||||
|
name: kube-prometheus-stack
|
||||||
|
policy:
|
||||||
|
semver:
|
||||||
|
range: ">=79.4.0"
|
||||||
@ -4,3 +4,4 @@ namespace: flux-system
|
|||||||
resources:
|
resources:
|
||||||
- kyverno.yaml
|
- kyverno.yaml
|
||||||
- metrics-server.yaml
|
- metrics-server.yaml
|
||||||
|
- kube-prometheus-stack.yaml
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user