Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC: KPOps + GitOps #535

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ kpops_components_fields:
- prefix
- from_
- to
- sync_wave
- namespace
- values
- repo_config
Expand All @@ -13,11 +14,13 @@ kpops_components_fields:
- prefix
- from_
- to
- sync_wave
kafka-connector:
- name
- prefix
- from_
- to
- sync_wave
- config
- resetter_namespace
- resetter_values
Expand All @@ -26,6 +29,7 @@ kpops_components_fields:
- prefix
- from_
- to
- sync_wave
- config
- resetter_namespace
- resetter_values
Expand All @@ -34,6 +38,7 @@ kpops_components_fields:
- prefix
- from_
- to
- sync_wave
- config
- resetter_namespace
- resetter_values
Expand All @@ -43,18 +48,21 @@ kpops_components_fields:
- prefix
- from_
- to
- sync_wave
- namespace
- values
pipeline-component:
- name
- prefix
- from_
- to
- sync_wave
producer-app:
- name
- prefix
- from_
- to
- sync_wave
- namespace
- values
- repo_config
Expand All @@ -64,6 +72,7 @@ kpops_components_fields:
- prefix
- from_
- to
- sync_wave
- namespace
- values
- repo_config
Expand All @@ -73,6 +82,7 @@ kpops_components_fields:
- prefix
- from_
- to
- sync_wave
- namespace
- values
- repo_config
Expand All @@ -82,6 +92,7 @@ kpops_components_fields:
- prefix
- from_
- to
- sync_wave
- namespace
- values
- repo_config
Expand All @@ -91,6 +102,7 @@ kpops_components_fields:
- prefix
- from_
- to
- sync_wave
- namespace
- values
- repo_config
Expand All @@ -100,6 +112,7 @@ kpops_components_fields:
- prefix
- from_
- to
- sync_wave
- namespace
- values
- repo_config
Expand Down
3 changes: 3 additions & 0 deletions docs/docs/resources/variables/config_env_vars.env
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,6 @@ KPOPS_HELM_DIFF_CONFIG__IGNORE # No default value, required
# Whether to retain clean up jobs in the cluster or uninstall the,
# after completion.
KPOPS_RETAIN_CLEAN_JOBS=False
# operation_mode
# The operation mode of KPOps
KPOPS_OPERATION_MODE=Helm
1 change: 1 addition & 0 deletions docs/docs/resources/variables/config_env_vars.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ These variables take precedence over the settings in `config.yaml`. Variables ma
|KPOPS_HELM_CONFIG__API_VERSION | |False |Kubernetes API version used for `Capabilities.APIVersions` |helm_config.api_version |
|KPOPS_HELM_DIFF_CONFIG__IGNORE | |True |Set of keys that should not be checked. |helm_diff_config.ignore |
|KPOPS_RETAIN_CLEAN_JOBS |False |False |Whether to retain clean up jobs in the cluster or uninstall the, after completion.|retain_clean_jobs |
|KPOPS_OPERATION_MODE |Helm |False |The operation mode of KPOps |operation_mode |
17 changes: 17 additions & 0 deletions docs/docs/schema/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@
"title": "KafkaRestConfig",
"type": "object"
},
"OperationMode": {
"enum": [
"Argo",
"Helm"
],
"title": "OperationMode",
"type": "string"
},
"SchemaRegistryConfig": {
"additionalProperties": false,
"description": "Configuration for Schema Registry.",
Expand Down Expand Up @@ -239,6 +247,15 @@
},
"description": "Configuration for Kafka REST Proxy."
},
"operation_mode": {
"allOf": [
{
"$ref": "#/$defs/OperationMode"
}
],
"default": "Helm",
"description": "The operation mode of KPOps"
},
"pipeline_base_dir": {
"default": ".",
"description": "Base directory to the pipelines (default is current working directory)",
Expand Down
97 changes: 97 additions & 0 deletions docs/docs/schema/defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@
"default": null,
"description": "Configuration of the Helm chart repo to be used for deploying the component"
},
"sync_wave": {
"default": 0,
"description": "",
"title": "Sync Wave",
"type": "integer"
},
"to": {
"anyOf": [
{
Expand Down Expand Up @@ -310,6 +316,12 @@
"title": "Prefix",
"type": "string"
},
"sync_wave": {
"default": 0,
"description": "",
"title": "Sync Wave",
"type": "integer"
},
"to": {
"anyOf": [
{
Expand Down Expand Up @@ -436,6 +448,12 @@
],
"description": "Overriding Kafka Connect resetter Helm values, e.g. to override the image tag etc."
},
"sync_wave": {
"default": 0,
"description": "",
"title": "Sync Wave",
"type": "integer"
},
"to": {
"anyOf": [
{
Expand Down Expand Up @@ -562,6 +580,12 @@
],
"description": "Overriding Kafka Connect resetter Helm values, e.g. to override the image tag etc."
},
"sync_wave": {
"default": 0,
"description": "",
"title": "Sync Wave",
"type": "integer"
},
"to": {
"anyOf": [
{
Expand Down Expand Up @@ -657,6 +681,12 @@
],
"description": "Overriding Kafka Connect resetter Helm values, e.g. to override the image tag etc."
},
"sync_wave": {
"default": 0,
"description": "",
"title": "Sync Wave",
"type": "integer"
},
"to": {
"anyOf": [
{
Expand Down Expand Up @@ -765,6 +795,12 @@
"title": "Prefix",
"type": "string"
},
"sync_wave": {
"default": 0,
"description": "",
"title": "Sync Wave",
"type": "integer"
},
"to": {
"anyOf": [
{
Expand Down Expand Up @@ -885,6 +921,12 @@
"title": "Prefix",
"type": "string"
},
"sync_wave": {
"default": 0,
"description": "",
"title": "Sync Wave",
"type": "integer"
},
"to": {
"anyOf": [
{
Expand Down Expand Up @@ -999,6 +1041,12 @@
},
"description": "Configuration of the Helm chart repo to be used for deploying the component"
},
"sync_wave": {
"default": 0,
"description": "",
"title": "Sync Wave",
"type": "integer"
},
"to": {
"anyOf": [
{
Expand Down Expand Up @@ -1085,6 +1133,12 @@
},
"description": "Configuration of the Helm chart repo to be used for deploying the component"
},
"sync_wave": {
"default": 0,
"description": "",
"title": "Sync Wave",
"type": "integer"
},
"to": {
"anyOf": [
{
Expand Down Expand Up @@ -1846,6 +1900,12 @@
},
"description": "Configuration of the Helm chart repo to be used for deploying the component"
},
"sync_wave": {
"default": 0,
"description": "",
"title": "Sync Wave",
"type": "integer"
},
"to": {
"anyOf": [
{
Expand Down Expand Up @@ -1939,6 +1999,12 @@
},
"description": "Configuration of the Helm chart repo to be used for deploying the component"
},
"sync_wave": {
"default": 0,
"description": "",
"title": "Sync Wave",
"type": "integer"
},
"to": {
"anyOf": [
{
Expand Down Expand Up @@ -2243,6 +2309,19 @@
"title": "Readinessprobe",
"type": "object"
},
"replicaCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "The number of Kafka Streams replicas.",
"title": "Replicacount"
},
"resources": {
"allOf": [
{
Expand Down Expand Up @@ -2370,6 +2449,12 @@
},
"description": "Configuration of the Helm chart repo to be used for deploying the component"
},
"sync_wave": {
"default": 0,
"description": "",
"title": "Sync Wave",
"type": "integer"
},
"to": {
"anyOf": [
{
Expand Down Expand Up @@ -2458,6 +2543,12 @@
},
"description": "Configuration of the Helm chart repo to be used for deploying the component"
},
"sync_wave": {
"default": 0,
"description": "",
"title": "Sync Wave",
"type": "integer"
},
"to": {
"anyOf": [
{
Expand Down Expand Up @@ -2761,6 +2852,12 @@
"title": "Models",
"type": "object"
},
"sync_wave": {
"default": 0,
"description": "",
"title": "Sync Wave",
"type": "integer"
},
"topics": {
"additionalProperties": {
"$ref": "#/$defs/TopicConfig"
Expand Down
Loading
Loading