-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ales Raszka <[email protected]>
- Loading branch information
Showing
7 changed files
with
405 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
...tor-e2e/0.0.101/manifests/operator-e2e-controller-manager-metrics-service_v1_service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
control-plane: controller-manager | ||
name: hello-world-operator-controller-manager-metrics-service | ||
spec: | ||
ports: | ||
- name: https | ||
port: 8443 | ||
protocol: TCP | ||
targetPort: https | ||
selector: | ||
control-plane: controller-manager | ||
status: | ||
loadBalancer: {} |
18 changes: 18 additions & 0 deletions
18
operators/operator-e2e/0.0.101/manifests/operator-e2e-manager-config_v1_configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
apiVersion: v1 | ||
data: | ||
controller_manager_config.yaml: | | ||
apiVersion: controller-runtime.sigs.k8s.io/v1alpha1 | ||
kind: ControllerManagerConfig | ||
health: | ||
healthProbeBindAddress: :8081 | ||
metrics: | ||
bindAddress: 127.0.0.100:8080 | ||
webhook: | ||
port: 9443 | ||
leaderElection: | ||
leaderElect: true | ||
resourceName: cde535a8.opdev.io | ||
kind: ConfigMap | ||
metadata: | ||
name: hello-world-operator-manager-config |
11 changes: 11 additions & 0 deletions
11
...0.101/manifests/operator-e2e-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
creationTimestamp: null | ||
name: hello-world-operator-metrics-reader | ||
rules: | ||
- nonResourceURLs: | ||
- /metrics | ||
verbs: | ||
- get |
203 changes: 203 additions & 0 deletions
203
operators/operator-e2e/0.0.101/manifests/operator-e2e.clusterserviceversion.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
66 changes: 66 additions & 0 deletions
66
operators/operator-e2e/0.0.101/manifests/tools.opdev.io_demoresources.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.6.1 | ||
creationTimestamp: null | ||
name: demoresources.tools.opdev.io | ||
spec: | ||
group: tools.opdev.io | ||
names: | ||
kind: DemoResource | ||
listKind: DemoResourceList | ||
plural: demoresources | ||
singular: demoresource | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .status.specMessage | ||
name: Message | ||
type: string | ||
name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: DemoResource is the Schema for the demoresources API | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: DemoResourceSpec defines the desired state of DemoResource | ||
properties: | ||
message: | ||
description: Message is a random string. | ||
type: string | ||
required: | ||
- message | ||
type: object | ||
status: | ||
description: DemoResourceStatus defines the observed state of DemoResource | ||
properties: | ||
specMessage: | ||
description: SpecMessage reflects the message passed by the user in | ||
the spec. | ||
type: string | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
annotations: | ||
# Core bundle annotations. | ||
operators.operatorframework.io.bundle.mediatype.v1: registry+v1 | ||
operators.operatorframework.io.bundle.manifests.v1: manifests/ | ||
operators.operatorframework.io.bundle.metadata.v1: metadata/ | ||
operators.operatorframework.io.bundle.package.v1: operator-e2e | ||
operators.operatorframework.io.bundle.channels.v1: stable | ||
operators.operatorframework.io.bundle.channel.default.v1: stable | ||
operators.operatorframework.io.metrics.builder: operator-sdk-v1.11.0+git | ||
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 | ||
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3 | ||
|
||
# Annotations for testing. | ||
operators.operatorframework.io.test.mediatype.v1: scorecard+v1 | ||
operators.operatorframework.io.test.config.v1: tests/scorecard/ | ||
|
||
# OpenShift annotations | ||
com.redhat.openshift.versions: v4.8-v4.13 |
71 changes: 71 additions & 0 deletions
71
operators/operator-e2e/0.0.101/tests/scorecard/config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
apiVersion: scorecard.operatorframework.io/v1alpha3 | ||
kind: Configuration | ||
metadata: | ||
name: config | ||
stages: | ||
- parallel: true | ||
tests: | ||
- entrypoint: | ||
- scorecard-test | ||
- basic-check-spec | ||
image: quay.io/operator-framework/scorecard-test:v1.12.0 | ||
labels: | ||
suite: basic | ||
test: basic-check-spec-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
- entrypoint: | ||
- scorecard-test | ||
- olm-bundle-validation | ||
image: quay.io/operator-framework/scorecard-test:v1.12.0 | ||
labels: | ||
suite: olm | ||
test: olm-bundle-validation-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
- entrypoint: | ||
- scorecard-test | ||
- olm-crds-have-validation | ||
image: quay.io/operator-framework/scorecard-test:v1.12.0 | ||
labels: | ||
suite: olm | ||
test: olm-crds-have-validation-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
- entrypoint: | ||
- scorecard-test | ||
- olm-crds-have-resources | ||
image: quay.io/operator-framework/scorecard-test:v1.12.0 | ||
labels: | ||
suite: olm | ||
test: olm-crds-have-resources-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
- entrypoint: | ||
- scorecard-test | ||
- olm-spec-descriptors | ||
image: quay.io/operator-framework/scorecard-test:v1.12.0 | ||
labels: | ||
suite: olm | ||
test: olm-spec-descriptors-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
- entrypoint: | ||
- scorecard-test | ||
- olm-status-descriptors | ||
image: quay.io/operator-framework/scorecard-test:v1.12.0 | ||
labels: | ||
suite: olm | ||
test: olm-status-descriptors-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
storage: | ||
spec: | ||
mountPath: {} |