Skip to content

Commit

Permalink
Remove ASP.NET Core environment configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
flenny authored Mar 14, 2024
2 parents 9b1c30d + ae85c04 commit 25732c7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 19 deletions.
6 changes: 0 additions & 6 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@
# __/ |
# |___/

# ------------------------------------------------------------------------- #
# Environment configuration (e.g. Development|Staging|Production) #
# This affects log output for the .NET REST API (v2) web application #
# ------------------------------------------------------------------------- #
ENVIRONMENT=Development

# ------------------------------------------------------------------------- #
# The Docker image tag used in this environment for all containers #
# Examples: #
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ services:
image: ghcr.io/geoadmin/suite-bdms-api:${DOCKER_IMAGE_TAG}
restart: unless-stopped
environment:
- ASPNETCORE_ENVIRONMENT=${ENVIRONMENT}
- CONNECTIONSTRINGS__BdmsContext=${DB_CONNECTIONSTRING}
- TZ
- S3__ENDPOINT=${S3_ENDPOINT}
Expand Down
5 changes: 0 additions & 5 deletions kubernetes-manifests/deployments/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ spec:
name: boreholes
key: S3_SECURE
optional: true
- name: ASPNETCORE_ENVIRONMENT
valueFrom:
secretKeyRef:
name: boreholes
key: ENVIRONMENT
- name: CONNECTIONSTRINGS__BdmsContext
valueFrom:
secretKeyRef:
Expand Down
7 changes: 0 additions & 7 deletions kubernetes-manifests/secrets/boreholes.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ metadata:
namespace: boreholes
type: Opaque
stringData:
# ------------------------------------------------------------------------- #
# Environment configuration (e.g. Development|Staging|Production) #
# This affects log output for the .NET REST API (v2) web application #
# ------------------------------------------------------------------------- #
ENVIRONMENT: Production

# ------------------------------------------------------------------------- #
# The fully qualified base domain name used for all pods #
# ------------------------------------------------------------------------- #
Expand Down Expand Up @@ -59,4 +53,3 @@ stringData:
# The default timezone to use for all containers #
# ------------------------------------------------------------------------- #
TZ: Europe/Zurich

0 comments on commit 25732c7

Please sign in to comment.