mirror of
https://github.com/KevinMidboe/infra-map.git
synced 2025-10-29 01:20:29 +00:00
34 lines
681 B
YAML
34 lines
681 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
deployment.kubernetes.io/revision: '1'
|
|
labels:
|
|
app: infra-map
|
|
name: infra-map
|
|
namespace: ${NAMESPACE}
|
|
spec:
|
|
progressDeadlineSeconds: 600
|
|
replicas: 2
|
|
revisionHistoryLimit: 10
|
|
selector:
|
|
matchLabels:
|
|
app: infra-map
|
|
strategy:
|
|
type: RollingUpdate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: infra-map
|
|
spec:
|
|
containers:
|
|
- image: ${IMAGE}
|
|
imagePullPolicy: IfNotPresent
|
|
name: infra-map
|
|
envFrom:
|
|
- secretRef:
|
|
name: secret-env-values
|
|
imagePullPolicy: IfNotPresent
|
|
restartPolicy: Always
|