Skip to content

Commit bbd2813

Browse files
authored
Merge pull request #671 from redhat-openshift-ecosystem/haripate-test
operator test-operator-haripate (0.0.1)
2 parents 912a579 + dcc615d commit bbd2813

7 files changed

+320
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
# Copy this value from the _id field of the certification project in Pyxis.
3+
cert_project_id: 642f8851d4e548712674942e
4+
# Set this to true to allow the hosted pipeline to merge pull requests.
5+
merge: true
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
creationTimestamp: null
5+
labels:
6+
control-plane: controller-manager
7+
name: simple-demo-operator-controller-manager-metrics-service
8+
spec:
9+
ports:
10+
- name: https
11+
port: 8443
12+
protocol: TCP
13+
targetPort: https
14+
selector:
15+
control-plane: controller-manager
16+
status:
17+
loadBalancer: {}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apiVersion: v1
2+
data:
3+
controller_manager_config.yaml: |
4+
apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
5+
kind: ControllerManagerConfig
6+
health:
7+
healthProbeBindAddress: :8081
8+
metrics:
9+
bindAddress: 127.0.0.1:8080
10+
webhook:
11+
port: 9443
12+
leaderElection:
13+
leaderElect: true
14+
resourceName: cde535a8.opdev.io
15+
kind: ConfigMap
16+
metadata:
17+
name: simple-demo-operator-manager-config
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: rbac.authorization.k8s.io/v1
2+
kind: ClusterRole
3+
metadata:
4+
creationTimestamp: null
5+
name: simple-demo-operator-metrics-reader
6+
rules:
7+
- nonResourceURLs:
8+
- /metrics
9+
verbs:
10+
- get

operators/test-operator-haripate/0.0.1/manifests/test-operator-haripate.clusterserviceversion.yaml

Lines changed: 193 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.6.1
6+
creationTimestamp: null
7+
name: demoresources.tools.opdev.io
8+
spec:
9+
group: tools.opdev.io
10+
names:
11+
kind: DemoResource
12+
listKind: DemoResourceList
13+
plural: demoresources
14+
singular: demoresource
15+
scope: Namespaced
16+
versions:
17+
- additionalPrinterColumns:
18+
- jsonPath: .status.specMessage
19+
name: Message
20+
type: string
21+
name: v1
22+
schema:
23+
openAPIV3Schema:
24+
description: DemoResource is the Schema for the demoresources API
25+
properties:
26+
apiVersion:
27+
description: 'APIVersion defines the versioned schema of this representation
28+
of an object. Servers should convert recognized schemas to the latest
29+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
30+
type: string
31+
kind:
32+
description: 'Kind is a string value representing the REST resource this
33+
object represents. Servers may infer this from the endpoint the client
34+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
35+
type: string
36+
metadata:
37+
type: object
38+
spec:
39+
description: DemoResourceSpec defines the desired state of DemoResource
40+
properties:
41+
message:
42+
description: Message is a random string.
43+
type: string
44+
required:
45+
- message
46+
type: object
47+
status:
48+
description: DemoResourceStatus defines the observed state of DemoResource
49+
properties:
50+
specMessage:
51+
description: SpecMessage reflects the message passed by the user in
52+
the spec.
53+
type: string
54+
type: object
55+
type: object
56+
served: true
57+
storage: true
58+
subresources:
59+
status: {}
60+
status:
61+
acceptedNames:
62+
kind: ""
63+
plural: ""
64+
conditions: []
65+
storedVersions: []
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
annotations:
2+
operators.operatorframework.io.bundle.mediatype.v1: registry+v1
3+
operators.operatorframework.io.bundle.manifests.v1: manifests/
4+
operators.operatorframework.io.bundle.metadata.v1: metadata/
5+
operators.operatorframework.io.bundle.package.v1: test-operator-haripate
6+
operators.operatorframework.io.bundle.channels.v1: stable
7+
operators.operatorframework.io.bundle.channel.default.v1: stable
8+
operators.operatorframework.io.metrics.builder: operator-sdk-v1.11.0+git
9+
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
10+
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3
11+
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
12+
operators.operatorframework.io.test.config.v1: tests/scorecard/
13+
com.redhat.openshift.versions: v4.6-v4.10

0 commit comments

Comments
 (0)