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
f1b27dc366
commit
7f8883c2bc
3 changed files with 51 additions and 1 deletions
11
dmz/searxng/templates/confligmap.yaml
Normal file
11
dmz/searxng/templates/confligmap.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: searxng-config
|
||||||
|
data:
|
||||||
|
settings.yml: |-
|
||||||
|
use_default_settings: true
|
||||||
|
search:
|
||||||
|
formats:
|
||||||
|
- html
|
||||||
|
- json
|
||||||
|
|
@ -21,4 +21,20 @@ spec:
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8080
|
containerPort: 8080
|
||||||
|
env:
|
||||||
|
- name: SEARXNG_BASE_URL
|
||||||
|
value: https://searxng.durp.info
|
||||||
|
- name: SEARXNG_SECRET
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: searxng-secret
|
||||||
|
key: SEARXNG_SECRET
|
||||||
|
volumeMounts:
|
||||||
|
- name: searxng-config-volume
|
||||||
|
mountPath: /etc/searxng/settings.yml
|
||||||
|
subPath: settings.yml
|
||||||
|
volumes:
|
||||||
|
- name: searxng-config-volume
|
||||||
|
configMap:
|
||||||
|
name: searxng-config
|
||||||
|
|
|
||||||
23
dmz/searxng/templates/secret.yaml
Normal file
23
dmz/searxng/templates/secret.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: searxng-secret
|
||||||
|
spec:
|
||||||
|
secretStoreRef:
|
||||||
|
name: vault
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
target:
|
||||||
|
name: searxng-secret
|
||||||
|
data:
|
||||||
|
- secretKey: SEARXNG_SECRET
|
||||||
|
remoteRef:
|
||||||
|
key: kv/searxng
|
||||||
|
property: searxng-secret
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: vault
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue