-
Notifications
You must be signed in to change notification settings - Fork 601
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: streamnativebot <[email protected]>
- Loading branch information
streamnativebot
committed
Oct 8, 2023
1 parent
de06d0f
commit d72eb08
Showing
18 changed files
with
2,570 additions
and
0 deletions.
There are no files selected for viewing
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,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,stable | ||
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/ |
350 changes: 350 additions & 0 deletions
350
operators/sn-operator/0.3.0-rc1/manifests/k8s.streamnative.io_apikeys.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
140 changes: 140 additions & 0 deletions
140
operators/sn-operator/0.3.0-rc1/manifests/k8s.streamnative.io_connectorcatalogs.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,140 @@ | ||
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.10.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 | ||
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 | ||
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 | ||
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 |
158 changes: 158 additions & 0 deletions
158
operators/sn-operator/0.3.0-rc1/manifests/k8s.streamnative.io_oxiaclusters.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,158 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.10.0 | ||
creationTimestamp: null | ||
name: oxiaclusters.k8s.streamnative.io | ||
spec: | ||
group: k8s.streamnative.io | ||
names: | ||
kind: OxiaCluster | ||
listKind: OxiaClusterList | ||
plural: oxiaclusters | ||
singular: oxiacluster | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: OxiaCluster is the Schema for the oxiaclusters 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: OxiaClusterSpec defines the desired state of OxiaCluster | ||
properties: | ||
coordinator: | ||
description: Coordinator contains configuration specific to the coordinator | ||
component | ||
properties: | ||
resources: | ||
description: Resources is the resource requirement of coordinator | ||
properties: | ||
limits: | ||
additionalProperties: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
description: 'Limits describes the maximum amount of compute | ||
resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' | ||
type: object | ||
requests: | ||
additionalProperties: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
description: 'Requests describes the minimum amount of compute | ||
resources required. If Requests is omitted for a container, | ||
it defaults to Limits if that is explicitly specified, otherwise | ||
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' | ||
type: object | ||
type: object | ||
required: | ||
- resources | ||
type: object | ||
image: | ||
description: Image contains configuration specific to the image being | ||
used | ||
type: string | ||
imagePullPolicy: | ||
description: Image pull policy, one of Always, Never, IfNotPresent, | ||
default to Always. | ||
type: string | ||
monitoringEnabled: | ||
description: MonitoringEnabled determines whether a Prometheus ServiceMonitor | ||
should be created | ||
type: boolean | ||
namespaces: | ||
description: Namespaces contains namespace configuration list | ||
items: | ||
properties: | ||
initialShardCount: | ||
format: int32 | ||
type: integer | ||
name: | ||
type: string | ||
replicationFactor: | ||
format: int32 | ||
type: integer | ||
required: | ||
- name | ||
type: object | ||
type: array | ||
pprofEnabled: | ||
description: PprofEnabled determines whether the pprof HTTP service | ||
will be enabled | ||
type: boolean | ||
server: | ||
description: Server contains configuration specific to the server | ||
component | ||
properties: | ||
replicas: | ||
description: Replicas is the number of server pods that should | ||
be running | ||
format: int32 | ||
type: integer | ||
resources: | ||
description: Resources is the resource requirement of coordinator | ||
properties: | ||
limits: | ||
additionalProperties: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
description: 'Limits describes the maximum amount of compute | ||
resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' | ||
type: object | ||
requests: | ||
additionalProperties: | ||
anyOf: | ||
- type: integer | ||
- type: string | ||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ | ||
x-kubernetes-int-or-string: true | ||
description: 'Requests describes the minimum amount of compute | ||
resources required. If Requests is omitted for a container, | ||
it defaults to Limits if that is explicitly specified, otherwise | ||
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' | ||
type: object | ||
type: object | ||
storageClassName: | ||
description: StorageClassName is the name of StorageClass to which | ||
the persistent volume belongs | ||
type: string | ||
required: | ||
- resources | ||
type: object | ||
type: object | ||
status: | ||
description: OxiaClusterStatus defines the observed state of OxiaCluster | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: null | ||
storedVersions: null |
Oops, something went wrong.