Skip to content
Snippets Groups Projects
Commit 2c599273 authored by OZGCloud's avatar OZGCloud
Browse files

Merge pull request 'clean up unnecessary env in helm' (#98) from cleanup into master

parents 50735865 97eecc6a
No related branches found
No related tags found
No related merge requests found
......@@ -125,8 +125,6 @@ spec:
value: {{((.Values.antragraum).servlet).maxFileSize }}
- name: SPRING_SERVLET_MULTIPART_MAX-REQUEST-SIZE
value: {{((.Values.antragraum).servlet).maxRequestSize }}
- name: SERVER_TOMCAT_MAX-SWALLOW-SIZE
value: {{((.Values.antragraum).tomcat).maxSwallowSize }}
- name: OZGCLOUD_JWT_SECRET
valueFrom:
......
......@@ -36,5 +36,3 @@ antragraum:
servlet:
maxRequestSize: 50MB
maxFileSize: 30MB
tomcat:
maxSwallowSize: -1
......@@ -206,19 +206,12 @@ tests:
content:
name: SPRING_SERVLET_MULTIPART_MAX-REQUEST-SIZE
value: 50MB
- contains:
path: spec.template.spec.containers[0].env
content:
name: SERVER_TOMCAT_MAX-SWALLOW-SIZE
value: -1
- it: should set spring servlet envs
set:
antragraum:
servlet:
maxRequestSize: 40MB
maxFileSize: 35MB
tomcat:
maxSwallowSize: 50MB
asserts:
- contains:
path: spec.template.spec.containers[0].env
......@@ -230,8 +223,3 @@ tests:
content:
name: SPRING_SERVLET_MULTIPART_MAX-REQUEST-SIZE
value: 40MB
\ No newline at end of file
- contains:
path: spec.template.spec.containers[0].env
content:
name: SERVER_TOMCAT_MAX-SWALLOW-SIZE
value: 50MB
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment