fix: config configmap too big
Some checks failed
/ deploy (push) Failing after 4s

This commit is contained in:
ange 2024-12-23 03:00:33 +00:00
parent 8049e51a75
commit 855209b8a5
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
2 changed files with 3 additions and 7 deletions

View File

@ -8,11 +8,11 @@ function kapply() {
}; export -f kapply
function kcreatesec() {
kubectl create secret generic --save-config --dry-run=client -oyaml "$@" | kubectl apply -f-
kubectl create secret generic --dry-run=client -oyaml "$@" | kubectl replace
}; export -f kcreatesec
function kcreatecm() {
kubectl create configmap --dry-run=client -oyaml "$@" | kubectl apply -f-
kubectl create configmap --dry-run=client -oyaml "$@" | kubectl replace
}; export -f kcreatecm
function kgseckey() {

View File

@ -69,11 +69,7 @@ spec:
name: searxng
volumeMounts:
- name: config
mountPath: /etc/searxng/limiter.toml
subPath: limiter.toml
- name: config
mountPath: /etc/searxng/settings.yml
subPath: settings.yml
mountPath: /etc/searxng/
volumes:
- name: config
configMap: