Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Following are the properties that are should be defined at application level in the default application.yml file from the application repository:

...

When CPS applications are deployed in a Kubernetes environment, they are configured to run with a specific helm Spring profile specified by `SPRING_PROFILES_ACTIVE` environment ACTIVE environment variable. For example, see CPS Core:

...

Then, OOM chart application-helm.yml is mounted in the application container to provide`helm` provide helm  profile configuration values. For example see CPS Core:

...

OOM chart application-helm.yml contains following properties should contain following properties:

  • All properties already defined in application application.yaml file but need to be changed (overridden) to provide another default value for Kubernetes deployment and runtime.
  • Any Spring Boot defined property that is not specified in application aplication.yml file but need to be specified (set) for Kubernetes deployment and runtime.

Any value property set in application application.yaml file and not re-defined in Helm profile is still loaded and kept unchanged. There is no need to duplicate the properties in Helm profile.

Detailed configuration:

...

For example see CPS Core:

...