-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
210 additions
and
57 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
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
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
3 changes: 3 additions & 0 deletions
3
docs/docs/resources/pipeline-components/headers/helm-app.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,3 @@ | ||
# Kubernetes apps managed through Helm with an associated Helm chart | ||
- type: helm-app | ||
name: helm-app # required |
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,63 @@ | ||
# Kubernetes apps managed through Helm with an associated Helm chart | ||
- type: helm-app | ||
name: helm-app # required | ||
# Pipeline prefix that will prefix every component name. If you wish to not | ||
# have any prefix you can specify an empty string. | ||
prefix: ${pipeline_name}- | ||
from: # Must not be null | ||
topics: # read from topic | ||
${pipeline_name}-input-topic: | ||
type: input # Implied when role is NOT specified | ||
${pipeline_name}-extra-topic: | ||
role: topic-role # Implies `type` to be extra | ||
${pipeline_name}-input-pattern-topic: | ||
type: pattern # Implied to be an input pattern if `role` is undefined | ||
${pipeline_name}-extra-pattern-topic: | ||
type: pattern # Implied to be an extra pattern if `role` is defined | ||
role: some-role | ||
components: # read from specific component | ||
account-producer: | ||
type: output # Implied when role is NOT specified | ||
other-producer: | ||
role: some-role # Implies `type` to be extra | ||
component-as-input-pattern: | ||
type: pattern # Implied to be an input pattern if `role` is undefined | ||
component-as-extra-pattern: | ||
type: pattern # Implied to be an extra pattern if `role` is defined | ||
role: some-role | ||
# Topic(s) into which the component will write output | ||
to: | ||
topics: | ||
${pipeline_name}-output-topic: | ||
type: output # Implied when role is NOT specified | ||
${pipeline_name}-extra-topic: | ||
role: topic-role # Implies `type` to be extra; Will throw an error if `type` is defined | ||
${pipeline_name}-error-topic: | ||
type: error | ||
# Currently KPOps supports Avro and JSON schemas. | ||
key_schema: key-schema # must implement SchemaProvider to use | ||
value_schema: value-schema | ||
partitions_count: 1 | ||
replication_factor: 1 | ||
configs: # https://kafka.apache.org/documentation/#topicconfigs | ||
cleanup.policy: compact | ||
models: # SchemaProvider is initiated with the values given here | ||
model: model | ||
namespace: namespace # required | ||
# `app` contains application-specific settings, hence it does not have a rigid | ||
# structure. The fields below are just an example. | ||
app: # required | ||
image: exampleImage # Example | ||
debug: false # Example | ||
commandLine: {} # Example | ||
# Helm repository configuration (optional) | ||
# If not set the helm repo add will not be called. Useful when using local Helm charts | ||
repo_config: | ||
repository_name: bakdata-streams-bootstrap # required | ||
url: https://bakdata.github.io/streams-bootstrap/ # required | ||
repo_auth_flags: | ||
username: user | ||
password: pass | ||
ca_file: /home/user/path/to/ca-file | ||
insecure_skip_tls_verify: false | ||
version: "1.0.0" # Helm chart version |
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
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
6 changes: 6 additions & 0 deletions
6
docs/docs/resources/pipeline-components/sections/app-helm-app.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,6 @@ | ||
# `app` contains application-specific settings, hence it does not have a rigid | ||
# structure. The fields below are just an example. | ||
app: # required | ||
image: exampleImage # Example | ||
debug: false # Example | ||
commandLine: {} # Example |
File renamed without changes.
21 changes: 21 additions & 0 deletions
21
docs/docs/resources/pipeline-defaults/defaults-helm-app.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,21 @@ | ||
# Kubernetes apps managed through Helm with an associated Helm chart | ||
# | ||
# Parent of: KafkaApp | ||
# Child of: KubernetesApp | ||
helm-app: | ||
# `app` contains application-specific settings, hence it does not have a rigid | ||
# structure. The fields below are just an example. | ||
app: # required | ||
image: exampleImage # Example | ||
debug: false # Example | ||
commandLine: {} # Example | ||
# Helm repository configuration (optional) | ||
# If not set the helm repo add will not be called. Useful when using local Helm charts | ||
repo_config: | ||
repository_name: bakdata-streams-bootstrap # required | ||
url: https://bakdata.github.io/streams-bootstrap/ # required | ||
repo_auth_flags: | ||
username: user | ||
password: pass | ||
ca_file: /home/user/path/to/ca-file | ||
insecure_skip_tls_verify: false |
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
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
5 changes: 5 additions & 0 deletions
5
docs/docs/resources/pipeline-defaults/headers/defaults-helm-app.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,5 @@ | ||
# Kubernetes apps managed through Helm with an associated Helm chart | ||
# | ||
# Parent of: KafkaApp | ||
# Child of: KubernetesApp | ||
helm-app: |
2 changes: 1 addition & 1 deletion
2
docs/docs/resources/pipeline-defaults/headers/defaults-kubernetes-app.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Base Kubernetes App | ||
# | ||
# Parent of: KafkaApp | ||
# Parent of: HelmApp | ||
# Child of: PipelineComponent | ||
kubernetes-app: |