Skip to content

Commit a910e76

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 215bab1 + b6befde commit a910e76

69 files changed

Lines changed: 23460 additions & 4 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/rhai-on-xks-chart-test.yaml

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,48 @@ permissions:
1515

1616
jobs:
1717
e2e-test:
18-
if: >-
19-
github.event_name == 'push' ||
20-
(github.event.action == 'labeled' && github.event.label.name == 'run-xks-e2e') ||
21-
(github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'run-xks-e2e'))
2218
runs-on: ubuntu-latest
2319
strategy:
2420
fail-fast: false
2521
matrix:
2622
cloud_provider: [azure, coreweave, aws]
2723
steps:
24+
- name: Check authorization
25+
env:
26+
EVENT_NAME: ${{ github.event_name }}
27+
AUTHOR_ASSOCIATION: ${{ github.event.pull_request.author_association }}
28+
AUTHOR_LOGIN: ${{ github.event.pull_request.user.login }}
29+
EVENT_ACTION: ${{ github.event.action }}
30+
LABEL_NAME: ${{ github.event.label.name }}
31+
HAS_LABEL: ${{ contains(github.event.pull_request.labels.*.name, 'run-xks-e2e') }}
32+
run: |
33+
TRUSTED_BOTS=("github-actions[bot]" "red-hat-konflux[bot]" "jira-autofix[bot]")
34+
35+
if [[ "$EVENT_NAME" == "push" ]]; then
36+
echo "Push to main — running automatically"
37+
exit 0
38+
fi
39+
if [[ "$AUTHOR_ASSOCIATION" =~ ^(OWNER|MEMBER|COLLABORATOR)$ ]]; then
40+
echo "Trusted contributor — running automatically"
41+
exit 0
42+
fi
43+
for bot in "${TRUSTED_BOTS[@]}"; do
44+
if [[ "$AUTHOR_LOGIN" == "$bot" ]]; then
45+
echo "Trusted bot — running automatically"
46+
exit 0
47+
fi
48+
done
49+
if [[ "$EVENT_ACTION" == "labeled" && ( "$LABEL_NAME" == "lgtm" || "$LABEL_NAME" == "approved" ) ]]; then
50+
echo "Reviewer approval ($LABEL_NAME) — running automatically"
51+
exit 0
52+
fi
53+
if [[ "$HAS_LABEL" == "true" ]]; then
54+
echo "External contributor — approved via 'run-xks-e2e' label"
55+
exit 0
56+
fi
57+
echo "::error::xKS e2e tests required. A maintainer must add the 'run-xks-e2e' label after reviewing the code."
58+
exit 1
59+
2860
- name: Checkout
2961
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3062
with:
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: v2
2+
name: rhcl-operator
3+
description: Red Hat Connectivity Link (Kuadrant) operators for vanilla Kubernetes (without OLM)
4+
type: application
5+
version: 1.0.0
6+
appVersion: "1.3.0"
7+
keywords:
8+
- kuadrant
9+
- authorino
10+
- limitador
11+
- rhcl
12+
- api-gateway
13+
- rate-limiting
14+
maintainers:
15+
- name: Red Hat
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# rhcl-operator
2+
3+
![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.3.0](https://img.shields.io/badge/AppVersion-1.3.0-informational?style=flat-square)
4+
5+
Red Hat Connectivity Link (Kuadrant) operators for vanilla Kubernetes (without OLM)
6+
7+
## Maintainers
8+
9+
| Name | Email | Url |
10+
| ---- | ------ | --- |
11+
| Red Hat | | |
12+
13+
## Values
14+
15+
| Key | Type | Default | Description |
16+
|-----|------|---------|-------------|
17+
| bundle.version | string | `"1.3.0"` | |
18+
| imagePullSecrets[0].name | string | `"rhai-pull-secret"` | |
19+
| operandNamespace | string | `"kuadrant-system"` | |
20+
| operatorNamespace | string | `"kuadrant-operators"` | |
21+

0 commit comments

Comments
 (0)