29 lines
505 B
Cheetah
29 lines
505 B
Cheetah
|
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
|
||
|
|