-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[chore] Add a smoke test that is run as part of the scorecard tests V2 #1335
base: main
Are you sure you want to change the base?
Changes from all commits
0a544af
ee1f877
f0661f2
6d4821c
32c8d66
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestSuite | ||
parallel: 1 | ||
startControlPlane: false | ||
timeout: 120 | ||
suppress: | ||
- events |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- op: add | ||
path: /stages/0/tests/- | ||
value: | ||
# TODO: Switch to quay.io/operator-framework/scorecard-test-kuttl image | ||
# once https://github.com/operator-framework/operator-sdk/pull/6401 is merged. | ||
# https://github.com/open-telemetry/opentelemetry-operator/issues/1721 | ||
image: docker.io/andreasgerstmayr/scorecard-test-kuttl:1681909083 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is it using a custom image? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It needs kuttl 0.15.0 because this kuttl version contains fixes regarding test cleanup, which is especially important if we run the tests in a single namespace. |
||
labels: | ||
suite: kuttl |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: scorecard-admin | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: scorecard-admin-rolebinding | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: cluster-admin | ||
subjects: | ||
- kind: ServiceAccount | ||
name: scorecard-admin | ||
namespace: default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it using a custom image? Could we switch to the upstream one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above (this file is auto-generated from the file above).