From 5cf18ac8614cbe380380feb76eba741e5323ff8e Mon Sep 17 00:00:00 2001 From: argocd-image-updater Date: Mon, 13 Nov 2023 12:45:12 +0000 Subject: [PATCH 1/5] build: automatic update of edge-testkube-cloud-api updates image kubeshop/testkube-cloud-api tag '1.7.0-dev-6ad7fdb' to '1.7.0-dev-2f6494d' --- .../.argocd-source-edge-testkube-cloud-api.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/testkube-cloud-api/.argocd-source-edge-testkube-cloud-api.yaml b/charts/testkube-cloud-api/.argocd-source-edge-testkube-cloud-api.yaml index 6a2add256..b9ad006c6 100644 --- a/charts/testkube-cloud-api/.argocd-source-edge-testkube-cloud-api.yaml +++ b/charts/testkube-cloud-api/.argocd-source-edge-testkube-cloud-api.yaml @@ -4,5 +4,5 @@ helm: value: kubeshop/testkube-cloud-api forcestring: true - name: image.tag - value: 1.7.0-dev-6ad7fdb + value: 1.7.0-dev-2f6494d forcestring: true From af9c30d29211e93850f5aa8e0b546b1f15c0f915 Mon Sep 17 00:00:00 2001 From: testkube-cloud-ci-bot Date: Mon, 13 Nov 2023 13:11:46 +0000 Subject: [PATCH 2/5] updating testkube-enterprise chart version to 1.32.1 --- charts/testkube-cloud-api/Chart.yaml | 4 ++-- charts/testkube-enterprise/Chart.lock | 6 +++--- charts/testkube-enterprise/Chart.yaml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/charts/testkube-cloud-api/Chart.yaml b/charts/testkube-cloud-api/Chart.yaml index f790a1d6b..b6cefe6a9 100644 --- a/charts/testkube-cloud-api/Chart.yaml +++ b/charts/testkube-cloud-api/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: testkube-cloud-api description: A Helm chart for Testkube Cloud API type: application -version: 1.20.0 -appVersion: 1.6.4 +version: 1.20.1 +appVersion: 1.6.5 maintainers: - name: testkube url: https://testkube.io diff --git a/charts/testkube-enterprise/Chart.lock b/charts/testkube-enterprise/Chart.lock index d68a19491..3525f50c4 100644 --- a/charts/testkube-enterprise/Chart.lock +++ b/charts/testkube-enterprise/Chart.lock @@ -4,7 +4,7 @@ dependencies: version: 2.2.5 - name: testkube-cloud-api repository: file://../testkube-cloud-api - version: 1.20.0 + version: 1.20.1 - name: testkube-cloud-ui repository: file://../testkube-cloud-ui version: 1.20.0 @@ -17,5 +17,5 @@ dependencies: - name: nats repository: https://nats-io.github.io/k8s/helm/charts/ version: 0.14.2 -digest: sha256:68d6425c4399ce5865b09e43289871fc8f065a3579c9bfc072b79f265fc9aaa1 -generated: "2023-11-10T18:22:08.920962572Z" +digest: sha256:e1b69bee43a62921f83e287ac389a7e6b44a094981978a25fe92ef5815b5ccbe +generated: "2023-11-13T13:11:37.584907665Z" diff --git a/charts/testkube-enterprise/Chart.yaml b/charts/testkube-enterprise/Chart.yaml index a9bdbd13e..329796f53 100644 --- a/charts/testkube-enterprise/Chart.yaml +++ b/charts/testkube-enterprise/Chart.yaml @@ -2,13 +2,13 @@ apiVersion: v2 name: testkube-enterprise description: A Helm chart for Testkube Enterprise type: application -version: 1.32.0 +version: 1.32.1 dependencies: - name: common version: 2.2.5 repository: https://charts.bitnami.com/bitnami - name: testkube-cloud-api - version: 1.20.0 + version: 1.20.1 repository: file://../testkube-cloud-api - name: testkube-cloud-ui version: 1.20.0 From 9541b1f205fd749c2b545aafb92b7936c44d53f5 Mon Sep 17 00:00:00 2001 From: Dejan Pejchev Date: Tue, 14 Nov 2023 16:08:27 +0100 Subject: [PATCH 3/5] bump grpc payload size in api and make it configurable --- charts/testkube-cloud-api/templates/ingress-grpc.yaml | 2 +- charts/testkube-cloud-api/values.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/testkube-cloud-api/templates/ingress-grpc.yaml b/charts/testkube-cloud-api/templates/ingress-grpc.yaml index 3b116b262..01a3784e4 100644 --- a/charts/testkube-cloud-api/templates/ingress-grpc.yaml +++ b/charts/testkube-cloud-api/templates/ingress-grpc.yaml @@ -22,7 +22,7 @@ metadata: {{- end }} annotations: nginx.ingress.kubernetes.io/backend-protocol: {{ if .Values.api.tls.serveHTTPS }}GRPCS{{ else }}GRPC{{ end }} - nginx.ingress.kubernetes.io/proxy-body-size: 8m + nginx.ingress.kubernetes.io/proxy-body-size: {{ .Values.grpcIngress.maxPayloadSize }} nginx.ingress.kubernetes.io/client-header-timeout: "10800" nginx.ingress.kubernetes.io/client-body-timeout: "10800" {{- if and (not .Values.api.tls.serveHTTPS) (eq .Values.global.certificateProvider "cert-manager") }} diff --git a/charts/testkube-cloud-api/values.yaml b/charts/testkube-cloud-api/values.yaml index 6132e7790..01912e90c 100644 --- a/charts/testkube-cloud-api/values.yaml +++ b/charts/testkube-cloud-api/values.yaml @@ -245,6 +245,8 @@ grpcIngress: # -- Additional annotations to add to the gRPC Ingress resource annotations: {} # kubernetes.io/ingress.class: nginx + # -- Max payload size for proxied gRPC API + maxPayloadSize: 16m # -- Hostname for which to create rules and TLS certificates (if omitted, the host will be generated using the global subdomain and `domain` values) host: "" websocketsIngress: From f0af51617c43fa9ddddc598616e08cef8abe1f92 Mon Sep 17 00:00:00 2001 From: argocd-image-updater Date: Tue, 14 Nov 2023 15:17:40 +0000 Subject: [PATCH 4/5] build: automatic update of norauto-testkube-cloud-api updates image kubeshop/testkube-cloud-api tag '1.6.3-rc-cc26fc4' to '1.6.5-rc-0156232' --- .../.argocd-source-norauto-testkube-cloud-api.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/testkube-cloud-api/.argocd-source-norauto-testkube-cloud-api.yaml b/charts/testkube-cloud-api/.argocd-source-norauto-testkube-cloud-api.yaml index 46fd49a10..4e4cf82a2 100644 --- a/charts/testkube-cloud-api/.argocd-source-norauto-testkube-cloud-api.yaml +++ b/charts/testkube-cloud-api/.argocd-source-norauto-testkube-cloud-api.yaml @@ -4,5 +4,5 @@ helm: value: kubeshop/testkube-cloud-api forcestring: true - name: image.tag - value: 1.6.3-rc-cc26fc4 + value: 1.6.5-rc-0156232 forcestring: true From 60b15427ea9abd0217574190111cf0cec39a05d0 Mon Sep 17 00:00:00 2001 From: Dejan Pejchev Date: Wed, 15 Nov 2023 01:56:34 +0100 Subject: [PATCH 5/5] update enterprise docs --- .../templates/ingress-statuspages.yaml | 12 +++--- charts/testkube-cloud-api/values.yaml | 1 + charts/testkube-enterprise/docs/README.md | 10 ++++- charts/testkube-enterprise/values.yaml | 38 +++++++++++++++++-- 4 files changed, 51 insertions(+), 10 deletions(-) diff --git a/charts/testkube-cloud-api/templates/ingress-statuspages.yaml b/charts/testkube-cloud-api/templates/ingress-statuspages.yaml index 958c0e153..c68c24564 100644 --- a/charts/testkube-cloud-api/templates/ingress-statuspages.yaml +++ b/charts/testkube-cloud-api/templates/ingress-statuspages.yaml @@ -1,8 +1,8 @@ {{- if and .Values.global.ingress .Values.statusPagesIngress.enabled -}} {{- $fullName := include "testkube-cloud-api.fullname" . -}} {{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} - {{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }} - {{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}} + {{- if not (hasKey .Values.restIngress.annotations "kubernetes.io/ingress.class") }} + {{- $_ := set .Values.statusPagesIngress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}} {{- end }} {{- end }} {{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} @@ -17,11 +17,11 @@ metadata: name: {{ $fullName }}-status-pages labels: {{- include "testkube-cloud-api.labels" . | nindent 4 }} - {{- if .Values.statusPagesIngress.labels }} - {{- toYaml .Values.ingress.labels | nindent 4 }} - {{- end }} + {{- with .Values.statusPagesIngress.labels }} + {{- toYaml . | nindent 4 }} + {{- end }} annotations: - nginx.ingress.kubernetes.io/backend-protocol: "HTTP" + nginx.ingress.kubernetes.io/backend-protocol: {{ if .Values.api.tls.serveHTTPS }}HTTPS{{ else }}HTTP{{ end }} nginx.ingress.kubernetes.io/configuration-snippet: | add_header X-Frame-Options "sameorigin"; add_header X-XSS-Protection "1; mode=block"; diff --git a/charts/testkube-cloud-api/values.yaml b/charts/testkube-cloud-api/values.yaml index 01912e90c..ce9fe3b49 100644 --- a/charts/testkube-cloud-api/values.yaml +++ b/charts/testkube-cloud-api/values.yaml @@ -273,6 +273,7 @@ statusPagesIngress: minio: # -- Toggle whether to deploy MinIO enabled: false + # -- MinIO full name override fullnameOverride: "" # -- MinIO name override diff --git a/charts/testkube-enterprise/docs/README.md b/charts/testkube-enterprise/docs/README.md index 254302a98..c89f9151e 100644 --- a/charts/testkube-enterprise/docs/README.md +++ b/charts/testkube-enterprise/docs/README.md @@ -100,7 +100,15 @@ global: ``` To provide the **License Key** as a Kubernetes secret, first we need to create a secret with the required field. -Run the following command to create the secret: +Run the following command to create the secret either from a file or from a literal: + +From file: +```bash +kubectl create secret generic testkube-enterprise-license \ + --from-file=LICENSE_KEY= \ + --namespace=testkube-enterprise +``` +From literal: ```bash kubectl create secret generic testkube-enterprise-license \ --from-literal=LICENSE_KEY= \ diff --git a/charts/testkube-enterprise/values.yaml b/charts/testkube-enterprise/values.yaml index 662047d0e..f24edad28 100644 --- a/charts/testkube-enterprise/values.yaml +++ b/charts/testkube-enterprise/values.yaml @@ -129,6 +129,13 @@ testkube-cloud-api: minio: # -- Toggle whether to install MinIO enabled: true + image: + # -- MinIO image repository + repository: minio/minio + # -- MinIO image tag + tag: RELEASE.2023-11-06T22-26-08Z + # -- MinIO image pull policy + pullPolicy: IfNotPresent # -- MinIO fullname override fullnameOverride: testkube-enterprise-minio ingress: @@ -209,7 +216,11 @@ nats: replicas: 3 # NATS container settings nats: + # -- Toggle whether to install NATS enabled: true + # Uncomment if you want to provide a different image or pullPolicy + # image: nats:2.7.4-alpine + # pullPolicy: IfNotPresent # ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container # -- Security Context for NATS container securityContext: {} @@ -220,11 +231,19 @@ nats: maxPayload: 8MB # Reloader container settings reloader: + # -- Toggle whether to install Reloader + enabled: true + # Uncomment if you want to provide a different image or pullPolicy + # image: natsio/nats-server-config-reloader:0.6.3 + # pullPolicy: IfNotPresent # ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container # -- Security Context for Reloader container securityContext: {} # NATS Box container settings natsbox: + # Uncomment if you want to provide a different image or pullPolicy + # image: natsio/nats-box:0.8.1 + # pullPolicy: IfNotPresent # ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container # -- Security Context for NATS Box container securityContext: {} @@ -232,6 +251,11 @@ nats: tolerations: [] # Exporter container settings exporter: + # -- Toggle whether to install NATS exporter + enabled: true + # Uncomment if you want to provide a different image or pullPolicy + # image: natsio/prometheus-nats-exporter:0.9.1 + # pullPolicy: IfNotPresent # ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container # -- Security Context for Exporter container securityContext: {} @@ -242,6 +266,12 @@ nats: mongodb: # -- Toggle whether to install MongoDB enabled: true + # Uncomment if you want to provide different image settings + # image: + # registry: docker.io + # repository: bitnami/mongodb + # tag: 6.0.5-debian-11-r13 + # digest: "" # -- MongoDB fullname override fullnameOverride: "testkube-enterprise-mongodb" # MongoDB Auth settings @@ -272,9 +302,11 @@ dex: # -- Toggle whether to install Dex enabled: true fullnameOverride: testkube-enterprise-dex - image: - # -- Dex image tag (https://ghcr.io/dexidp/dex) - tag: v2.36.0-alpine + # Uncomment if you want to provide different image settings + # image: + # repository: ghcr.io/dexidp/dex + # tag: v2.36.0-alpine + # pullPolicy: IfNotPresent configSecret: # -- This should be set to `false` so Dex does not create the config secret. Refer to the `createCustom` field for more info on creating config secret. create: false