kubernetes & drone CI files

This commit is contained in:
2025-04-08 21:47:53 +02:00
parent 68ebc7568e
commit 69a6612ea2
7 changed files with 225 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
---
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