update
This commit is contained in:
parent
562081420b
commit
ae46f9dec9
|
@ -22,6 +22,9 @@ dependencies:
|
||||||
version: 16.12.1
|
version: 16.12.1
|
||||||
- name: keycloak
|
- name: keycloak
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
version: 10.1.4
|
version: 21.6.1
|
||||||
digest: sha256:3ae7e0501380a54b94f6de7d4073b44a5ef6de77333262b6161fa3ab30db4695
|
- name: minio
|
||||||
generated: "2024-07-11T23:38:34.270659107+03:00"
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
version: 14.6.20
|
||||||
|
digest: sha256:f05d7ee9b89cf6aa733e8fccce0daf3f8a427a108248f39ccd4b01bdd83a4f1b
|
||||||
|
generated: "2024-07-12T16:09:51.328475497+03:00"
|
||||||
|
|
|
@ -41,7 +41,13 @@ dependencies:
|
||||||
alias: yonote-redis
|
alias: yonote-redis
|
||||||
|
|
||||||
- name: keycloak
|
- name: keycloak
|
||||||
version: "10.1.4"
|
version: "21.6.1"
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
condition: keycloak.enabled
|
condition: keycloak.enabled
|
||||||
alias: keycloak
|
alias: keycloak
|
||||||
|
|
||||||
|
- name: minio
|
||||||
|
version: "14.6.20"
|
||||||
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
condition: minio.enabled
|
||||||
|
alias: minio
|
|
@ -1,21 +0,0 @@
|
||||||
global:
|
|
||||||
yonote:
|
|
||||||
config:
|
|
||||||
secret:
|
|
||||||
stringData:
|
|
||||||
AI_API_KEY: 12355
|
|
||||||
AWS_ACCESS_KEY_ID: 1234
|
|
||||||
AWS_SECRET_ACCESS_KEY: 1234
|
|
||||||
OIDC_CLIENT_SECRET: 1234
|
|
||||||
SECRET_KEY: 1234
|
|
||||||
SMTP_PASSWORD: 1234
|
|
||||||
UTILS_SECRET:
|
|
||||||
YANDEX_METRIKA_ID:
|
|
||||||
TELEGRAM_BOT_TOKEN: 1234
|
|
||||||
UNSPLASH_API_ACCESS_KEY: 1234
|
|
||||||
DATABASE_URL: postgres://postgres:TQQYw4UjOU>@localhost:5432/yonote
|
|
||||||
REDIS_URL: #redis://username:password>@<redis>:6379
|
|
||||||
LICENSE_KEY: "eyJhbGciOiJSUzUxMiIsInR5cCI6IkpXVCJ9.eyJkdW1teSI6ImRhdGEiLCJkYXRhIjoiZHVtbXkiLCJpYXQiOjE2NjQ4OTUyNjUsImV4cCI6MTgyMjY4MzI2NX0.Qudc2d-MKc4DT-UBAVydgowiYQnzzWolvbJTjPB5dwEI32Wb64sgkXOfXKsRf9_wP3UK0-65QYVkMHM76ImhM9HCHv9LWJBQeD0q2rF243cMkMUNfKXAX8-SmLu9kMZzm0fL02IBnv5TCHIF7u6GgGRk3US6WbVhzqHGxrdJ2b3HwD_cI3mcLKCtTfO_GDiUfAv7u5Ddi-6tCfFRvH633BLPKIMO5cePh_AdHykO_2p7z_ypUfsVgqxHkq8KwNuuaI6CpwE48P-7mXuM9xEWu3-prSZpaI4rIZA6JFpGMWyiGs4GDvjRFssq4GUPvYJnkZ2w_W_liSMdC5hg0PFxcw"
|
|
||||||
SERVICE_WORKER_PUBLIC_KEY: ""
|
|
||||||
SERVICE_WORKER_PRIVATE_KEY: ""
|
|
||||||
QUOTA_TOKEN:
|
|
|
@ -3,8 +3,8 @@ global:
|
||||||
auth:
|
auth:
|
||||||
database: yonote
|
database: yonote
|
||||||
username: yonote
|
username: yonote
|
||||||
password:
|
password: wsGZ6kXhr5
|
||||||
postgresPassword:
|
postgresPassword: QQYw4UjOU
|
||||||
|
|
||||||
yonote:
|
yonote:
|
||||||
ingress:
|
ingress:
|
||||||
|
@ -21,22 +21,22 @@ global:
|
||||||
config:
|
config:
|
||||||
plain:
|
plain:
|
||||||
data:
|
data:
|
||||||
DEPLOYMENT: hosted
|
DEPLOYMENT: undefined #Режим приложения
|
||||||
FORCE_HTTPS: "false"
|
FORCE_HTTPS: "false"
|
||||||
PGSSLMODE: disable
|
PGSSLMODE: disable
|
||||||
|
|
||||||
BIND_HOST: 0.0.0.0
|
BIND_HOST: 0.0.0.0 #Хост по умолчанию
|
||||||
PORT: "3000"
|
PORT: "3000" #Порт по умолчанию
|
||||||
|
|
||||||
REDIS_URL: redis://yonote-redis-master:6379
|
REDIS_URL: redis://yonote-redis-master:6379
|
||||||
|
|
||||||
DEFAULT_LANGUAGE: ru_RU
|
DEFAULT_LANGUAGE: ru_RU #Язык по умолчанию
|
||||||
ENABLE_UPDATES: "false"
|
ENABLE_UPDATES: "false"
|
||||||
|
|
||||||
AI_URL: http://engate.wilix.dev:5001
|
AI_URL: http://engate.wilix.dev:5001
|
||||||
|
|
||||||
URL: 'http://app.{{ .Values.global.yonote.baseListenAddress }}'
|
URL: 'http://app.{{ .Values.global.yonote.baseListenAddress }}' #Базовый url приложения
|
||||||
COLLABORATION_URL: 'wss://app.{{ .Values.global.yonote.baseListenAddress }}'
|
COLLABORATION_URL: 'wss://app.{{ .Values.global.yonote.baseListenAddress }}' #сервер, для нормальной работы это не нужно устанавливать
|
||||||
|
|
||||||
OIDC_DISPLAY_NAME: email
|
OIDC_DISPLAY_NAME: email
|
||||||
OIDC_SCOPES: openid email
|
OIDC_SCOPES: openid email
|
||||||
|
@ -47,15 +47,15 @@ global:
|
||||||
OIDC_USERINFO_URI: 'http://{{ .Values.global.yonote.keycloak.hostName }}/realms/{{ .Values.global.yonote.keycloak.realmName }}/protocol/openid-connect/userinfo'
|
OIDC_USERINFO_URI: 'http://{{ .Values.global.yonote.keycloak.hostName }}/realms/{{ .Values.global.yonote.keycloak.realmName }}/protocol/openid-connect/userinfo'
|
||||||
|
|
||||||
AWS_S3_ACL: private
|
AWS_S3_ACL: private
|
||||||
AWS_S3_UPLOAD_BUCKET_URL: example-url-s3
|
AWS_S3_UPLOAD_BUCKET_URL: example-url-s3 #Адрес S3 хранилища
|
||||||
AWS_S3_UPLOAD_BUCKET_NAME: yonote-bucket
|
AWS_S3_UPLOAD_BUCKET_NAME: yonote-bucket #Имя хранилища - полный URL = http://127.0.0.1:9000/yonote-bucket
|
||||||
AWS_REGION: ""
|
AWS_REGION: ""
|
||||||
AWS_S3_UPLOAD_MAX_SIZE: "226214400"
|
AWS_S3_UPLOAD_MAX_SIZE: "226214400" #Максимальный размер хранилища
|
||||||
AWS_S3_FORCE_PATH_STYLE: "false"
|
AWS_S3_FORCE_PATH_STYLE: "false" #Следует ли принудительно использовать URL-адреса стиля пути для объектов S3
|
||||||
|
|
||||||
SUBDOMAINS_ENABLED: "true"
|
SUBDOMAINS_ENABLED: "true" #Поддержка поддоменов для команд
|
||||||
BASENAME_FOR_SUBDOMAIN: '{{ .Values.global.yonote.baseListenAddress }}'
|
BASENAME_FOR_SUBDOMAIN: '{{ .Values.global.yonote.baseListenAddress }}' #Имя хоста
|
||||||
NOT_ALLOWED_SUBDOMAINS: app,collaboration,auth,api,dev,docs,doc,admin,test,quota,billing,i,storage,host,updates
|
NOT_ALLOWED_SUBDOMAINS: app,collaboration,auth,api,dev,docs,doc,admin,test,quota,billing,i,storage,host,updates #запрещенные поддомены
|
||||||
|
|
||||||
TELEGRAM_API_URL: https://api.telegram.org
|
TELEGRAM_API_URL: https://api.telegram.org
|
||||||
|
|
||||||
|
@ -74,9 +74,10 @@ global:
|
||||||
secret:
|
secret:
|
||||||
stringData:
|
stringData:
|
||||||
DATABASE_URL: 'postgres://{{ .Values.global.postgresql.auth.username }}:{{ .Values.global.postgresql.auth.password }}@yonote-db/{{ .Values.global.postgresql.auth.database }}'
|
DATABASE_URL: 'postgres://{{ .Values.global.postgresql.auth.username }}:{{ .Values.global.postgresql.auth.password }}@yonote-db/{{ .Values.global.postgresql.auth.database }}'
|
||||||
|
POSTGRES_PASSWORD: wsGZ6kXhr5
|
||||||
AI_API_KEY: ""
|
AI_API_KEY: ""
|
||||||
AWS_ACCESS_KEY_ID: ""
|
AWS_ACCESS_KEY_ID: "" #Ваш идентификатор ключа доступа к AWS. Поведение в SelfHosted: устанавливает логин сервис аккаунта для доступа приложения к Minio S3 хранилищу
|
||||||
AWS_SECRET_ACCESS_KEY: ""
|
AWS_SECRET_ACCESS_KEY: "" #Ваш секретный ключ доступа AWS. Поведение в SelfHosted: устанавливает пароль сервис аккаунта для доступа приложения к Minio S3 хранилищу
|
||||||
OIDC_CLIENT_SECRET: ""
|
OIDC_CLIENT_SECRET: ""
|
||||||
SECRET_KEY: ""
|
SECRET_KEY: ""
|
||||||
SMTP_PASSWORD: ""
|
SMTP_PASSWORD: ""
|
||||||
|
@ -493,9 +494,9 @@ yonote-database:
|
||||||
enabled: true
|
enabled: true
|
||||||
fullnameOverride: yonote-db
|
fullnameOverride: yonote-db
|
||||||
nameOverride: db
|
nameOverride: db
|
||||||
|
|
||||||
primary:
|
primary:
|
||||||
persistence:
|
persistence:
|
||||||
storageClass: microk8s-hostpath
|
|
||||||
size: 500Mi
|
size: 500Mi
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -510,8 +511,10 @@ yonote-redis:
|
||||||
fullnameOverride: yonote-redis
|
fullnameOverride: yonote-redis
|
||||||
nameOverride: redis
|
nameOverride: redis
|
||||||
architecture: standalone
|
architecture: standalone
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
master:
|
master:
|
||||||
persistence:
|
persistence:
|
||||||
size: 200Mi
|
size: 200Mi
|
||||||
|
@ -527,35 +530,88 @@ keycloak:
|
||||||
enabled: true
|
enabled: true
|
||||||
fullnameOverride: yonote-keycloak
|
fullnameOverride: yonote-keycloak
|
||||||
nameOverride: keycloak
|
nameOverride: keycloak
|
||||||
hostName: auth.example.com
|
hostName: auth.example.com
|
||||||
|
realmName: yonote
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
adminUser: admin
|
adminUser: admin
|
||||||
adminPassword: "12345"
|
adminPassword: "12345"
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: traefik
|
||||||
|
hosts:
|
||||||
|
- host: keycloak.example.com
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
tls:
|
||||||
|
- secretName: keycloak-tls
|
||||||
|
hosts:
|
||||||
|
- keycloak.example.com
|
||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
name: postgresql
|
name: postgresql
|
||||||
enabled: true
|
enabled: true
|
||||||
postgresqlUsername: keycloak
|
postgresqlUsername: keycloak
|
||||||
postgresqlPassword: keycloak
|
postgresqlPassword: keycloak
|
||||||
postgresqlDatabase: keycloak
|
postgresqlDatabase: keycloak
|
||||||
|
persistence:
|
||||||
|
size: 500Mi
|
||||||
|
|
||||||
|
# externalDatabase: #Если используете не встроенную БД
|
||||||
|
# host: <your-external-db-host>
|
||||||
|
# port: 5432
|
||||||
|
# database: keycloak
|
||||||
|
# user: keycloak
|
||||||
|
# password: <your-external-db-password>
|
||||||
|
# existingSecret: app-postgresql
|
||||||
|
# existingSecretKey: postgresql-password
|
||||||
|
|
||||||
|
extraEnv: |
|
||||||
|
- name: KC_SPI_ADMIN_REALM
|
||||||
|
value: 'yonote'
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 8080
|
port: 8080
|
||||||
|
|
||||||
|
minio:
|
||||||
|
enabled: true
|
||||||
|
fullnameOverride: yonote-minio
|
||||||
|
nameOverride: minio
|
||||||
|
accessKey: "minioadmin"
|
||||||
|
secretKey: "minioadminsecret"
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
deployPostgres: true # Если используете встроенный PostgreSQL, оставьте true.
|
enabled: true
|
||||||
size: 500Mi
|
size: 500Mi
|
||||||
readinessProbe:
|
|
||||||
httpGet:
|
ingress:
|
||||||
path: /realms/master
|
enabled: true
|
||||||
port: 8080
|
annotations:
|
||||||
initialDelaySeconds: 30
|
kubernetes.io/ingress.class: traefik
|
||||||
timeoutSeconds: 5
|
hosts:
|
||||||
periodSeconds: 10
|
- host: minio.example.com
|
||||||
failureThreshold: 6
|
paths:
|
||||||
livenessProbe:
|
- path: /
|
||||||
httpGet:
|
pathType: ImplementationSpecific
|
||||||
path: /realms/master
|
tls:
|
||||||
port: 8080
|
- secretName: minio-tls
|
||||||
initialDelaySeconds: 30
|
hosts:
|
||||||
timeoutSeconds: 5
|
- minio.example.com
|
||||||
periodSeconds: 10
|
|
||||||
failureThreshold: 6
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 250m
|
||||||
|
limits:
|
||||||
|
memory: 1Gi
|
||||||
|
cpu: 500m
|
||||||
|
|
||||||
|
buckets:
|
||||||
|
- name: mybucket
|
||||||
|
policy: none
|
||||||
|
- name: anotherbucket
|
||||||
|
policy: none
|
Loading…
Reference in New Issue