Skip to content

Commit

Permalink
Merge pull request #32 from catenax-ng/main
Browse files Browse the repository at this point in the history
Rebase
  • Loading branch information
adkumar1 authored Apr 26, 2024
2 parents ffe0513 + d5803ce commit 9d1e542
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 162 deletions.
59 changes: 0 additions & 59 deletions .github/workflows/veracode.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions charts/sdfactory/values-beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,6 @@ ingress:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/configuration-snippet: |-
if ($http_origin ~* "http.?:\/\/(.*\.)?(localhost:3000|catena-x\.net|example\.com|idses-fe\.demo\.catena-x\.net).*$") {
set $allow_origin $http_origin;
}
add_header "Access-Control-Allow-Origin" "$http_origin" always;
add_header "Access-Control-Allow-Methods" "GET, PUT, POST, OPTIONS, DELETE" always;
add_header "Access-Control-Allow-Headers" "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization" always;
add_header "Access-Control-Expose-Headers" "Content-Range";
if ($request_method = 'OPTIONS') {
add_header "Access-Control-Allow-Origin" "$http_origin" always;
add_header "Access-Control-Allow-Methods" "GET, PUT, POST, OPTIONS, DELETE" always;
add_header "Access-Control-Allow-Headers" "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization" always;
add_header "Access-Control-Max-Age" "1728000" always;
add_header "Content-Type" "text/plain charset=UTF-8";
add_header "Content-Length" 0;
return 204;
}
hosts:
- host: "sdfactory.beta.demo.catena-x.net"
paths:
Expand Down
22 changes: 1 addition & 21 deletions charts/sdfactory/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,7 @@ ingress:
domain: ""
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/configuration-snippet: |-
if ($http_origin ~* "http.?:\/\/(.*\.)?(localhost:3000|catena-x\.net|example\.com|idses-fe\.demo\.catena-x\.net).*$") {
set $allow_origin $http_origin;
}
add_header "Access-Control-Allow-Origin" "$http_origin" always;
add_header "Access-Control-Allow-Methods" "GET, PUT, POST, OPTIONS, DELETE" always;
add_header "Access-Control-Allow-Headers" "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization" always;
add_header "Access-Control-Expose-Headers" "Content-Range";
if ($request_method = 'OPTIONS') {
add_header "Access-Control-Allow-Origin" "$http_origin" always;
add_header "Access-Control-Allow-Methods" "GET, PUT, POST, OPTIONS, DELETE" always;
add_header "Access-Control-Allow-Headers" "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization" always;
add_header "Access-Control-Max-Age" "1728000" always;
add_header "Content-Type" "text/plain charset=UTF-8";
add_header "Content-Length" 0;
return 204;
}
kubernetes.io/ingress.class: nginx
hosts:
- host: "sdfactory.dev.demo.catena-x.net"
paths:
Expand Down
22 changes: 1 addition & 21 deletions charts/sdfactory/values-int.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,7 @@ ingress:
domain: ""
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/configuration-snippet: |-
if ($http_origin ~* "http.?:\/\/(.*\.)?(localhost:3000|catena-x\.net|example\.com|idses-fe\.demo\.catena-x\.net).*$") {
set $allow_origin $http_origin;
}
add_header "Access-Control-Allow-Origin" "$http_origin" always;
add_header "Access-Control-Allow-Methods" "GET, PUT, POST, OPTIONS, DELETE" always;
add_header "Access-Control-Allow-Headers" "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization" always;
add_header "Access-Control-Expose-Headers" "Content-Range";
if ($request_method = 'OPTIONS') {
add_header "Access-Control-Allow-Origin" "$http_origin" always;
add_header "Access-Control-Allow-Methods" "GET, PUT, POST, OPTIONS, DELETE" always;
add_header "Access-Control-Allow-Headers" "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization" always;
add_header "Access-Control-Max-Age" "1728000" always;
add_header "Content-Type" "text/plain charset=UTF-8";
add_header "Content-Length" 0;
return 204;
}
kubernetes.io/ingress.class: nginx
hosts:
- host: "sdfactory.int.demo.catena-x.net"
paths:
Expand Down
20 changes: 0 additions & 20 deletions charts/sdfactory/values-pen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,26 +26,6 @@ ingress:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/configuration-snippet: |-
if ($http_origin ~* "http.?:\/\/(.*\.)?(localhost:3000|catena-x\.net|example\.com|idses-fe\.demo\.catena-x\.net).*$") {
set $allow_origin $http_origin;
}
add_header "Access-Control-Allow-Origin" "$http_origin" always;
add_header "Access-Control-Allow-Methods" "GET, PUT, POST, OPTIONS, DELETE" always;
add_header "Access-Control-Allow-Headers" "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization" always;
add_header "Access-Control-Expose-Headers" "Content-Range";
if ($request_method = 'OPTIONS') {
add_header "Access-Control-Allow-Origin" "$http_origin" always;
add_header "Access-Control-Allow-Methods" "GET, PUT, POST, OPTIONS, DELETE" always;
add_header "Access-Control-Allow-Headers" "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization" always;
add_header "Access-Control-Max-Age" "1728000" always;
add_header "Content-Type" "text/plain charset=UTF-8";
add_header "Content-Length" 0;
return 204;
}
hosts:
- host: "sdfactory-pen.int.demo.catena-x.net"
paths:
Expand Down
21 changes: 0 additions & 21 deletions charts/sdfactory/values-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,6 @@ ingress:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/configuration-snippet: |-
if ($http_origin ~* "http.?:\/\/(.*\.)?(localhost:3000|catena-x\.net|example\.com|idses-fe\.demo\.catena-x\.net).*$") {
set $allow_origin $http_origin;
}
add_header "Access-Control-Allow-Origin" "$http_origin" always;
add_header "Access-Control-Allow-Methods" "GET, PUT, POST, OPTIONS, DELETE" always;
add_header "Access-Control-Allow-Headers" "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization" always;
add_header "Access-Control-Expose-Headers" "Content-Range";
if ($request_method = 'OPTIONS') {
add_header "Access-Control-Allow-Origin" "$http_origin" always;
add_header "Access-Control-Allow-Methods" "GET, PUT, POST, OPTIONS, DELETE" always;
add_header "Access-Control-Allow-Headers" "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization" always;
add_header "Access-Control-Max-Age" "1728000" always;
add_header "Content-Type" "text/plain charset=UTF-8";
add_header "Content-Length" 0;
return 204;
}
hosts:
- host: "sdfactory-test.int.demo.catena-x.net"
paths:
Expand Down

0 comments on commit 9d1e542

Please sign in to comment.