apiVersion: v1
kind: ConfigMap
metadata:
  name: springk8s-profile-cm
  namespace: springk8s
data:
  DEPLOYMENT_ENV: prod
  application-prod.yaml: |
    server:
      port: 8085
      shutdown: "graceful"
    spring:
      profiles:
        active: prod
      lifecycle:
        timeout-per-shutdown-phase: "20s"
    management:
      endpoints:
        web:
          exposure:
            include: "*"
      endpoint:
        health:
          show-details: always
          probes:
            enabled: true
      metrics:
        tags:
          application: ${info.app.name}
    info:
      app:
        name: SpringK8s-prod
        description: Spring Boot actuator for k8s cloud stack demo
        version: 1.0.0
        encoding: UTF-8
        java.version: 1.8