diff --git a/library/common-test/ci/configmap-values.yaml b/library/common-test/ci/configmap-values.yaml new file mode 100644 index 0000000000..17983eeb20 --- /dev/null +++ b/library/common-test/ci/configmap-values.yaml @@ -0,0 +1,57 @@ + + +image: + repository: traefik/whoami + pullPolicy: IfNotPresent + tag: latest + +service: + main: + ports: + main: + protocol: HTTP + port: 8080 + +args: + - --port + - "8080" + +probes: + liveness: + enabled: true + readiness: + enabled: true + startup: + enabled: true + +k1: value1 +k2: 80 +k3: pair +k4: value2 +k5: 81 +k6: false +configmap: + envparsetest: + enabled: true + parseAsEnv: true + content: + key1: 123 + key2: value2 + kvtest: + enabled: true + content: + key: "{{ .Values.k6 }}" + + filetest: + enabled: true + content: + nginx.conf2: | + alias {{ .Values.k4 }} + listen {{ .Values.k5 }} + function { + # some json + "key": { + "key2": "value", + "key3": "value2" + } + } diff --git a/library/common-test/ci/jobs-cron-values.yaml b/library/common-test/ci/jobs-cron-values.yaml new file mode 100644 index 0000000000..8452a5b4eb --- /dev/null +++ b/library/common-test/ci/jobs-cron-values.yaml @@ -0,0 +1,40 @@ +image: + repository: traefik/whoami + pullPolicy: IfNotPresent + tag: latest + +service: + main: + ports: + main: + protocol: HTTP + port: 8080 + +args: + - --port + - "8080" + +probes: + liveness: + enabled: true + readiness: + enabled: true + startup: + enabled: true + +jobs: + testjob: + enabled: true + podSpec: + containers: + main: + imageSelector: image + testchronjob: + enabled: true + cron: + enabled: true + schedule: "* * * * *" + podSpec: + containers: + main: + imageSelector: image diff --git a/library/common-test/ci/secrets-values.yaml b/library/common-test/ci/secrets-values.yaml new file mode 100644 index 0000000000..6874f37f53 --- /dev/null +++ b/library/common-test/ci/secrets-values.yaml @@ -0,0 +1,57 @@ + + +image: + repository: traefik/whoami + pullPolicy: IfNotPresent + tag: latest + +service: + main: + ports: + main: + protocol: HTTP + port: 8080 + +args: + - --port + - "8080" + +probes: + liveness: + enabled: true + readiness: + enabled: true + startup: + enabled: true + +k1: value1 +k2: 80 +k3: pair +k4: value2 +k5: 81 +k6: false +secret: + envparsetest: + enabled: true + parseAsEnv: true + content: + key1: 123 + key2: value2 + kvtest: + enabled: true + content: + key: "{{ .Values.k6 }}" + + filetest: + enabled: true + content: + nginx.conf2: | + alias {{ .Values.k4 }} + listen {{ .Values.k5 }} + function { + # some json + "key": { + "key2": "value", + "key3": "value2" + } + }