From c7dbb76c73d07abf19e661b26267fb3a967baa0a Mon Sep 17 00:00:00 2001 From: Matt Morrison Date: Wed, 27 Nov 2024 14:48:07 +1300 Subject: [PATCH 1/5] chore: bump kafka dep to 0.3.2 --- charts/big-peer/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/big-peer/Chart.yaml b/charts/big-peer/Chart.yaml index ed73771..1dfc23e 100644 --- a/charts/big-peer/Chart.yaml +++ b/charts/big-peer/Chart.yaml @@ -75,7 +75,7 @@ dependencies: tags: - kafka-operator - name: kafka - version: "0.3.0" + version: "0.3.2" repository: "https://getditto.github.io/helm-charts/" alias: kafka condition: kafka-cluster.enabled @@ -96,7 +96,7 @@ dependencies: - live-query - name: kafka alias: live-query-kafka - version: "0.3.0" + version: "0.3.2" repository: "https://getditto.github.io/helm-charts/" condition: live-query.enabled tags: From baab014b08bcf437f235496cadb06832b788cad8 Mon Sep 17 00:00:00 2001 From: Matt Morrison Date: Wed, 27 Nov 2024 14:50:16 +1300 Subject: [PATCH 2/5] Update Chart.lock --- charts/big-peer/Chart.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/big-peer/Chart.lock b/charts/big-peer/Chart.lock index ba4af71..ce178e1 100644 --- a/charts/big-peer/Chart.lock +++ b/charts/big-peer/Chart.lock @@ -22,7 +22,7 @@ dependencies: version: 0.44.0 - name: kafka repository: https://getditto.github.io/helm-charts/ - version: 0.3.0 + version: 0.3.2 - name: dummy-auth-webhook repository: oci://quay.io/ditto-external version: 0.1.1 @@ -31,6 +31,6 @@ dependencies: version: 0.1.0-002c59 - name: kafka repository: https://getditto.github.io/helm-charts/ - version: 0.3.0 -digest: sha256:a80e20c3350b81baadc9c95d1a9cd5a39cbb477424eada9cb1799051be769e37 -generated: "2024-11-26T21:26:25.417383+13:00" + version: 0.3.2 +digest: sha256:639e86bf85b32c860f779291a142f229752cc4a70a422232c176fff9883a7c80 +generated: "2024-11-27T14:49:36.971451+13:00" From 9d67e3ffb1d756aff75473e3232200a8193ff8a1 Mon Sep 17 00:00:00 2001 From: Matt Morrison Date: Wed, 27 Nov 2024 14:51:03 +1300 Subject: [PATCH 3/5] bump Chart version --- charts/big-peer/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/big-peer/Chart.yaml b/charts/big-peer/Chart.yaml index 1dfc23e..b799d6d 100644 --- a/charts/big-peer/Chart.yaml +++ b/charts/big-peer/Chart.yaml @@ -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.10 +version: 0.2.11 # 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 From d1edf7de3a77298492aba015be5098c98a6cb8d5 Mon Sep 17 00:00:00 2001 From: Matt Morrison Date: Wed, 27 Nov 2024 14:52:17 +1300 Subject: [PATCH 4/5] Add helm repos to testing workflow --- .github/workflows/chart-testing.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/chart-testing.yaml b/.github/workflows/chart-testing.yaml index 3cc257e..f9a1e13 100644 --- a/.github/workflows/chart-testing.yaml +++ b/.github/workflows/chart-testing.yaml @@ -16,6 +16,12 @@ jobs: with: fetch-depth: 0 + - name: add repos + run: | + helm repo add cert-manager https://charts.jetstack.io + helm repo add kafka https://strimzi.io/charts + helm repo add ditto-helm-charts https://getditto.github.io/helm-charts/ + - name: Install dependencies run: | helm plugin install https://github.com/helm-unittest/helm-unittest.git From 03838e0fbfdbc378a9417bc18278e79c10afa60b Mon Sep 17 00:00:00 2001 From: Matt Morrison Date: Wed, 27 Nov 2024 14:55:56 +1300 Subject: [PATCH 5/5] lints --- charts/big-peer/Chart.yaml | 1 - charts/big-peer/values.yaml | 26 ++++++++++++-------------- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/charts/big-peer/Chart.yaml b/charts/big-peer/Chart.yaml index b799d6d..71f6a51 100644 --- a/charts/big-peer/Chart.yaml +++ b/charts/big-peer/Chart.yaml @@ -101,4 +101,3 @@ dependencies: condition: live-query.enabled tags: - kafka - diff --git a/charts/big-peer/values.yaml b/charts/big-peer/values.yaml index 94d19b0..e132659 100644 --- a/charts/big-peer/values.yaml +++ b/charts/big-peer/values.yaml @@ -6,7 +6,7 @@ global: debug: false trace: false - #Create a storage class for local k8s clusters or k8s clusters that do not use dynamic provisioners out of box + # Create a storage class for local k8s clusters or k8s clusters that do not use dynamic provisioners out of box # Default provisioner is for rancher cluster # Disable if you have a k8s cluster with a default dynamic provisioner storageClass: @@ -50,7 +50,7 @@ global: apps: myApp: enabled: false - id: 891c1bdb-71c6-40d5-9374-128e467c367e # uuid generated via uuidgen + id: 891c1bdb-71c6-40d5-9374-128e467c367e # uuid generated via uuidgen liveQuery: enabled: false @@ -74,8 +74,6 @@ apps: enabled: true url: "http://myapp.com/rimshot" - - # global kafka cluster options kafka: # enable kraft mode for dual use Kafka nodes in a common node pool @@ -87,7 +85,7 @@ kafka: # disable kafka supporting services that are not required strimzi: - #interBrokerProtocolVersion: 3.8.0 + # interBrokerProtocolVersion: 3.8.0 kafkaVersion: 3.8.0 kafkaExporter: enabled: false @@ -120,15 +118,15 @@ ingress: # -- Set the ingressClass that is used for this ingress. # Requires Kubernetes >=1.19 - ingressClassName: # "traefik" + ingressClassName: # "traefik" ## Configure the hosts for the ingress hosts: - - # -- Host address. Helm template can be passed. + - # -- Host address. Helm template can be passed. host: chart-example.local ## Configure the paths for the host paths: - - # -- path. helm template can be passed. + - # -- path. helm template can be passed. path: /_ditto # -- ignored if not kubeversion >= 1.14-0 pathtype: prefix @@ -138,7 +136,7 @@ ingress: # -- overrides the service port reference for this path port: 8080 - - # -- path. helm template can be passed. + - # -- path. helm template can be passed. path: / # -- ignored if not kubeversion >= 1.14-0 pathtype: prefix @@ -226,7 +224,7 @@ hades: # If not set and create is true, a name is generated using the fullname template name: "" - #Service + # Service service: type: ClusterIP port: 80 @@ -296,7 +294,7 @@ hydra-consul: { "leave_on_terminate": true } - #Enables you to configure network access to the components enabled in the hydra-consul install. + # Enables you to configure network access to the components enabled in the hydra-consul install. networkPolicies: enabled: false ingress: @@ -628,8 +626,8 @@ hydra-subscription: "sharedToken": "test", "permission": { - "read": { "everything": true, "queriesByCollection": {} }, - "write": { "everything": true, "queriesByCollection": {} }, + "read": {"everything": true, "queriesByCollection": {}}, + "write": {"everything": true, "queriesByCollection": {}}, }, }, } @@ -866,7 +864,7 @@ live-query-kafka: authorization: simple external: true - #interBrokerProtocolVersion: 3.8.0 + # interBrokerProtocolVersion: 3.8.0 kafkaVersion: 3.8.0 kafkaExporter: enabled: false