Skip to content

Commit

Permalink
add missing env
Browse files Browse the repository at this point in the history
  • Loading branch information
SonOfLope committed Apr 4, 2024
1 parent 7e352f6 commit d8802f1
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions apps/applets/hello/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,26 @@ spec:
# https://github.com/ApplETS/Backend-Hello/blob/main/core/.env.template
vault.hashicorp.com/agent-inject-template-hello-env: |
{{- with secret "kv/applets-hello/default/hello-env" -}}
export ASPNETCORE_HTTPS_PORT="{{ .Data.data.aspnetcore_https_port }}"
export ASPNETCORE_HTTP_PORT="{{ .Data.data.aspnetcore_http_port }}"
export ASPNETCORE_ENVIRONMENT="{{ .Data.data.aspnetcore_environment }}"
export CONNECTION_STRING="{{ .Data.data.connection_string }}"
export SUPABASE_PROJECT_ID="{{ .Data.data.supabase_project_id }}"
export SUPABASE_SECRET_KEY="{{ .Data.data.supabase_secret_key }}"
export SUPABASE_ANON_KEY="{{ .Data.data.supabase_anon_key }}"
export EMAIL_SERVER="{{ .Data.data.email_server }}"
export EMAIL_PORT="{{ .Data.data.email_port }}"
export EMAIL_USERNAME="{{ .Data.data.email_username }}"
export EMAIL_PASSWORD="{{ .Data.data.email_password }}"
export EMAIL_FROM="{{ .Data.data.email_from }}"
export EMAIL_TO_IF_DEBUG="{{ .Data.data.email_to_if_debug }}"
export REDIS_CONNECTION_STRING="{{ .Data.data.redis_connection_string }}"
export ASPNETCORE_ENVIRONMENT="{{ .Data.data.aspnetcore_environment }}"
export FRONTEND_BASE_URL="{{ .Data.data.frontend_base_url }}"
export HOST_DIR="{{ .Data.data.host_dir }}"
export CONTAINER_DIR="{{ .Data.data.container_dir }}"
export CDN_URL="{{ .Data.data.cdn_url }}"
export FRONTEND_BASE_URL="{{ .Data.data.frontend_base_url }}"
export RATE_LIMIT_TIME_WINDOW_SECONDS="{{ .Data.data.rate_limit_time_window_seconds }}"
export RATE_LIMIT_MAX_REQUESTS="{{ .Data.data.rate_limit_max_requests }}"
{{- end }}
spec:
containers:
Expand Down

0 comments on commit d8802f1

Please sign in to comment.