Open Closed

Abp angular application name on kubernetes does not get values from config map, but from bundled environment.prod.ts #10314


User avatar
0
icoretchi created

Check the docs before asking a question: https://abp.io/docs/latest Check the samples to see the basic tasks: https://abp.io/docs/latest/samples The exact solution to your question may have been answered before, and please first use the search on the homepage.

Provide us with the following info: 🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.

  • Template: microservice

  • Created ABP Studio Version: 0.9.26

  • Current ABP Studio Version: 2.1.6

  • Multi-Tenancy: Yes

  • UI Framework: angular

  • Theme: leptonx

  • Theme Style: system

  • Database Provider: ef

  • Database Management System: sqlserver

  • Mobile Framework: none

  • Public Website: No

  • Include Tests: Yes

  • Dynamic Localization: Yes

  • Kubernetes Configuration: Yes

  • Grafana Dashboard: Yes

  • Use Local References: No

  • Optional Modules:

    • GDPR
    • FileManagement
    • TextTemplateManagement
    • AuditLogging
    • Chat
    • OpenIddictAdmin
  • Exception message and full stack trace:

  • Steps to reproduce the issue:

Hi,

The intention is to provide the application name at runtime. For this purpose in angular's ConfigMap the application name in dynamic-env.json is provided as helm .Values.global.application.name:

According to abp documentation I've modified the environment.prod.ts to provide remoteEnv,

I confirm that the dynamic-env.jsonis properly fetched. But any way the application name coresponds to the value from environment.prod.ts. Any ideas?


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I will check and confirm this.

    Thanks,.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you check if there is an empty dynamic-env.json in your Angular app?

    Thanks.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on January 20, 2026, 07:04
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.