Skip to content

Commit

Permalink
Merge pull request #21 from getditto/add/collection-option-lqt
Browse files Browse the repository at this point in the history
add: ability to select collection that live-query is scoped to, default is null/all
  • Loading branch information
ChrisMcKenzie authored Jan 15, 2025
2 parents 66f383e + b565888 commit d57c8e6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
8 changes: 4 additions & 4 deletions charts/big-peer/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies:
version: 0.44.0
- name: kafka
repository: https://getditto.github.io/helm-charts/
version: 0.3.5
version: 0.3.6
- name: dummy-auth-webhook
repository: oci://quay.io/ditto-external
version: 0.1.1
Expand All @@ -31,6 +31,6 @@ dependencies:
version: 0.1.0-002c59
- name: kafka
repository: https://getditto.github.io/helm-charts/
version: 0.3.5
digest: sha256:32d2472e3b0c018b3fdfd462273c02adb7117b54a714ba13ce9be2a0888f663d
generated: "2025-01-10T10:55:30.13758089-06:00"
version: 0.3.6
digest: sha256:1db080b92f534cac8abc9c9d4bbd7840ec624318f3316f4a41a337d1dad16a7f
generated: "2025-01-15T09:12:27.945293144-06:00"
6 changes: 3 additions & 3 deletions charts/big-peer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ home: https://docs.ditto.live/
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.14
version: 0.2.15

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down Expand Up @@ -75,7 +75,7 @@ dependencies:
tags:
- kafka-operator
- name: kafka
version: "0.3.5"
version: "0.3.6"
repository: "https://getditto.github.io/helm-charts/"
alias: kafka
condition: kafka-cluster.enabled
Expand All @@ -96,7 +96,7 @@ dependencies:
- live-query
- name: kafka
alias: live-query-kafka
version: "0.3.5"
version: "0.3.6"
repository: "https://getditto.github.io/helm-charts/"
condition: live-query.enabled
tags:
Expand Down
4 changes: 2 additions & 2 deletions charts/big-peer/templates/classes/_live_query_source.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ metadata:
{{- end }}
spec:
appId: {{ $appValues.id }}
description: null
collection: null
description: {{ $queryValues.description }}
collection: {{ $queryValues.collection }}
liveQueryCoreRef:
name: {{ $appValues.id }}
namespace: {{ .Release.Namespace }}
Expand Down
10 changes: 9 additions & 1 deletion charts/big-peer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ apps:
queries:
- name: "all_the_things"
enabled: true
description: null
collection: null
queryFilterExpression: "true"
schema: untyped
sinks:
Expand All @@ -67,6 +69,8 @@ apps:
url: "http://myapp.com/rimshot"
- name: "send_to_hook"
enabled: true
description: null
collection: null
queryFilterExpression: "true"
schema: untyped
sinks:
Expand Down Expand Up @@ -862,11 +866,15 @@ live-query-kafka:
dualRoles: true
replicas: 1


# disable kafka supporting services that are not required
strimzi:
replicas: 3
authorization: simple
external: true

externalListener:
enabled: false


# interBrokerProtocolVersion: 3.8.0
kafkaVersion: 3.8.0
Expand Down

0 comments on commit d57c8e6

Please sign in to comment.