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

fix: update ingress name #39

Merged
merged 10 commits into from
Sep 14, 2023
Merged
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
Binary file added charts/testkube-cloud-api-1.15.3.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ helm:
value: kubeshop/testkube-cloud-api
forcestring: true
- name: image.tag
value: 1.4.0-dev-88d810f
value: 1.4.0-dev-72a1668
forcestring: true
4 changes: 2 additions & 2 deletions charts/testkube-cloud-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: testkube-cloud-api
description: A Helm chart for Testkube Cloud API
type: application
version: 1.15.2
appVersion: 1.4.0-dev-88d810f
version: 1.15.3
appVersion: 1.4.0-dev-72a1668
maintainers:
- name: testkube
url: https://testkube.io
Expand Down
9 changes: 3 additions & 6 deletions charts/testkube-cloud-api/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# testkube-cloud-api

<<<<<<< HEAD
![Version: 1.14.7](https://img.shields.io/badge/Version-1.14.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.3.13](https://img.shields.io/badge/AppVersion-1.3.13-informational?style=flat-square)
=======
![Version: 1.14.12](https://img.shields.io/badge/Version-1.14.12-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.3.14](https://img.shields.io/badge/AppVersion-1.3.14-informational?style=flat-square)
>>>>>>> origin/develop
![Version: 1.15.3](https://img.shields.io/badge/Version-1.15.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.4.0-dev-72a1668](https://img.shields.io/badge/AppVersion-1.4.0--dev--72a1668-informational?style=flat-square)

A Helm chart for Testkube Cloud API

Expand Down Expand Up @@ -101,6 +97,7 @@ A Helm chart for Testkube Cloud API
| global.imagePullSecrets | list | `[]` | Global image pull secrets (provided usually by a parent chart like testkube-enterprise) |
| global.ingress.enabled | bool | `true` | Toggle whether to enable or disable all Ingress resources (if false, all Ingress resources will be disabled and cannot be overriden) |
| global.restApiSubdomain | string | `"api"` | REST API subdomain which get prepended to the domain |
| global.statusPagesApiSubdomain | string | `"status"` | Status Pages API subdomain which get prepended to the domain |
| global.uiSubdomain | string | `"cloud"` | UI subdomain which get prepended to the domain |
| global.websocketApiSubdomain | string | `"websockets"` | Websocket API subdomain which get prepended to the domain |
| grpcIngress.annotations | object | `{}` | Additional annotations to add to the gRPC Ingress resource |
Expand Down Expand Up @@ -171,7 +168,7 @@ A Helm chart for Testkube Cloud API
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| statusPagesIngress.annotations | object | `{}` | Additional annotations to add to the WebSocket Ingress resource |
| statusPagesIngress.enabled | bool | `true` | Toggle whether to enable the Status Pages API Ingress |
| statusPagesIngress.host | string | `"*.status.testkube.io"` | Hostname for which to create rules and TLS certificates |
| statusPagesIngress.host | string | `""` | Hostname for which to create rules and TLS certificates |
| statusPagesIngress.labels | object | `{}` | Additional labels to add to the WebSocket Ingress resource |
| tolerations | list | `[]` | |
| websocketsIngress.annotations | object | `{}` | Additional annotations to add to the WebSocket Ingress resource |
Expand Down
11 changes: 11 additions & 0 deletions charts/testkube-cloud-api/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,14 @@ Get Websockets Ingress host
{{- .Values.websocketsIngress.host }}
{{- end }}
{{- end }}

{{/*
Get Status Pages Ingress host
*/}}
{{- define "testkube-cloud-api.ingress.statusPagesHost" -}}
{{- if .Values.global.domain }}
{{- printf "%s.%s" .Values.global.statusPagesApiSubdomain .Values.global.domain }}
{{- else }}
{{- .Values.statusPagesIngress.host }}
{{- end }}
{{- end }}
4 changes: 2 additions & 2 deletions charts/testkube-cloud-api/templates/ingress-statuspages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ spec:
{{- end }}
tls:
- hosts:
- {{ .Values.statusPagesIngress.host | quote }}
- {{ include "testkube-cloud-api.ingress.statusPagesHost" . | quote }}
secretName: {{ .Values.ingress.tlsSecretName }}
rules:
- host: {{ .Values.statusPagesIngress.host | quote }}
- host: {{ include "testkube-cloud-api.ingress.statusPagesHost" . | quote }}
http:
paths:
- path: /
Expand Down
4 changes: 3 additions & 1 deletion charts/testkube-cloud-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ global:
grpcApiSubdomain: "agent"
# -- Websocket API subdomain which get prepended to the domain
websocketApiSubdomain: "websockets"
# -- Status Pages API subdomain which get prepended to the domain
statusPagesApiSubdomain: "status"
# -- TLS provider (possible values: "", "cert-manager")
certificateProvider: ""
certManager:
Expand Down Expand Up @@ -367,4 +369,4 @@ statusPagesIngress:
{}
# kubernetes.io/ingress.class: nginx
# -- Hostname for which to create rules and TLS certificates
host: "*.status.testkube.io"
host: ""
4 changes: 0 additions & 4 deletions charts/testkube-cloud-ui/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# testkube-cloud-ui

<<<<<<< HEAD
![Version: 1.14.8](https://img.shields.io/badge/Version-1.14.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.4.0-dev-d3d68fc](https://img.shields.io/badge/AppVersion-1.4.0--dev--d3d68fc-informational?style=flat-square)
=======
![Version: 1.14.17](https://img.shields.io/badge/Version-1.14.17-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.4.0-dev-84e330b](https://img.shields.io/badge/AppVersion-1.4.0--dev--84e330b-informational?style=flat-square)
>>>>>>> origin/develop

A Helm chart for Testkube Cloud UI

Expand Down
Binary file modified charts/testkube-enterprise-1.12.37.tgz
Binary file not shown.
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.15.2
version: 1.15.3
- name: testkube-cloud-ui
repository: file://../testkube-cloud-ui
version: 1.14.17
Expand All @@ -17,5 +17,5 @@ dependencies:
- name: nats
repository: https://nats-io.github.io/k8s/helm/charts/
version: 0.14.2
digest: sha256:332f0bbd145c84db25b58a9fdad0e582228dbcebfeb349c4e6ec511619a2b666
generated: "2023-09-14T09:53:24.809763699Z"
digest: sha256:eb41742317a2e0999463988c4efe42f5e37908b0e9b872dff85867f69fa0c24d
generated: "2023-09-14T11:47:02.350521638Z"
4 changes: 2 additions & 2 deletions charts/testkube-enterprise/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ apiVersion: v2
name: testkube-enterprise
description: A Helm chart for Testkube Enterprise
type: application
version: 1.12.37
version: 1.12.38
dependencies:
- name: common
version: 2.2.5
repository: https://charts.bitnami.com/bitnami
- name: testkube-cloud-api
version: 1.15.2
version: 1.15.3
repository: file://../testkube-cloud-api
- name: testkube-cloud-ui
version: 1.14.17
Expand Down
20 changes: 4 additions & 16 deletions charts/testkube-enterprise/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# testkube-enterprise

![Version: 1.12.37](https://img.shields.io/badge/Version-1.12.37-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 1.12.38](https://img.shields.io/badge/Version-1.12.38-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,13 +21,8 @@ A Helm chart for Testkube Enterprise

| Repository | Name | Version |
|------------|------|---------|
<<<<<<< HEAD
| file://../testkube-cloud-api | testkube-cloud-api | 1.14.7 |
| file://../testkube-cloud-ui | testkube-cloud-ui | 1.14.8 |
=======
| file://../testkube-cloud-api | testkube-cloud-api | 1.14.12 |
| file://../testkube-cloud-api | testkube-cloud-api | 1.15.3 |
| file://../testkube-cloud-ui | testkube-cloud-ui | 1.14.17 |
>>>>>>> origin/develop
| 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 @@ -71,6 +66,7 @@ A Helm chart for Testkube Enterprise
| global.imagePullSecrets | list | `[]` | Image pull secrets to use for testkube-cloud-api and testkube-cloud-ui |
| global.ingress.enabled | bool | `true` | Global toggle whether to create Ingress resources |
| global.restApiSubdomain | string | `"api"` | REST API subdomain which get prepended to the domain |
| global.statusPagesApiSubdomain | string | `"status"` | Status Pages API subdomain which get prepended to the domain |
| global.uiSubdomain | string | `"dashboard"` | UI subdomain which get prepended to the domain |
| global.websocketApiSubdomain | string | `"websockets"` | Websocket API subdomain which get prepended to the domain |
| mongodb.auth.enabled | bool | `false` | Toggle whether to enable MongoDB authentication |
Expand Down Expand Up @@ -129,11 +125,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"` | |
<<<<<<< HEAD
| testkube-cloud-api.image.tag | string | `"1.3.13"` | |
=======
| testkube-cloud-api.image.tag | string | `"1.3.14"` | |
>>>>>>> origin/develop
| testkube-cloud-api.image.tag | string | `"1.4.0-dev-72a1668"` | |
| 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 @@ -156,11 +148,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"` | |
<<<<<<< HEAD
| testkube-cloud-ui.image.tag | string | `"1.4.0-dev-d3d68fc"` | |
=======
| testkube-cloud-ui.image.tag | string | `"1.4.0-dev-84e330b"` | |
>>>>>>> origin/develop
| 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.14.17.tgz
Binary file not shown.
4 changes: 3 additions & 1 deletion charts/testkube-enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ global:
grpcApiSubdomain: "agent"
# -- Websocket API subdomain which get prepended to the domain
websocketApiSubdomain: "websockets"
# -- Status Pages API subdomain which get prepended to the domain
statusPagesApiSubdomain: "status"
# -- TLS provider (possible values: "", "cert-manager")
certificateProvider: "cert-manager"
certManager:
Expand All @@ -41,7 +43,7 @@ testkube-cloud-api:
fullnameOverride: testkube-enterprise-api
image:
repository: testkubeenterprise/testkube-enterprise-api
tag: 1.4.0-dev-88d810f
tag: 1.4.0-dev-72a1668
api:
# -- Configure which invitation mode to use (email|auto-accept): email uses SMTP protocol to send email invites and auto-accept immediately adds them
inviteMode: email
Expand Down
Loading
Loading