Skip to content

Conversation

@solsson
Copy link
Contributor

@solsson solsson commented Jul 5, 2022

Allows Kustomize patchesStrategicMerge for example

apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
  name: kubernetes-mixin-alerts
spec:
  groups:
  - name: kubernetes-resources
    rules:
    - alert: CPUThrottlingHigh
      labels:
        severity: warning

See https://github.com/kubernetes-sigs/kustomize/blob/master/examples/customOpenAPIschema.md

solsson added 2 commits July 5, 2022 13:54
Specifically for the use case of changing severity on an alert
@solsson solsson merged commit 8cd39ee into exclude-managed-kubernetes Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants