[searx] feat: enable optional resources for all containers (#1322)

* feat: enable resources for all searx containers

This is necessary for autoscaling

Signed-off-by: Dis <397465+disconn3ct@users.noreply.github.com>
This commit is contained in:
Dis 2021-12-24 09:42:33 -05:00 committed by GitHub
parent 11181f3200
commit 101cb5405b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 2 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.0.0
description: Searx is a privacy-respecting, hackable metasearch engine
name: searx
version: 5.2.0
version: 5.3.0
kubeVersion: ">=1.16.0-0"
keywords:
- searx

View File

@ -1,6 +1,6 @@
# searx
![Version: 5.2.0](https://img.shields.io/badge/Version-5.2.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
![Version: 5.3.0](https://img.shields.io/badge/Version-5.3.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
Searx is a privacy-respecting, hackable metasearch engine

View File

@ -9,6 +9,12 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [5.3.0]
#### Added
- Expose `resources` for all containers
### [5.1.0]
#### Changed

View File

@ -31,6 +31,10 @@ additionalContainers:
- name: searx-config
mountPath: /etc/caddy/Caddyfile
subPath: Caddyfile
{{- with .Values.caddy.resources }}
resources:
{{- toYaml . | nindent 6 }}
{{- end }}
filtron:
name: filtron
@ -54,6 +58,10 @@ additionalContainers:
- name: searx-config
mountPath: /etc/filtron/rules.json
subPath: rules.json
{{- with .Values.filtron.resources }}
resources:
{{- toYaml . | nindent 6 }}
{{- end }}
morty:
name: morty
@ -70,6 +78,10 @@ additionalContainers:
ports:
- containerPort: 3000
name: morty
{{- with .Values.morty.resources }}
resources:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "searx.harcodedValues" . | fromYaml) -}}