Skip to content
Snippets Groups Projects
Commit 9d66b678 authored by OZGCloud's avatar OZGCloud
Browse files

helm fix cors unit test for helm3

parent 54eac6c0
No related branches found
No related tags found
No related merge requests found
...@@ -155,7 +155,7 @@ pipeline { ...@@ -155,7 +155,7 @@ pipeline {
dir('src/main/helm') { dir('src/main/helm') {
sh "helm lint -f ../../test/unit-values.yaml" sh "helm lint -f ../../test/unit-values.yaml"
sh "helm unittest -f '../../test/helm/*.yaml' -v '../../test/unit-values.yaml' ." sh "helm unittest --helm3 -f '../../test/helm/*.yaml' -v '../../test/unit-values.yaml' ."
sh "helm package --version=${HELM_CHART_VERSION} ." sh "helm package --version=${HELM_CHART_VERSION} ."
......
#!/bin/sh
set -e
helm template ./src/main/helm/ -f src/test/unit-values.yaml
helm lint -f src/test/unit-values.yaml ./src/main/helm/
cd src/main/helm && helm unittest --helm3 -f '../../test/helm/*.yaml' -v '../../test/unit-values.yaml' .
\ No newline at end of file
...@@ -39,5 +39,4 @@ tests: ...@@ -39,5 +39,4 @@ tests:
more_set_headers "Access-Control-Allow-Methods: GET,PATCH,OPTIONS"; more_set_headers "Access-Control-Allow-Methods: GET,PATCH,OPTIONS";
more_set_headers "Access-Control-Allow-Headers: DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization,X-XSRF-TOKEN"; more_set_headers "Access-Control-Allow-Headers: DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range,Authorization,X-XSRF-TOKEN";
more_set_headers "Access-Control-Expose-Headers: Content-Length,Content-Range"; more_set_headers "Access-Control-Expose-Headers: Content-Length,Content-Range";
more_set_headers "Access-Control-Allow-Origin: https://helm.test.sh.ozg-cloud.de"; more_set_headers "Access-Control-Allow-Origin: https://helm.test.sh.ozg-cloud.de";
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment