mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-07 07:50:29 -05:00
update
This commit is contained in:
parent
6799a84f65
commit
5e39fb1a1d
7 changed files with 43 additions and 33 deletions
|
|
@ -3,7 +3,8 @@ appVersion: latest
|
|||
description: SearXNG is a free internet metasearch engine which aggregates results from various search services and databases.
|
||||
name: searxng
|
||||
version: 1.0.1
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
version: 4.4.2
|
||||
#dependencies:
|
||||
# - name: common
|
||||
# repository: https://library-charts.k8s-at-home.com
|
||||
# version: 4.4.2
|
||||
#
|
||||
|
|
@ -1 +0,0 @@
|
|||
{{- include "common.notes.defaultNotes" . -}}
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
{{/* First Make sure all variables are set and merged properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
|
||||
{{/* Append the configMap volume to the volumes */}}
|
||||
{{- define "searxng.settingsVolume" -}}
|
||||
enabled: "true"
|
||||
mountPath: "/etc/searxng/settings.yml"
|
||||
subPath: "settings.yml"
|
||||
type: "custom"
|
||||
volumeSpec:
|
||||
secret:
|
||||
secretName: {{ include "common.names.fullname" . }}-config
|
||||
{{- end -}}
|
||||
{{- $_ := set .Values.persistence "searxng-config" (include "searxng.settingsVolume" . | fromYaml) -}}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
#apiVersion: v1
|
||||
#kind: Secret
|
||||
#metadata:
|
||||
# name: {{ include "common.names.fullname" . }}-config
|
||||
# labels:
|
||||
# {{- include "common.labels" . | nindent 4 }}
|
||||
#data:
|
||||
# settings.yml: {{ .Values.searxng.config | toYaml | b64enc | quote }}
|
||||
#
|
||||
24
dmz/searxng/templates/deployment.yaml
Normal file
24
dmz/searxng/templates/deployment.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
namespace: searxng
|
||||
name: searxng
|
||||
labels:
|
||||
app: searxng
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: searxng
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: searxng
|
||||
spec:
|
||||
containers:
|
||||
- name: searxng
|
||||
image: registry.durp.info/searxng/searxng:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
|
|
@ -12,8 +12,8 @@ spec:
|
|||
- name: authentik-proxy-provider
|
||||
namespace: traefik
|
||||
services:
|
||||
- name: searxng
|
||||
port: 3000
|
||||
- name: searxng-service
|
||||
port: 8080
|
||||
tls:
|
||||
secretName: searxng-tls
|
||||
|
||||
|
|
|
|||
12
dmz/searxng/templates/service.yaml
Normal file
12
dmz/searxng/templates/service.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: searxng-service
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: searxng
|
||||
Loading…
Add table
Add a link
Reference in a new issue