diff --git a/charts/testkube-api/templates/deployment.yaml b/charts/testkube-api/templates/deployment.yaml index a6d5c761c..e3f605061 100644 --- a/charts/testkube-api/templates/deployment.yaml +++ b/charts/testkube-api/templates/deployment.yaml @@ -286,11 +286,19 @@ spec: {{- if .Values.cloud.url }} - name: TESTKUBE_CLOUD_URL value: "{{ .Values.cloud.url }}" - {{- end}} + {{- end }} {{- if .Values.cloud.uiUrl}} - name: TESTKUBE_CLOUD_UI_URL - value: "{{ .Values.cloud.uiUrl }}" + value: "{{ .Values.cloud.uiUrl }}" {{- end}} + {{- if not .Values.cloud.tls.enabled }} + - name: TESTKUBE_PRO_TLS_INSECURE + value: "true" + {{- end }} + {{- if .Values.cloud.tls.skipVerify }} + - name: TESTKUBE_PRO_SKIP_VERIFY + value: "true" + {{- end }} {{- if .Values.cloud.orgId }} - name: TESTKUBE_CLOUD_ORG_ID value: "{{ .Values.cloud.orgId }}" diff --git a/charts/testkube-api/values.yaml b/charts/testkube-api/values.yaml index 3d341a61f..bcb920ea2 100644 --- a/charts/testkube-api/values.yaml +++ b/charts/testkube-api/values.yaml @@ -55,7 +55,7 @@ image: nameOverride: "" fullnameOverride: "" -## Custom job-template.yml that will passed to Testkube API +## Custom job-template.yml that will be passed to Testkube API configValues: "" ## Testkube API Deployment parameters @@ -73,6 +73,11 @@ cloud: envId: "" ## true if migration from OSS migrate: "" + tls: + ## Toggle should the connection to Agent API in Cloud/Enterprise use secure GRPC (GRPCS) (if false, it will use insecure GRPC) + enabled: true + ## Toggle should the client skip verifying the Agent API server cert in Cloud/Enterprise + skipVerify: false ## Retrieve cloud information from existing secret existingSecret: ## Name of the secret. If set, this will be used instead of the above values diff --git a/charts/testkube/values.yaml b/charts/testkube/values.yaml index d4769bf13..ef73c80d7 100644 --- a/charts/testkube/values.yaml +++ b/charts/testkube/values.yaml @@ -291,6 +291,11 @@ testkube-api: uiUrl: "" # -- Testkube Clouc License Key (for Environment) key: "" + tls: + # -- Toggle should the connection to Agent API in Cloud/Enterprise use secure GRPC (GRPCS) (if false, it will use insecure GRPC) + enabled: true + # -- Toggle should the client skip verifying the Agent API server cert in Cloud/Enterprise + skipVerify: false # ref: https://cloud.google.com/kubernetes-engine/docs/how-to/prepare-arm-workloads-for-deployment#node-affinity-multi-arch-arm # -- Tolerations to schedule a workload to nodes with any architecture type. Required for deployment to GKE cluster.