Skip to content

Commit

Permalink
testkube: rebase with latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dejanzele committed Jan 12, 2024
1 parent fbd1918 commit 668a699
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
12 changes: 10 additions & 2 deletions charts/testkube-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
7 changes: 6 additions & 1 deletion charts/testkube-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
5 changes: 5 additions & 0 deletions charts/testkube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 668a699

Please sign in to comment.