mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-09 17:27:28 +00:00
Merge pull request #3303 from fluxcd/e2e-arm64-flux-monitoring
monitoring: Use kube-prometheus-stack signed OCI Helm chart
This commit is contained in:
commit
190c732c3a
3 changed files with 32 additions and 2 deletions
27
.github/workflows/e2e-arm64.yaml
vendored
27
.github/workflows/e2e-arm64.yaml
vendored
|
|
@ -58,6 +58,33 @@ jobs:
|
|||
kubectl -n flux-system wait kustomization/tenants --for=condition=ready --timeout=5m
|
||||
kubectl -n apps wait kustomization/dev-team --for=condition=ready --timeout=1m
|
||||
kubectl -n apps wait helmrelease/podinfo --for=condition=ready --timeout=1m
|
||||
- name: Run monitoring tests
|
||||
# Keep this test in sync with https://fluxcd.io/flux/guides/monitoring/
|
||||
env:
|
||||
KUBECONFIG: /tmp/${{ steps.prep.outputs.CLUSTER }}
|
||||
run: |
|
||||
./bin/flux create source git flux-monitoring \
|
||||
--interval=30m \
|
||||
--url=https://github.com/fluxcd/flux2 \
|
||||
--branch=${GITHUB_REF#refs/heads/}
|
||||
./bin/flux create kustomization kube-prometheus-stack \
|
||||
--interval=1h \
|
||||
--prune \
|
||||
--source=flux-monitoring \
|
||||
--path="./manifests/monitoring/kube-prometheus-stack" \
|
||||
--health-check-timeout=5m \
|
||||
--wait
|
||||
./bin/flux create kustomization monitoring-config \
|
||||
--depends-on=kube-prometheus-stack \
|
||||
--interval=1h \
|
||||
--prune=true \
|
||||
--source=flux-monitoring \
|
||||
--path="./manifests/monitoring/monitoring-config" \
|
||||
--health-check-timeout=1m \
|
||||
--wait
|
||||
kubectl -n flux-system wait kustomization/kube-prometheus-stack --for=condition=ready --timeout=5m
|
||||
kubectl -n flux-system wait kustomization/monitoring-config --for=condition=ready --timeout=5m
|
||||
kubectl -n monitoring wait helmrelease/kube-prometheus-stack --for=condition=ready --timeout=1m
|
||||
- name: Debug failure
|
||||
if: failure()
|
||||
env:
|
||||
|
|
|
|||
|
|
@ -6,11 +6,13 @@ spec:
|
|||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
version: "35.x"
|
||||
version: "41.x"
|
||||
chart: kube-prometheus-stack
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: prometheus-community
|
||||
verify:
|
||||
provider: cosign
|
||||
interval: 60m
|
||||
install:
|
||||
crds: Create
|
||||
|
|
|
|||
|
|
@ -4,4 +4,5 @@ metadata:
|
|||
name: prometheus-community
|
||||
spec:
|
||||
interval: 120m
|
||||
url: https://prometheus-community.github.io/helm-charts
|
||||
type: oci
|
||||
url: oci://ghcr.io/prometheus-community/charts
|
||||
|
|
|
|||
Loading…
Reference in a new issue