apiVersion: v1
kind: ConfigMap
metadata:
  name: app-config
data:
  project-defaults.yml: |-
    swarm:
      datasources:
        data-sources:
          MyDS:
            driver-name: mysql
            connection-url: ${db.jdbc.url}?useSSL=false
            user-name: ${db.username}
            password: ${db.password}
            valid-connection-checker-class-name: org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLValidConnectionChecker
            validate-on-match: true
            background-validation: false
            exception-sorter-class-name: org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLExceptionSorter
