chore: switch storagesvc to S3 backend (ngcloud msk-1)

- helm/fission-values.yaml: storageType=s3, bucket=sless-functions, endPoint=https://s3.msk-1.ngcloud.ru
- helm/fission-values-pv.yaml: сохранён PV конфиг для быстрого возврата
- helm/fission-s3-secret.yaml: credentials (в .gitignore, не в репо)
- .gitignore: добавлен helm/fission-s3-secret.yaml

Возврат на PV: kubectl delete deploy executor router storagesvc -n fission
  helm upgrade fission ... -f helm/fission-values-pv.yaml --no-hooks
This commit is contained in:
“Naeel”
2026-05-20 08:39:51 +04:00
parent 005b4786c0
commit 7539680ae0
3 changed files with 43 additions and 8 deletions
+1
View File
@@ -19,6 +19,7 @@ console/fission-console
# Secrets / tokens
token.txt
helm/fission-s3-secret.yaml
# Test logs
test-results/
+30
View File
@@ -0,0 +1,30 @@
# Fission helm values — PV (vcd-disk-ext4) backend
# Применять: helm upgrade fission fission-charts/fission-all --version 1.22.1 \
# -n fission -f helm/fission-values-pv.yaml
#
# Секретов нет — local storage не требует credentials.
# ПЕРЕД upgrade: kubectl delete deploy executor router -n fission
authentication:
enabled: true
defaultNamespace: fission-functions
image: naeel/fission-bundle
imageTag: v1.23.0
fetcher:
image: naeel/fetcher
imageTag: v1.23.0
persistence:
enabled: true
storageType: local
storageClass: vcd-disk-ext4
size: 2Gi
accessMode: ReadWriteOnce
repository: ""
routerServiceType: ClusterIP
serviceType: ClusterIP
analytics: false
+12 -8
View File
@@ -1,9 +1,10 @@
# Fission helm values — PV (local storage) backend
# Fission helm values — S3 backend (ngcloud msk-1)
# Применять: helm upgrade fission fission-charts/fission-all --version 1.22.1 \
# -n fission -f helm/fission-values.yaml
# -n fission -f helm/fission-values.yaml -f helm/fission-s3-secret.yaml
#
# Секретов нет — local storage не требует credentials.
# При деплое в новый кластер — только этот файл.
# Секреты — в helm/fission-s3-secret.yaml (в .gitignore, не коммитить!)
# Вернуться на PV: -f helm/fission-values-pv.yaml (без s3-secret)
# ПЕРЕД upgrade: kubectl delete deploy executor router -n fission
authentication:
enabled: true
@@ -18,10 +19,13 @@ fetcher:
persistence:
enabled: true
storageType: local
storageClass: vcd-disk-ext4 # сетевой block-device VMware Cloud Director (надёжнее local-path)
size: 2Gi
accessMode: ReadWriteOnce
storageType: s3
s3:
bucketName: sless-functions
subDir: fission
region: msk-1
endPoint: https://s3.msk-1.ngcloud.ru
# accessKeyId и secretAccessKey — в fission-s3-secret.yaml
repository: ""
routerServiceType: ClusterIP