apiVersion: v1
data:
  application.yaml: |-
    spring:
      cloud:
        skipper:
          server:
            platform:
              kubernetes:
                accounts:
                  default:
                    environmentVariables:
                      - SPRING_RABBITMQ_HOST=RELEASE-NAME-rabbitmq
                      - SPRING_RABBITMQ_PORT=5672
                      - SPRING_RABBITMQ_USERNAME=user
                      - SPRING_RABBITMQ_PASSWORD=${rabbitmq-password}
                      - SPRING_RABBITMQ_VIRTUAL_HOST=/
                    limits:
                      cpu: 500m
                      memory: 1024Mi
                    readinessProbeDelay: 120
                    livenessProbeDelay: 90
                    podSecurityContext:
                      runAsUser: 1001
      jpa:
        properties:
          hibernate:
            dialect: org.hibernate.dialect.MariaDB102Dialect
      datasource:
        url: 'jdbc:mariadb://RELEASE-NAME-mariadb:3306/skipper?useMysqlMetadata=true'
        driverClassName: org.mariadb.jdbc.Driver
        username: skipper
        password: ${mariadb-password}
        testOnBorrow: true
        validationQuery: "SELECT 1"
      flyway:
        enabled: true
kind: ConfigMap
metadata:
  labels:
    app.kubernetes.io/component: skipper
    app.kubernetes.io/instance: RELEASE-NAME
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: spring-cloud-dataflow
    helm.sh/chart: spring-cloud-dataflow-5.0.5
  name: RELEASE-NAME-spring-cloud-dataflow-skipper
  namespace: default
