All checks were successful
Validate Kubernetes Manifests / kubeconform (push) Successful in 11s
39 lines
837 B
YAML
39 lines
837 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: searxng
|
|
namespace: tools
|
|
spec:
|
|
strategy:
|
|
type: Recreate
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: searxng
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: searxng
|
|
spec:
|
|
containers:
|
|
- name: searxng
|
|
image: searxng/searxng@sha256:13de9d465bd2d9da6a6718f2a57d96e6e5fa3b8aba3c0bec077a5b7e5f24e4e9
|
|
ports:
|
|
- containerPort: 8080
|
|
env:
|
|
- name: "INSTANCE_NAME"
|
|
value: "searxng"
|
|
- name: BASE_URL
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: searxng-secret
|
|
key: BASE_URL
|
|
volumeMounts:
|
|
- name: searxng
|
|
mountPath: /etc/searxng
|
|
volumes:
|
|
- name: searxng
|
|
persistentVolumeClaim:
|
|
claimName: searxng-longhorn
|