Files
feedc0de d45d84462d
Validate and publish / Test image and chart (push) Failing after 2m25s
Validate and publish / Publish image and OCI chart (push) Skipped
Initial commit
2026-08-28 23:12:14 +02:00

54 lines
1.4 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: mikrotik-operator
namespace: mikrotik-operator-system
labels:
app.kubernetes.io/name: mikrotik-operator
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: mikrotik-operator
template:
metadata:
labels:
app.kubernetes.io/name: mikrotik-operator
spec:
serviceAccountName: mikrotik-operator
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
containers:
- name: manager
image: registry.brunner.ninja/feedc0de/mikrotik-operator:dev
imagePullPolicy: Always
args:
- --leader-elect=true
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: [ALL]
readOnlyRootFilesystem: true
ports:
- name: metrics
containerPort: 8080
- name: health
containerPort: 8081
livenessProbe:
httpGet:
path: /healthz
port: health
readinessProbe:
httpGet:
path: /readyz
port: health
resources:
requests:
cpu: 20m
memory: 48Mi
limits:
memory: 128Mi
terminationGracePeriodSeconds: 10