deployment
This commit is contained in:
28
deployment/deploy-yml.tmpl
Normal file
28
deployment/deploy-yml.tmpl
Normal file
@ -0,0 +1,28 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ma
|
||||
labels:
|
||||
app: ma
|
||||
annotations:
|
||||
secret.reloader.stakater.com/reload: ma-db-cred
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: ma
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: ma
|
||||
spec:
|
||||
containers:
|
||||
- name: ma
|
||||
image: %IMAGE%
|
||||
imagePullPolicy: Always
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: ma-db-cred
|
||||
- configMapRef:
|
||||
name: ma-conf
|
||||
|
Reference in New Issue
Block a user