Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: 1gtm <[email protected]>
  • Loading branch information
1gtm committed Jan 15, 2024
1 parent 3bc7789 commit 9ddb350
Show file tree
Hide file tree
Showing 10 changed files with 968 additions and 125 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
labels:
app.kubernetes.io/name: kubedb
name: kafkaconnectorversions.catalog.kubedb.com
spec:
group: catalog.kubedb.com
names:
categories:
- datastore
- kubedb
- appscode
kind: KafkaConnectorVersion
listKind: KafkaConnectorVersionList
plural: kafkaconnectorversions
shortNames:
- kcversion
singular: kafkaconnectorversion
scope: Cluster
versions:
- additionalPrinterColumns:
- jsonPath: .spec.version
name: Version
type: string
- jsonPath: .spec.connectorPlugin.image
name: Connector_Image
type: string
- jsonPath: .spec.deprecated
name: Deprecated
type: boolean
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
properties:
connectorPlugin:
properties:
image:
type: string
required:
- image
type: object
deprecated:
type: boolean
podSecurityPolicies:
properties:
databasePolicyName:
type: string
required:
- databasePolicyName
type: object
securityContext:
properties:
runAsUser:
format: int64
type: integer
type: object
type:
type: string
version:
type: string
required:
- connectorPlugin
- type
- version
type: object
type: object
served: true
storage: true
subresources: {}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ spec:
type: object
spec:
properties:
connectCluster:
properties:
image:
type: string
required:
- image
type: object
cruiseControl:
properties:
image:
Expand Down Expand Up @@ -134,6 +141,7 @@ spec:
version:
type: string
required:
- connectCluster
- cruiseControl
- db
- version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ spec:
type: object
securityContext:
properties:
runAsGroup:
format: int64
type: integer
runAsUser:
format: int64
type: integer
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
labels:
app.kubernetes.io/name: kubedb
name: kafkaconnectorversions.catalog.kubedb.com
spec:
group: catalog.kubedb.com
names:
categories:
- datastore
- kubedb
- appscode
kind: KafkaConnectorVersion
listKind: KafkaConnectorVersionList
plural: kafkaconnectorversions
shortNames:
- kcversion
singular: kafkaconnectorversion
scope: Cluster
versions:
- additionalPrinterColumns:
- jsonPath: .spec.version
name: Version
type: string
- jsonPath: .spec.connectorPlugin.image
name: Connector_Image
type: string
- jsonPath: .spec.deprecated
name: Deprecated
type: boolean
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
properties:
connectorPlugin:
properties:
image:
type: string
required:
- image
type: object
deprecated:
type: boolean
podSecurityPolicies:
properties:
databasePolicyName:
type: string
required:
- databasePolicyName
type: object
securityContext:
properties:
runAsUser:
format: int64
type: integer
type: object
type:
type: string
version:
type: string
required:
- connectorPlugin
- type
- version
type: object
type: object
served: true
storage: true
subresources: {}
8 changes: 8 additions & 0 deletions charts/kubedb-crds/crds/catalog.kubedb.com_kafkaversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ spec:
type: object
spec:
properties:
connectCluster:
properties:
image:
type: string
required:
- image
type: object
cruiseControl:
properties:
image:
Expand Down Expand Up @@ -134,6 +141,7 @@ spec:
version:
type: string
required:
- connectCluster
- cruiseControl
- db
- version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ spec:
type: object
securityContext:
properties:
runAsGroup:
format: int64
type: integer
runAsUser:
format: int64
type: integer
Expand Down
Loading

0 comments on commit 9ddb350

Please sign in to comment.