argocd2.2.1+helm3.9-chart+k8s1.22部署flowise
创建使用的secret
flowise-secrets.env
flowisepassword=11111 # flowise web 用户密码
username=devflowise # psql 普通用户
password=11111 # psql 普通用户密码
passphrase=11111 # flowise 密码短语
postgres-password=11111 # psql postgres 用户密码
replication-password=11111 # psql 同步用户密码kubectl create secret generic flowise-secrets --from-env-file=./flowise-secrets.env -n dev-flowise部署postgresql
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: dev-flowise-postgresql
namespace: cicd
spec:
destination:
name: ucloud-hk-kugga-prod
namespace: dev-flowise
project: dev-flowise
source:
chart: postgresql
helm:
parameters:
- name: architecture
value: replication
- name: auth.username
value: devflowise
- name: auth.database
value: flowise
- name: auth.existingSecret
value: flowise-secrets
- name: backup.enabled
value: "true"
- name: backup.cronjob.storage.storageClass
- name: global.storageClass
value: local-path
# 因argocd v2.2.1 解析postgresql 不到helm chart 中 backup.cronjob.storage.storageClass 配置项所以弃用的这个配置
#- name: backup.cronjob.storage.storageClass
# value: nfs4-client
# 提前手动使用storageClass nfs4-client 创建了pvc dev-flowise-postgresql-primary-pgdumpall , 在这引用
- name: backup.cronjob.storage.existingClaim
value: dev-flowise-postgresql-primary-pgdumpall
valueFiles:
- values.yaml
repoURL: https://charts.bitnami.com/bitnami
targetRevision: 13.1.5部署flowise
Last updated