This commit is contained in:
parent
8049e51a75
commit
855209b8a5
@ -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() {
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user