Skip to content

Commit f76ee6e

Browse files
SMQ-160 - Update SuperMQ helm charts (#159)
* Remove bootstrap * Remove timescale * Update users env * Rename things to clients * Rename things to clients * Rename MG to SMQ * Rename magistrala to supermq * Update docs * Rename magistrala to supermq * Update adapter_coap * Update debug level * Update env files * Add spicedb schema file var * Add domains * Add channels * Add channels * Add groups * Update chart.yaml * Update coap adapter * Update chart.lock * Fix cassandra * Fix auth * Fix http-adapter * Fix channels * Fix clients * Add schema to domains * Fix users * Rename schema file * Fix auth pvc replicas * Fix groups and domains * remove unnecessary variables * rename magistrala to supermq * rename magistrala to supermq * rename magistrala to supermq Signed-off-by: JeffMboya <[email protected]> * update chart version Signed-off-by: JeffMboya <[email protected]> * Add ws Signed-off-by: JeffMboya <[email protected]> * Add log collection Signed-off-by: JeffMboya <[email protected]> * Fix fluent-bit parser error in mg Signed-off-by: JeffMboya <[email protected]> * Fix flush timeout in fluent-bit Signed-off-by: JeffMboya <[email protected]> * Fix flush timeout in fluent-bit Signed-off-by: JeffMboya <[email protected]> * Remove repomix output Signed-off-by: JeffMboya <[email protected]> * change loge level to error Signed-off-by: JeffMboya <[email protected]> * use simpler secret key Signed-off-by: JeffMboya <[email protected]> * Use official helm charts Signed-off-by: JeffMboya <[email protected]> * Fix loki bucken names Signed-off-by: JeffMboya <[email protected]> * Fix Cannot run scalable targets error Signed-off-by: JeffMboya <[email protected]> * Fix fluent bit host Signed-off-by: JeffMboya <[email protected]> * Fix fluent bit configmap Signed-off-by: JeffMboya <[email protected]> * Fix fluentbit http buffer size; fix loki DNS resolution Signed-off-by: JeffMboya <[email protected]> * switch to loki-gateway Signed-off-by: JeffMboya <[email protected]> * Disable gateway Signed-off-by: JeffMboya <[email protected]> * USe seperate fluentbit config file Signed-off-by: JeffMboya <[email protected]> * Add gRPC routing for services Signed-off-by: JeffMboya <[email protected]> * Add gRPC routing for services Signed-off-by: JeffMboya <[email protected]> * Fix CI Signed-off-by: JeffMboya <[email protected]> * Fix CI Signed-off-by: JeffMboya <[email protected]> * Remove unnecessary file Signed-off-by: JeffMboya <[email protected]> * Add gRPC routing for services Signed-off-by: JeffMboya <[email protected]> * Fix envoy Signed-off-by: JeffMboya <[email protected]> * revert to add fluentbit config to values.yaml Signed-off-by: JeffMboya <[email protected]> * Fix envoy Signed-off-by: JeffMboya <[email protected]> * Fix clients and channels Signed-off-by: JeffMboya <[email protected]> * Update loki version Signed-off-by: JeffMboya <[email protected]> * Fix fluentbit - loki connection Signed-off-by: JeffMboya <[email protected]> * Remove extra loki config Signed-off-by: JeffMboya <[email protected]> * Remove extra loki config Signed-off-by: JeffMboya <[email protected]> * Use seperate file for loki override Signed-off-by: JeffMboya <[email protected]> * Disable k8s exclusion rule Signed-off-by: JeffMboya <[email protected]> * Fix prometheus Signed-off-by: JeffMboya <[email protected]> * Fix prometheus ports Signed-off-by: JeffMboya <[email protected]> * Fix Prometheus failing to access its Kubernetes ServiceAccount token and CA certificate Signed-off-by: JeffMboya <[email protected]> * Remove invitations Signed-off-by: JeffMboya <[email protected]> * Update Ingress configuration for services Signed-off-by: JeffMboya <[email protected]> * Update helm docs Signed-off-by: JeffMboya <[email protected]> * change auth from statefulset to deployment kind Signed-off-by: JeffMboya <[email protected]> * remove deuplicate definition for spicedb-schema-zed Signed-off-by: JeffMboya <[email protected]> * Fix NATS URL formatting issue Signed-off-by: JeffMboya <[email protected]> * Fix CI Signed-off-by: JeffMboya <[email protected]> * Add resource limits to loki Signed-off-by: JeffMboya <[email protected]> * Add resource limits to postgresql Signed-off-by: JeffMboya <[email protected]> * Rename ws-adapter to adapter-ws Signed-off-by: JeffMboya <[email protected]> * Add resource limits to cassandra Signed-off-by: JeffMboya <[email protected]> * Fix auth Signed-off-by: JeffMboya <[email protected]> * Add service replica counts Signed-off-by: JeffMboya <[email protected]> * Replace jaeger provisioned cassandra with bitnami cassandra Signed-off-by: JeffMboya <[email protected]> * Remove db storage class and access mode Signed-off-by: JeffMboya <[email protected]> * Switch from small to nano Signed-off-by: JeffMboya <[email protected]> * Revert back to small Signed-off-by: JeffMboya <[email protected]> * Set auth credentials Signed-off-by: JeffMboya <[email protected]> * Add replica count Signed-off-by: JeffMboya <[email protected]> * Fix jaeger-cassandra auth Signed-off-by: JeffMboya <[email protected]> * Fix replica count Signed-off-by: JeffMboya <[email protected]> * update charts jaeger,redis,cassandra,ingress path Signed-off-by: Arvindh <[email protected]> * Fix ui imagePullErr Signed-off-by: JeffMboya <[email protected]> * Update ui Signed-off-by: JeffMboya <[email protected]> * Remove duplicate value in MG_PROFILE_PICTURE_URL Signed-off-by: JeffMboya <[email protected]> * Rename postgresqlui to postgresqlbackend Signed-off-by: JeffMboya <[email protected]> * Fix ui port in ingress Signed-off-by: JeffMboya <[email protected]> * Add jaeger, grafana, and prometheus ingress Signed-off-by: JeffMboya <[email protected]> * Fix ingress.yaml Signed-off-by: JeffMboya <[email protected]> * Fix ui and grafana Signed-off-by: JeffMboya <[email protected]> * Fix jaeger base path Signed-off-by: JeffMboya <[email protected]> * Fix CI Signed-off-by: JeffMboya <[email protected]> * Fix fetch failed err in cients Signed-off-by: JeffMboya <[email protected]> * Fix login Signed-off-by: JeffMboya <[email protected]> * Seperate backend from ui Signed-off-by: JeffMboya <[email protected]> * Remove MG_UI_HOST_URL Signed-off-by: JeffMboya <[email protected]> * Remove stripe Signed-off-by: JeffMboya <[email protected]> * Fix auth port in clients Signed-off-by: JeffMboya <[email protected]> * Fix method not allowed in clients Signed-off-by: JeffMboya <[email protected]> * fix groups deps and update postgres version Signed-off-by: Arvindh <[email protected]> * Bump postgresql to v16.2.5 Signed-off-by: JeffMboya <[email protected]> * Revert chart version Signed-off-by: JeffMboya <[email protected]> * Remove unnecessary clients path Signed-off-by: JeffMboya <[email protected]> * fix ui route, env and add prefix to smq routes Signed-off-by: Arvindh <[email protected]> * Fix ingress path rewrite capturing Signed-off-by: JeffMboya <[email protected]> * Refactor to use 2 capture groups instead of 3 Signed-off-by: JeffMboya <[email protected]> * Update helm docs Signed-off-by: JeffMboya <[email protected]> * Remove fluentbit, loki, and grafana Signed-off-by: JeffMboya <[email protected]> --------- Signed-off-by: JeffMboya <[email protected]> Signed-off-by: Arvindh <[email protected]> Co-authored-by: Arvindh <[email protected]>
1 parent 71b636f commit f76ee6e

File tree

69 files changed

+3986
-2226
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+3986
-2226
lines changed

.github/workflows/helm-docs.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) Magistrala
1+
# Copyright (c) Abstract Machines
22
# SPDX-License-Identifier: Apache-2.0
33

