mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Toggle for testframework (#18783)
Signed-off-by: Kyle Gochenour <kyle.gochenour@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
e79847d221
commit
6f69a9d707
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: traefik
|
||||
version: 1.81.0
|
||||
version: 1.82.0
|
||||
appVersion: 1.7.19
|
||||
description: A Traefik based Kubernetes ingress controller with Let's Encrypt support
|
||||
keywords:
|
||||
|
||||
@@ -247,6 +247,7 @@ The following table lists the configurable parameters of the Traefik chart and t
|
||||
| `autoscaling` | HorizontalPodAutoscaler for the traefik Deployment | `{}` |
|
||||
| `configFiles` | Config files to make available in the deployment. key=filename, value=file contents | `{}` |
|
||||
| `secretFiles` | Secret files to make available in the deployment. key=filename, value=file contents | `{}` |
|
||||
| `testFramework.enabled` | Enables test-framework | `true` |
|
||||
| `testFramework.image` | `test-framework` image repository. | `dduportal/bats` |
|
||||
| `testFramework.tag` | `test-framework` image tag. | `0.4.0` |
|
||||
| `forwardAuth.entryPoints` | Enable forward authentication for these entryPoints: "http", "https", "httpn" | |
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{- if .Values.testFramework.enabled }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
@@ -12,4 +13,4 @@ data:
|
||||
@test "Test Access" {
|
||||
curl -D - http://{{ template "traefik.fullname" . }}/
|
||||
}
|
||||
|
||||
{{- end }}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{- if .Values.testFramework.enabled }}
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
@@ -40,3 +41,4 @@ spec:
|
||||
- name: tools
|
||||
emptyDir: {}
|
||||
restartPolicy: Never
|
||||
{{- end }}
|
||||
|
||||
@@ -10,6 +10,7 @@ imageTag: 1.7.19
|
||||
|
||||
|
||||
testFramework:
|
||||
enabled: true
|
||||
image: "dduportal/bats"
|
||||
tag: "0.4.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user