infra/kubernetes/searxng/Deployment-searxng.yaml
Gabriel Simmer 124b319b57
All checks were successful
Lint / lint (push) Successful in 37s
Pulling out more config, secrets
2024-07-07 00:33:53 +01:00

47 lines
1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kubenix/k8s-version: '1.30'
kubenix/project-name: kubenix
labels:
kubenix/hash: e672eb08bf0db5ef675b3b6036ca047f43b4614f
name: searxng
namespace: searxng
spec:
selector:
matchLabels:
app: searxng
template:
metadata:
labels:
app: searxng
spec:
containers:
- envFrom:
- secretRef:
name: searxng
image: docker.io/searxng/searxng:latest
imagePullPolicy: Always
name: searxng
ports:
- containerPort: 8080
name: http
resources:
limits:
memory: 1Gi
requests:
cpu: 100m
memory: 512Mi
volumeMounts:
- mountPath: /etc/searxng/settings.yml
name: config
subPath: settings.yml
- mountPath: /etc/searxng/limiter.toml
name: config
subPath: limiter.toml
volumes:
- configMap:
name: searxng
name: config