Last active
January 25, 2024 11:09
-
-
Save kirederik/7db68f8b8d29c904412179c5dd1a9da9 to your computer and use it in GitHub Desktop.
kafka.yaml
This file contains hidden or 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
apiVersion: platform.kratix.io/v1alpha1 | |
kind: Promise | |
metadata: | |
name: kafka | |
namespace: default | |
labels: | |
kratix.io/promise-version: v1.2.3 | |
spec: | |
api: | |
apiVersion: apiextensions.k8s.io/v1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: kafkas.marketplace.kratix.io | |
spec: | |
group: marketplace.kratix.io | |
names: | |
kind: kafka | |
plural: kafkas | |
singular: kafka | |
scope: Namespaced | |
versions: | |
- name: v1alpha1 | |
schema: | |
openAPIV3Schema: | |
properties: | |
spec: | |
properties: | |
size: | |
default: small | |
description: | | |
Size of this kafka deployment. If small, it deploy kafka with a single replica; if large, deploy kafka with 3 replicas. | |
pattern: ^(small|large)$ | |
type: string | |
type: object | |
type: object | |
served: true | |
storage: true | |
destinationSelectors: | |
- matchLabels: | |
environment: dev | |
workflows: | |
resource: | |
configure: | |
- apiVersion: platform.kratix.io/v1alpha1 | |
kind: Pipeline | |
metadata: | |
name: instance-configure | |
namespace: default | |
spec: | |
containers: | |
- image: ghcr.io/syntasso/kratix-marketplace/kafka-configure-pipeline:v0.1.0 | |
name: configure | |
promise: | |
configure: | |
- apiVersion: platform.kratix.io/v1alpha1 | |
kind: Pipeline | |
metadata: | |
name: promise-configure | |
namespace: default | |
spec: | |
containers: | |
- image: ghcr.io/syntasso/kratix-marketplace/kafka-configure-promise-pipeline:v0.1.0 | |
name: configure | |
status: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment