Skip to content

Commit

Permalink
feat: add hubspot
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv committed Jul 7, 2023
1 parent 7a2b68e commit 54e98a7
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 13 deletions.
2 changes: 1 addition & 1 deletion charts/testkube-cloud-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: testkube-cloud-api
description: A Helm chart for Testkube Cloud API
type: application
version: 1.11.6
version: 1.11.7
appVersion: 1.2.0-dev-f05d636
maintainers:
- name: testkube
Expand Down
5 changes: 4 additions & 1 deletion charts/testkube-cloud-api/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# testkube-cloud-api

![Version: 1.10.0](https://img.shields.io/badge/Version-1.10.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.2.0-dev-b3f34e0](https://img.shields.io/badge/AppVersion-1.2.0--dev--b3f34e0-informational?style=flat-square)
![Version: 1.11.7](https://img.shields.io/badge/Version-1.11.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.2.0-dev-f05d636](https://img.shields.io/badge/AppVersion-1.2.0--dev--f05d636-informational?style=flat-square)

A Helm chart for Testkube Cloud API

Expand All @@ -22,6 +22,9 @@ A Helm chart for Testkube Cloud API
|-----|------|---------|-------------|
| additionalEnv | object | `{}` | Additional env vars to be added to the deployment |
| affinity | object | `{}` | |
| analytics.hubspot.apiKey | string | `""` | HubSpot write key |
| analytics.hubspot.enabled | bool | `false` | Toggle whether to enable HubSpot sync |
| analytics.hubspot.secretRef | string | `""` | HubSpot secret ref (secret must contain key HUBSPOT_API_KEY) (default is `testkube-cloud-analytics-secret`) |
| analytics.segmentio.enabled | bool | `false` | Toggle whether to enable Segment.io analytics |
| analytics.segmentio.secretRef | string | `""` | Segment.io secret ref (secret must contain key SEGMENTIO_WRITE_KEY) (default is `testkube-cloud-analytics-secret`) |
| analytics.segmentio.writeKey | string | `""` | Segment.io write key |
Expand Down
13 changes: 12 additions & 1 deletion charts/testkube-cloud-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,17 @@ spec:
value: {{ .Values.analytics.segmentio.writeKey }}
{{- end }}
{{- end }}
{{- if .Values.analytics.hubspot.enabled }}
- name: HUBSPOT_API_KEY
{{- if .Values.analytics.hubspot.secretRef }}
valueFrom:
secretKeyRef:
key: HUBSPOT_API_KEY
name: {{ .Values.analytics.hubspot.secretRef }}
{{- else }}
value: {{ .Values.analytics.hubspot.apiKey }}
{{- end }}
{{- end }}
- name: SENDGRID_API_KEY
{{- if .Values.api.sendgrid.secretRef }}
valueFrom:
Expand Down Expand Up @@ -324,4 +335,4 @@ spec:
secret:
secretName: {{ .Values.global.enterpriseLicenseSecretRef }}
{{- end }}
{{- end }}
{{- end }}
7 changes: 7 additions & 0 deletions charts/testkube-cloud-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ analytics:
writeKey: ""
# -- Segment.io secret ref (secret must contain key SEGMENTIO_WRITE_KEY) (default is `testkube-cloud-analytics-secret`)
secretRef: ""
hubspot:
# -- Toggle whether to enable HubSpot sync
enabled: false
# -- HubSpot write key
apiKey: ""
# -- HubSpot secret ref (secret must contain key HUBSPOT_API_KEY) (default is `testkube-cloud-analytics-secret`)
secretRef: ""

payments:
# -- Toggle whether to enable payments service
Expand Down
2 changes: 1 addition & 1 deletion charts/testkube-cloud-ui/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# testkube-cloud-ui

![Version: 1.10.2](https://img.shields.io/badge/Version-1.10.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.2.0-dev-e99e979](https://img.shields.io/badge/AppVersion-1.2.0--dev--e99e979-informational?style=flat-square)
![Version: 1.11.9](https://img.shields.io/badge/Version-1.11.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.2.0-dev-19f8fbf](https://img.shields.io/badge/AppVersion-1.2.0--dev--19f8fbf-informational?style=flat-square)

A Helm chart for Testkube Cloud UI

Expand Down
6 changes: 3 additions & 3 deletions charts/testkube-enterprise/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dependencies:
version: 2.2.5
- name: testkube-cloud-api
repository: file://../testkube-cloud-api
version: 1.11.6
version: 1.11.7
- name: testkube-cloud-ui
repository: file://../testkube-cloud-ui
version: 1.11.9
Expand All @@ -17,5 +17,5 @@ dependencies:
- name: nats
repository: https://nats-io.github.io/k8s/helm/charts/
version: 0.14.2
digest: sha256:ffc61fd3c800f586129c83bb54c539e1719403a4d4e36b625f5a74202fd3f03d
generated: "2023-07-06T09:44:23.15757677Z"
digest: sha256:0ae553fb445cc735584a8dca84a16de4ac9295763921aeece6998f88f9c364d7
generated: "2023-07-07T11:02:06.000812792+03:00"
2 changes: 1 addition & 1 deletion charts/testkube-enterprise/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencies:
version: 2.2.5
repository: https://charts.bitnami.com/bitnami
- name: testkube-cloud-api
version: 1.11.6
version: 1.11.7
repository: file://../testkube-cloud-api
- name: testkube-cloud-ui
version: 1.11.9
Expand Down
10 changes: 5 additions & 5 deletions charts/testkube-enterprise/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# testkube-enterprise

![Version: 1.10.0](https://img.shields.io/badge/Version-1.10.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 1.10.3](https://img.shields.io/badge/Version-1.10.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

A Helm chart for Testkube Enterprise

Expand All @@ -21,8 +21,8 @@ A Helm chart for Testkube Enterprise

| Repository | Name | Version |
|------------|------|---------|
| file://../testkube-cloud-api | testkube-cloud-api | 1.10.0 |
| file://../testkube-cloud-ui | testkube-cloud-ui | 1.10.2 |
| file://../testkube-cloud-api | testkube-cloud-api | 1.11.7 |
| file://../testkube-cloud-ui | testkube-cloud-ui | 1.11.9 |
| https://charts.bitnami.com/bitnami | common | 2.2.5 |
| https://charts.bitnami.com/bitnami | mongodb | 13.10.2 |
| https://charts.dexidp.io | dex | 0.14.1 |
Expand Down Expand Up @@ -124,7 +124,7 @@ A Helm chart for Testkube Enterprise
| testkube-cloud-api.api.tls.tlsSecret | string | `"testkube-enterprise-api-tls"` | |
| testkube-cloud-api.fullnameOverride | string | `"testkube-enterprise-api"` | |
| testkube-cloud-api.image.repository | string | `"testkubeenterprise/testkube-enterprise-api"` | |
| testkube-cloud-api.image.tag | string | `"1.2.0-dev-b3f34e0"` | |
| testkube-cloud-api.image.tag | string | `"1.2.0-dev-f05d636"` | |
| testkube-cloud-api.ingress | string | `nil` | |
| testkube-cloud-api.minio.accessModes | list | `["ReadWriteOnce"]` | PVC Access Modes for Minio. The volume is mounted as read-write by a single node. |
| testkube-cloud-api.minio.affinity | object | `{}` | Affinity for pod assignment. |
Expand All @@ -147,7 +147,7 @@ A Helm chart for Testkube Enterprise
| testkube-cloud-api.prometheus.enabled | bool | `true` | |
| testkube-cloud-ui.fullnameOverride | string | `"testkube-enterprise-ui"` | |
| testkube-cloud-ui.image.repository | string | `"testkubeenterprise/testkube-enterprise-ui"` | |
| testkube-cloud-ui.image.tag | string | `"1.2.0-dev-e99e979"` | |
| testkube-cloud-ui.image.tag | string | `"1.2.0-dev-19f8fbf"` | |
| testkube-cloud-ui.ingress.tlsSecretName | string | `"testkube-enterprise-ui-tls"` | Name of the TLS secret which contains the certificate files |

----------------------------------------------
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified charts/testkube-enterprise/charts/testkube-cloud-ui-1.11.9.tgz
Binary file not shown.

0 comments on commit 54e98a7

Please sign in to comment.