Non-secret config now lives in Infisical alongside the secrets, so containers carry envFrom only and no loose env entries.
41 lines
899 B
YAML
41 lines
899 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: searxng
|
|
namespace: searxng
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: searxng
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: searxng
|
|
spec:
|
|
restartPolicy: Always
|
|
terminationGracePeriodSeconds: 10
|
|
enableServiceLinks: false
|
|
containers:
|
|
- name: searxng
|
|
image: searxng/searxng:latest
|
|
ports:
|
|
- containerPort: 8080
|
|
envFrom:
|
|
- secretRef:
|
|
name: searxng-app-secrets
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
volumeMounts:
|
|
- name: data
|
|
mountPath: /etc/searxng
|
|
volumes:
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: searxng-pvc
|