Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alfa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
alfa
Commits
a8de3231
Commit
a8de3231
authored
4 months ago
by
Felix Reichenbach
Browse files
Options
Downloads
Patches
Plain Diff
OZG-7161 configure impressum url via helm
parent
c7e29984
No related branches found
No related tags found
1 merge request
!10
Ozg 7161 impressum link
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/helm/templates/deployment.yaml
+4
-0
4 additions, 0 deletions
src/main/helm/templates/deployment.yaml
src/test/helm/deployment_impressum_env_test.yaml
+59
-0
59 additions, 0 deletions
src/test/helm/deployment_impressum_env_test.yaml
with
63 additions
and
0 deletions
src/main/helm/templates/deployment.yaml
+
4
−
0
View file @
a8de3231
...
@@ -125,6 +125,10 @@ spec:
...
@@ -125,6 +125,10 @@ spec:
{{
- end
}}
{{
- end
}}
-
name
:
ozgcloud_barrierefreiheitUrl
-
name
:
ozgcloud_barrierefreiheitUrl
value
:
{{
required "ozgcloud.barrierefreiheitUrl muss angegeben sein" (.Values.ozgcloud).barrierefreiheitUrl
}}
value
:
{{
required "ozgcloud.barrierefreiheitUrl muss angegeben sein" (.Values.ozgcloud).barrierefreiheitUrl
}}
{{
- if (.Values.ozgcloud).impressumUrl
}}
-
name
:
ozgcloud_impressumUrl
value
:
{{
(.Values.ozgcloud).impressumUrl
}}
{{
- end
}}
image
:
"
{{
.Values.image.repo
}}/{{
.Values.image.name
}}:{{
coalesce
(.Values.image).tag
"latest" }}"
image
:
"
{{
.Values.image.repo
}}/{{
.Values.image.name
}}:{{
coalesce
(.Values.image).tag
"latest" }}"
imagePullPolicy
:
Always
imagePullPolicy
:
Always
name
:
alfa
name
:
alfa
...
...
This diff is collapsed.
Click to expand it.
src/test/helm/deployment_impressum_env_test.yaml
0 → 100644
+
59
−
0
View file @
a8de3231
#
# Copyright (C) 2025 Das Land Schleswig-Holstein vertreten durch den
# Ministerpräsidenten des Landes Schleswig-Holstein
# Staatskanzlei
# Abteilung Digitalisierung und zentrales IT-Management der Landesregierung
#
# Lizenziert unter der EUPL, Version 1.2 oder - sobald
# diese von der Europäischen Kommission genehmigt wurden -
# Folgeversionen der EUPL ("Lizenz");
# Sie dürfen dieses Werk ausschließlich gemäß
# dieser Lizenz nutzen.
# Eine Kopie der Lizenz finden Sie hier:
#
# https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
#
# Sofern nicht durch anwendbare Rechtsvorschriften
# gefordert oder in schriftlicher Form vereinbart, wird
# die unter der Lizenz verbreitete Software "so wie sie
# ist", OHNE JEGLICHE GEWÄHRLEISTUNG ODER BEDINGUNGEN -
# ausdrücklich oder stillschweigend - verbreitet.
# Die sprachspezifischen Genehmigungen und Beschränkungen
# unter der Lizenz sind dem Lizenztext zu entnehmen.
#
suite
:
deployment impressum env
release
:
name
:
alfa
namespace
:
sh-helm-test
templates
:
-
templates/deployment.yaml
set
:
baseUrl
:
test.company.local
ozgcloud
:
environment
:
test
bundesland
:
sh
bezeichner
:
helm
barrierefreiheitUrl
:
http://barrierefreiheit.test.url
sso
:
serverUrl
:
https://sso.company.local
imagePullSecret
:
image-pull-secret
tests
:
-
it
:
should set impressumUrl
set
:
ozgcloud
:
impressumUrl
:
http://impressum.test.url
asserts
:
-
contains
:
path
:
spec.template.spec.containers[0].env
content
:
name
:
ozgcloud_impressumUrl
value
:
http://impressum.test.url
-
it
:
should not set impressumUrl
asserts
:
-
notContains
:
path
:
spec.template.spec.containers[0].env
content
:
name
:
ozgcloud_impressumUrl
any
:
true
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