Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vorgang-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
vorgang-manager
Commits
a76c4336
Commit
a76c4336
authored
2 months ago
by
Lukas Malte Monnerjahn
Browse files
Options
Downloads
Patches
Plain Diff
OZG-4880 wrap bools in quotes
parent
e5c7c28d
No related branches found
No related tags found
1 merge request
!24
OZG-4880 Helm Env Values für OSI-Postfach 2.0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/helm/templates/deployment.yaml
+3
-3
3 additions, 3 deletions
src/main/helm/templates/deployment.yaml
src/test/helm/deployment_osiv2_test.yaml
+5
-5
5 additions, 5 deletions
src/test/helm/deployment_osiv2_test.yaml
with
8 additions
and
8 deletions
src/main/helm/templates/deployment.yaml
+
3
−
3
View file @
a76c4336
...
...
@@ -98,7 +98,7 @@ spec:
{{
- end
}}
{{
- end
}}
-
name
:
ozgcloud_osiv2_enabled
value
:
{{
(.Values.ozgcloud.osiv2).enabled
}}
value
:
"
{{
(.Values.ozgcloud.osiv2).enabled
}}
"
{{
- if (.Values.ozgcloud.osiv2).enabled
}}
-
name
:
ozgcloud_osiv2_auth_client-id
valueFrom
:
...
...
@@ -122,9 +122,9 @@ spec:
value
:
{{
.Values.ozgcloud.osiv2.api.tenant
}}
-
name
:
ozgcloud_osiv2_api_name-identifier
value
:
{{
.Values.ozgcloud.osiv2.api.nameidentifier
}}
-
name
:
ozgcloud_osiv2_http-proxy_enabled
value
:
{{
(.Values.ozgcloud.osiv2.httpproxy).enabled
}}
{{
- if (.Values.ozgcloud.osiv2.httpproxy).enabled
}}
-
name
:
ozgcloud_osiv2_http-proxy_enabled
value
:
"
{{
(.Values.ozgcloud.osiv2.httpproxy).enabled
}}"
-
name
:
ozgcloud_osiv2_http-proxy_host
value
:
{{
.Values.ozgcloud.osiv2.httpproxy.host
}}
-
name
:
ozgcloud_osiv2_http-proxy_port
...
...
This diff is collapsed.
Click to expand it.
src/test/helm/deployment_osiv2_test.yaml
+
5
−
5
View file @
a76c4336
...
...
@@ -46,7 +46,7 @@ set:
tenant
:
"
tenant"
nameidentifier
:
"
name-identifier"
httpproxy
:
enabled
:
"
false
"
enabled
:
false
tests
:
-
it
:
should set osiv2 values
set
:
...
...
@@ -58,7 +58,7 @@ tests:
path
:
spec.template.spec.containers[0].env
content
:
name
:
ozgcloud_osiv2_enabled
value
:
true
value
:
"
true
"
-
contains
:
path
:
spec.template.spec.containers[0].env
content
:
...
...
@@ -111,7 +111,7 @@ tests:
osiv2
:
enabled
:
true
httpproxy
:
enabled
:
"
true
"
enabled
:
true
host
:
"
http://proxy.host"
port
:
"
8080"
asserts
:
...
...
@@ -119,7 +119,7 @@ tests:
path
:
spec.template.spec.containers[0].env
content
:
name
:
ozgcloud_osiv2_http-proxy_enabled
value
:
true
value
:
"
true
"
-
contains
:
path
:
spec.template.spec.containers[0].env
content
:
...
...
@@ -136,7 +136,7 @@ tests:
path
:
spec.template.spec.containers[0].env
content
:
name
:
ozgcloud_osiv2_enabled
value
:
false
value
:
"
false
"
-
notContains
:
path
:
spec.template.spec.containers[0].env
content
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment