Files
homelab-k3s/apps/searxng/deployment.yaml
T
jasonwitty 0cb0cc7620 Pin searxng to the live image tag ai-summary-20260728-3
The manifest pinned :ai-summary-20260727, two builds behind the running
deployment. Applying this repo would have rolled the instance back past
the OpenAI chat-completions switch and the Brave-iOS streaming fallback.
kubectl diff against the live deployment is now empty.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-05 11:58:43 -07:00

79 lines
2.5 KiB
YAML

# Helm release searxng-1723974683 (chart searxng-1.0.0) in the *default*
# namespace — the release is still recorded in the cluster, so if you ever
# `helm upgrade` it, helm and this manifest will fight. Prefer retiring the
# helm release (helm delete --no-hooks would delete resources; instead just
# treat this repo as the source of truth and never run helm against it).
# Names keep the timestamped release suffix because selectors are immutable.
# NOTE (faithful to live state): TZ value "America/Los Angeles" is missing the
# underscore — an invalid tzdata name, so searxng falls back to UTC. Kept as-is;
# fix to America/Los_Angeles when convenient.
apiVersion: apps/v1
kind: Deployment
metadata:
name: searxng-1723974683
namespace: default
labels:
app.kubernetes.io/instance: searxng-1723974683
app.kubernetes.io/name: searxng
spec:
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels:
app.kubernetes.io/instance: searxng-1723974683
app.kubernetes.io/name: searxng
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
template:
metadata:
labels:
app.kubernetes.io/instance: searxng-1723974683
app.kubernetes.io/name: searxng
spec:
containers:
- name: searxng-1723974683
image: gt.wittyoneoff.com/jason/searxng:ai-summary-20260728-3
imagePullPolicy: Always
env:
- name: AUTOCOMPLETE
value: google
- name: BASE_URL
value: http://searxng.wittyoneoff.com/
- name: INSTANCE_NAME
value: witty-one-off-searxng
- name: TZ
value: America/Los Angeles
ports:
- name: http
containerPort: 8080
protocol: TCP
startupProbe:
httpGet:
path: /healthz
port: 8080
failureThreshold: 30
periodSeconds: 5
livenessProbe:
httpGet:
path: /healthz
port: 8080
failureThreshold: 3
periodSeconds: 10
readinessProbe:
httpGet:
path: /healthz
port: 8080
failureThreshold: 3
periodSeconds: 10
volumeMounts:
- name: searxng-config
mountPath: /etc/searxng/settings.yml
subPath: settings.yml
volumes:
- name: searxng-config
secret:
secretName: searxng-1723974683-config