Add alerts for TLS/DNS/Auth/RateLimit policies not targeting Gateways… #514
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
… and HTTPRoutes
Closes #440
To verify:
export KUADRANT_REF=release-v0.6.2
./bin/kustomize build ./config/observability/| docker run --rm -i ryane/kfilt -i kind=CustomResourceDefinition | kubectl apply --server-side -f -
./bin/kustomize build ./config/observability/| docker run --rm -i ryane/kfilt -x kind=CustomResourceDefinition | kubectl apply -f -
kubectl apply -f ./examples/alerts/prometheusrules_policies_missing.yaml
kubectl apply -f https://gist.githubusercontent.com/david-martin/991d76255d90b51860f9ed8724f43983/raw/cc8196e9b9088895054f6f9556929ae10f36554c/alerting_resources.yaml
kubectl -n monitoring port-forward service/prometheus-k8s 9090:9090
ALERTS{alertstate="firing",alertname=~"Gateway.*|HTTPRoute.*"}