kind: ConfigMap 
apiVersion: v1 
metadata:
  name: petclinic
  labels:
    name: petclinic
data:
  application: |-
    # database init, supports mysql too
    database=mysql
    spring.datasource.url=jdbc:mysql://mysql/petclinic
    spring.datasource.username=root
    spring.datasource.password=petclinic
    # SQL is written to be idempotent so this is safe
    spring.datasource.initialization-mode=always
