Skip to content

Instantly share code, notes, and snippets.

@fauzan-n
Last active July 28, 2019 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fauzan-n/80877d802518583645b066a39906c5c7 to your computer and use it in GitHub Desktop.
Save fauzan-n/80877d802518583645b066a39906c5c7 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: ConfigMap
metadata:
name: app-name-example
namespace: default
data:
application.yml: |-
app:
name: app-name-example
spring:
messages:
basename: message/messages
datasource:
platform: mysql
url: jdbc:mariadb://mysql.default.svc.cluster.local:3306/dbnameexample
username: dbuserexample
password: dbpasswordexample
jpa:
properties:
hibernate:
dialect: org.hibernate.dialect.MySQL5InnoDBDialect
sentry.properties: |-
dsn=xxxxxx
environment=develop
tags=appName:{{APP_NAME}}
log4j2.xml: |-
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Appenders>
xxxxxxx
</Appenders>
</Configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment