Skip to content

Commit 95b8d9a

Browse files
Merge pull request #564 from iamkirkbater/etcd-members-down
Removes the etcdMembersDown alert from paging SRE
2 parents 2b34c8e + 28efd35 commit 95b8d9a

6 files changed

Lines changed: 16 additions & 18 deletions

File tree

.tekton/OWNERS

Lines changed: 0 additions & 4 deletions
This file was deleted.

OWNERS_ALIASES

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ aliases:
5454
- jaybeeunix
5555
- sam-nguyen7
5656
- wshearn
57-
- dem4gus
57+
- devnulljason
5858
- npecka
5959
- pshickeydev
60-
- casey-williams-rh
6160
- boranx
6261
srep-functional-team-thor:
6362
- diakovnec
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b33eb88d67486536c185b1b66266bf5d8be77dfe
1+
e80c64d14b1270998230374b4973695e1ef6ee35

boilerplate/openshift/golang-osd-operator/OWNERS_ALIASES

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,9 @@ aliases:
5454
- jaybeeunix
5555
- sam-nguyen7
5656
- wshearn
57-
- dem4gus
57+
- devnulljason
5858
- npecka
5959
- pshickeydev
60-
- casey-williams-rh
6160
- boranx
6261
srep-functional-team-thor:
6362
- diakovnec

boilerplate/openshift/golang-osd-operator/update

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,17 @@ cp ${HERE}/.codecov.yml $REPO_ROOT
1818
echo "Copying OWNERS_ALIASES to your repository root."
1919
cp -L ${HERE}/OWNERS_ALIASES $REPO_ROOT
2020

21-
# Add CICD owners to .tekton if exists
22-
if [[ -d "${REPO_ROOT}/.tekton/" ]]; then
23-
echo "Adding Konflux subdirectory OWNERS file to .tekton/"
24-
cat >"${REPO_ROOT}/.tekton/OWNERS" <<EOF
25-
reviewers:
26-
- srep-infra-cicd
27-
approvers:
28-
- srep-infra-cicd
29-
EOF
21+
# Clean up srep-infra-cicd from .tekton/OWNERS if it exists
22+
TEKTON_OWNERS="${REPO_ROOT}/.tekton/OWNERS"
23+
if [[ -f "${TEKTON_OWNERS}" ]] && grep -q "srep-infra-cicd" "${TEKTON_OWNERS}"; then
24+
echo "Removing srep-infra-cicd from .tekton/OWNERS..."
25+
${SED?} -i '/srep-infra-cicd/d' "${TEKTON_OWNERS}"
26+
27+
# If no owners remain (ignoring section headers, comments, and blank lines), remove the file
28+
if ! grep -qE "^\\s*-\\s+\\S" "${TEKTON_OWNERS}"; then
29+
echo "Removing .tekton/OWNERS (no owners remain after cleanup)"
30+
rm "${TEKTON_OWNERS}"
31+
fi
3032
fi
3133

3234
# Add dependabot configuration

controllers/secret_controller.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,8 @@ func createSubroutes(namespaceList []string, receiver receiverType) *alertmanage
478478
{Receiver: receiverWarning, Match: map[string]string{"alertname": "KubeAPILatencyHigh", "severity": "critical"}},
479479
// https://issues.redhat.com/browse/OSD-8983
480480
{Receiver: receiverWarning, Match: map[string]string{"alertname": "etcdGRPCRequestsSlow", "namespace": "openshift-etcd"}},
481+
// https://issues.redhat.com/browse/ROSAENG-59423
482+
{Receiver: receiverNull, Match: map[string]string{"alertname": "etcdMembersDown", "namespace": "openshift-etcd"}},
481483
// https://issues.redhat.com/browse/OSD-10473
482484
{Receiver: receiverWarning, Match: map[string]string{"alertname": "ExtremelyHighIndividualControlPlaneCPU", "namespace": "openshift-kube-apiserver"}},
483485
// https://issues.redhat.com/browse/DVO-54

0 commit comments

Comments
 (0)