apiVersion: v1
kind: Secret
metadata:
  annotations:
    template.openshift.io/expose-database_name: "{.data['database-name']}"
    template.openshift.io/expose-password: "{.data['database-password']}"
    template.openshift.io/expose-username: "{.data['database-user']}"
  name: "postgres-dbsecrets"
stringData:
  database-name: "verySecretDatabaseName"
  database-password: "verySecretPassword"
  database-user: "verySecretUsername"