Skip to content

Commit

Permalink
Replace stonith with fencing
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Hajas <mhajas@redhat.com>
  • Loading branch information
mhajas authored and ahus1 committed Aug 20, 2024
1 parent 05750ad commit 031be3a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions provision/infinispan/ispn-helm/templates/infinispan-alerts.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ if .Values.acceleratorDNS }}
# tag::stonith-secret[]
# tag::fencing-secret[]
apiVersion: v1
kind: Secret
type: kubernetes.io/basic-auth
Expand All @@ -8,9 +8,9 @@ metadata:
stringData:
username: '{{ .Values.alertmanager.webhook.username }}' # <1>
password: '{{ .Values.alertmanager.webhook.password }}' # <2>
# end::stonith-secret[]
# end::fencing-secret[]
---
# tag::stonith-alert-manager-config[]
# tag::fencing-alert-manager-config[]
apiVersion: monitoring.coreos.com/v1beta1
kind: AlertmanagerConfig
metadata:
Expand Down Expand Up @@ -40,9 +40,9 @@ spec:
name: webhook-credentials
tlsConfig:
insecureSkipVerify: true
# end::stonith-alert-manager-config[]
# end::fencing-alert-manager-config[]
---
# tag::stonith-prometheus-rule[]
# tag::fencing-prometheus-rule[]
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
Expand All @@ -57,5 +57,5 @@ spec:
severity: critical
reporter: {{ .Values.crossdc.local.name }} # <5>
accelerator: {{ .Values.acceleratorDNS }} # <6>
# end::stonith-prometheus-rule[]
# end::fencing-prometheus-rule[]
{{ end }}

0 comments on commit 031be3a

Please sign in to comment.