Skip to content

Commit

Permalink
adding host env variable to saml app
Browse files Browse the repository at this point in the history
  • Loading branch information
Denan Musinovic committed Jan 24, 2025
1 parent a94764e commit 1033410
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/vulnerablesamlapp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type: application
# Versions are expected to follow Semantic Versioning (https://semver.org/)
keywords:
- saml
version: 1.0.0
version: 1.0.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 6 additions & 0 deletions charts/vulnerablesamlapp/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ spec:
containers:
- name: vulnerableidp
image: brightsec/vulnerablesamlapp:vulnerableidp
env:
- name: HOST
value: "idp-{{ .Values.ingress.url }}"
ports:
- name: port80
containerPort: 80
Expand All @@ -53,6 +56,9 @@ spec:
image: brightsec/vulnerablesamlapp:vulnerablesp
ports:
- containerPort: 8000
env:
- name: HOST
value: "{{ .Values.ingress.url }}"
resources:
requests:
cpu: 25m
Expand Down

0 comments on commit 1033410

Please sign in to comment.