44
name: Generate Helm Docs
@@ -23,7 +23,7 @@ jobs:
2323
id: helm-docs
2424
uses: losisin/[email protected]
2525
with:
26-
chart-search-root: "charts/magistrala"
26+
chart-search-root: "charts/supermq"
2727
values-file: "values.yaml"
2828
output-file: "README.md"
2929
template-files: "README.md.gotmpl"
@@ -32,4 +32,4 @@ jobs:
3232

3333
- name: Show README diff
3434
if: failure() && steps.helm-docs.outcome == 'failure'
35-
run: git diff charts/magistrala/README.md || echo "No git diff available."
35+
run: git diff charts/supermq/README.md || echo "No git diff available."

.github/workflows/lint-test.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) Magistrala
1+
# Copyright (c) Abstract Machines
22
# SPDX-License-Identifier: Apache-2.0
33

44
name: Lint and Test Charts
@@ -25,11 +25,14 @@ jobs:
2525
helm repo add jaegertracing https://jaegertracing.github.io/helm-charts
2626
helm repo add bitnami https://charts.bitnami.com/bitnami
2727
helm repo add hashicorp https://helm.releases.hashicorp.com
28+
helm repo add grafana https://grafana.github.io/helm-charts
29+
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
30+
helm repo add fluent https://fluent.github.io/helm-charts
2831
helm repo update
2932
3033
- name: Update Helm dependencies
3134
run: |
32-
helm dependency update charts/magistrala
35+
helm dependency update charts/supermq
3336
3437
# Python is required because `ct lint` runs Yamale (https://github.com/23andMe/Yamale) and
3538
# yamllint (https://github.com/adrienverge/yamllint) which require Python
@@ -61,4 +64,4 @@ jobs:
6164
- name: Run chart-testing (install)
6265
if: steps.list-changed.outputs.changed == 'true'
6366
run: |
64-
ct install --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts/magistrala/charts
67+
ct install --target-branch ${{ github.event.repository.default_branch }} --chart-dirs charts/supermq/charts

.github/workflows/release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) Magistrala
1+
# Copyright (c) Abstract Machines
22
# SPDX-License-Identifier: Apache-2.0
33

44
name: Release Charts
@@ -41,7 +41,7 @@ jobs:
4141
4242
- name: Update Helm dependencies
4343
run: |
44-
helm dependency update charts/magistrala
44+
helm dependency update charts/supermq
4545
4646
- name: Run chart-releaser
4747
uses: helm/[email protected]

charts/magistrala/README.md

-315
This file was deleted.

charts/magistrala/templates/_helpers.tpl

-37
This file was deleted.

charts/magistrala/templates/adapter_http-deployment.yaml

-60
This file was deleted.

charts/magistrala/templates/bootstrap-deployment.yaml

-90
This file was deleted.

charts/magistrala/templates/bootstrap-service.yaml

-17
This file was deleted.

charts/magistrala/templates/envoy-config.yaml

-120
This file was deleted.

0 commit comments

Comments
 (0)