Skip to content

Commit

Permalink
operator sn-operator (0.8.0-rc.19)
Browse files Browse the repository at this point in the history
  • Loading branch information
streamnativebot authored Dec 6, 2024
1 parent edfbd0c commit ff42509
Show file tree
Hide file tree
Showing 25 changed files with 59,939 additions and 0 deletions.
21 changes: 21 additions & 0 deletions operators/sn-operator/0.8.0-rc.19/bundle.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM scratch

# Core bundle labels.
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=sn-operator
LABEL operators.operatorframework.io.bundle.channels.v1=alpha,beta
LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.31.0
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3

# Labels for testing.
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/

# Copy files to locations specified by labels.
COPY bundle/manifests /manifests/
COPY bundle/metadata /metadata/
COPY bundle/tests/scorecard /tests/scorecard/

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
cert-manager.io/inject-ca-from: sn-operator-system/sn-operator-serving-cert
controller-gen.kubebuilder.io/version: v0.15.0
creationTimestamp: null
name: connectorcatalogs.k8s.streamnative.io
spec:
conversion:
strategy: Webhook
webhook:
clientConfig:
service:
name: sn-operator-webhook-service
namespace: sn-operator-system
path: /convert
conversionReviewVersions:
- v1
group: k8s.streamnative.io
names:
kind: ConnectorCatalog
listKind: ConnectorCatalogList
plural: connectorcatalogs
singular: connectorcatalog
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: ConnectorCatalog is the Schema for the connectorcatalogs 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: ConnectorCatalogSpec defines the desired state of ConnectorCatalog
properties:
connectorDefinitions:
items:
properties:
defaultSchemaType:
type: string
defaultSerdeClassName:
type: string
description:
type: string
iconLink:
type: string
id:
type: string
imageRegistry:
type: string
imageRepository:
type: string
imageTag:
type: string
jarFullName:
type: string
name:
type: string
sinkClass:
type: string
sinkConfigClass:
type: string
sinkConfigFieldDefinitions:
items:
properties:
attributes:
additionalProperties:
type: string
type: object
fieldName:
type: string
typeName:
type: string
required:
- fieldName
- typeName
type: object
type: array
sinkDocLink:
type: string
sinkTypeClassName:
type: string
sourceClass:
type: string
sourceConfigClass:
type: string
sourceConfigFieldDefinitions:
items:
properties:
attributes:
additionalProperties:
type: string
type: object
fieldName:
type: string
typeName:
type: string
required:
- fieldName
- typeName
type: object
type: array
sourceDocLink:
type: string
sourceTypeClassName:
type: string
typeClassName:
type: string
version:
type: string
required:
- id
type: object
type: array
x-kubernetes-list-map-keys:
- id
x-kubernetes-list-type: map
required:
- connectorDefinitions
type: object
status:
description: ConnectorCatalogStatus defines the observed state of ConnectorCatalog
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null
Loading

0 comments on commit ff42509

Please sign in to comment.