Skip to content

Commit

Permalink
feat: docker image version
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Oct 9, 2024
1 parent f703b7c commit 6e84317
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion charts/testkube-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ A Helm chart for Testkube api
| cloud.url | string | `"agent.testkube.io:443"` | |
| clusterName | string | `""` | |
| configValues | string | `""` | |
| containerEnv | string | `""` | |
| containerResources | object | `{}` | |
| dashboardUri | string | `""` | |
| defaultStorageClassName | string | `""` | Whether to generate RBAC for test job or use manually provided generateTestJobRBAC: true # default storage class name for PVC volumes |
| disableMongoMigrations | bool | `false` | |
| disableSecretCreation | bool | `false` | |
| dnsPolicy | string | `""` | |
| dockerImageVersion | string | `""` | |
| enableK8sEvents | bool | `true` | |
| enableSecretsEndpoint | bool | `false` | |
| enabledExecutors | string | `nil` | |
Expand Down
6 changes: 3 additions & 3 deletions charts/testkube-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ spec:
value: "{{ .Values.global.features.whitelistedContainers }}"
- name: TESTKUBE_IMAGE_CREDENTIALS_CACHE_TTL
value: "{{ .Values.imageInspectionCache.ttl }}"
{{- if .Values.containerEnv }}
- name: TESTKUBE_CONTAINER_ENV
value: "{{ .Values.containerEnv }}"
{{- if .Values.dockerImageVersion }}
- name: TESTKUBE_DOCKER_IMAGE_VERSION
value: "{{ .Values.dockerImageVersion }}"
{{- end }}
image: {{ include "testkube-api.image" . }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
Expand Down
4 changes: 2 additions & 2 deletions charts/testkube-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ storageRequest: "1Gi"
## enable k8s events for testkube events
enableK8sEvents: true

## container environment used to run Testkube Agent, by default it's "kubernetes"
containerEnv: ""
## docker image version of Testkube Agent
dockerImageVersion: ""

# Testkube log server parameters
testkubeLogs:
Expand Down
2 changes: 1 addition & 1 deletion charts/testkube/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,11 @@ kubectl label --overwrite crds scripts.tests.testkube.io app.kubernetes.io/manag
| testkube-api.cloud.url | string | `"agent.testkube.io:443"` | Testkube Cloud API URL |
| testkube-api.clusterName | string | `""` | cluster name to be used in events |
| testkube-api.containerResources | object | `{}` | |
| testkube-api.containerEnv | string | "" | container environment used to run Testkube Agent, by default it's "kubernetes" |
| testkube-api.dashboardUri | string | `""` | dashboard uri to be used in notification events |
| testkube-api.defaultStorageClassName | string | `""` | default storage class name for PVC volumes |
| testkube-api.disableSecretCreation | bool | `false` | disable secret creation for tests and test sources |
| testkube-api.dnsPolicy | string | `""` | Specify dnsPolicy for Testkube API Deployment |
| testkube-api.dockerImageVersion | string | "" | dockerImageVersion of Testkube Agent |
| testkube-api.enableK8sEvents | bool | `true` | enable k8s events for testkube events |
| testkube-api.enableSecretsEndpoint | bool | `false` | enable endpoint to list testkube namespace secrets |
| testkube-api.enabledExecutors | string | `nil` | enable only specified executors with enabled flag |
Expand Down
2 changes: 1 addition & 1 deletion charts/testkube/values-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ testkube-api:
disableSecretCreation: false
defaultStorageClassName: ""
enableK8sEvents: true
containerEnv: ""
dockerImageVersion: ""

testkubeLogs:
grpcAddress: "testkube-logs:9090"
Expand Down
2 changes: 1 addition & 1 deletion charts/testkube/values-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ testkube-api:
disableSecretCreation: false
defaultStorageClassName: ""
enableK8sEvents: true
containerEnv: ""
dockerImageVersion: ""

testkubeLogs:
grpcAddress: "testkube-logs:9090"
Expand Down
2 changes: 1 addition & 1 deletion charts/testkube/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ testkube-api:
disableSecretCreation: false
defaultStorageClassName: ""
enableK8sEvents: true
containerEnv: ""
dockerImageVersion: ""

priorityClassName: "highest-priority"

Expand Down
4 changes: 2 additions & 2 deletions charts/testkube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -883,8 +883,8 @@ testkube-api:
# -- enable k8s events for testkube events
enableK8sEvents: true

# -- container environment used to run Testkube Agent, by default it's "kubernetes"
containerEnv: ""
# -- docker image versionof Testkube Agent
dockerImageVersion: ""

# Testkube log server parameters
testkubeLogs:
Expand Down

0 comments on commit 6e84317

Please sign in to comment.