mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[searx] add support for an existingSecret (#618)
* add support for an existingSecret Signed-off-by: Ryan Holt <ryan@ryanholt.net> * forgot the closing end Signed-off-by: Ryan Holt <ryan@ryanholt.net> * add a new line Signed-off-by: Ryan Holt <ryan@ryanholt.net>
This commit is contained in:
parent
56b6d69af7
commit
4d7c76e021
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
appVersion: 0.18.0
|
appVersion: 0.18.0
|
||||||
description: Searx is a privacy-respecting, hackable metasearch engine
|
description: Searx is a privacy-respecting, hackable metasearch engine
|
||||||
name: searx
|
name: searx
|
||||||
version: 2.0.1
|
version: 2.1.0
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- searx
|
- searx
|
||||||
|
@ -132,6 +132,7 @@ N/A
|
|||||||
| ingress.enabled | bool | `false` | |
|
| ingress.enabled | bool | `false` | |
|
||||||
| persistence.config.emptyDir | bool | `false` | |
|
| persistence.config.emptyDir | bool | `false` | |
|
||||||
| persistence.config.enabled | bool | `false` | |
|
| persistence.config.enabled | bool | `false` | |
|
||||||
|
| searx.existingSecret.enabled | bool | `false` | |
|
||||||
| searx.baseUrl | string | `"https://searx.DOMAIN"` | |
|
| searx.baseUrl | string | `"https://searx.DOMAIN"` | |
|
||||||
| searx.mortyKey | string | `"changeme"` | |
|
| searx.mortyKey | string | `"changeme"` | |
|
||||||
| service.port.port | int | `80` | |
|
| service.port.port | int | `80` | |
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{{/*
|
{{/*
|
||||||
Expand the name of the chart.
|
Expand the name of the chart.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "speedtest.name" -}}
|
{{- define "searx.name" -}}
|
||||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ Create a default fully qualified app name.
|
|||||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||||
If release name contains chart name it will be used as a full name.
|
If release name contains chart name it will be used as a full name.
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "speedtest.fullname" -}}
|
{{- define "searx.fullname" -}}
|
||||||
{{- if .Values.fullnameOverride -}}
|
{{- if .Values.fullnameOverride -}}
|
||||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
|
|
||||||
{{/*
|
{{- if not .Values.searx.existingSecret.enabled }}
|
||||||
Searx Configuration files.
|
|
||||||
*/}}
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
@ -13,3 +11,4 @@ stringData:
|
|||||||
BASE_URL: {{ .Values.searx.baseUrl }}
|
BASE_URL: {{ .Values.searx.baseUrl }}
|
||||||
MORTY_URL: {{ print .Values.searx.baseUrl "/morty/" }}
|
MORTY_URL: {{ print .Values.searx.baseUrl "/morty/" }}
|
||||||
MORTY_KEY: {{ .Values.searx.mortyKey }}
|
MORTY_KEY: {{ .Values.searx.mortyKey }}
|
||||||
|
{{- end }}
|
||||||
|
@ -14,6 +14,8 @@ strategy:
|
|||||||
type: Recreate
|
type: Recreate
|
||||||
|
|
||||||
searx:
|
searx:
|
||||||
|
existingSecret:
|
||||||
|
enabled: false
|
||||||
# external URL
|
# external URL
|
||||||
baseUrl: "https://searx.DOMAIN"
|
baseUrl: "https://searx.DOMAIN"
|
||||||
# generate a random key used by Morty (Privacy aware web content sanitizer proxy as a service)
|
# generate a random key used by Morty (Privacy aware web content sanitizer proxy as a service)
|
||||||
|
Loading…
Reference in New Issue
Block a user