onprem-yonote-v2 #2
|
@ -18,7 +18,10 @@ dependencies:
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
version: 11.6.6
|
version: 11.6.6
|
||||||
- name: redis
|
- name: redis
|
||||||
repository: https://artifacts.wilix.dev/repository/helm-bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
version: 16.12.1
|
version: 16.12.1
|
||||||
digest: sha256:b235eee18e9704d2eccffe52ea8a37d5431039378ae03ef2e2b738661f2a5711
|
- name: keycloak
|
||||||
generated: "2024-07-11T17:41:36.715623176+03:00"
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
version: 10.1.4
|
||||||
|
digest: sha256:3ae7e0501380a54b94f6de7d4073b44a5ef6de77333262b6161fa3ab30db4695
|
||||||
|
generated: "2024-07-11T23:38:34.270659107+03:00"
|
||||||
|
|
|
@ -39,3 +39,9 @@ dependencies:
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
condition: yonote-redis.enabled
|
condition: yonote-redis.enabled
|
||||||
alias: yonote-redis
|
alias: yonote-redis
|
||||||
|
|
||||||
|
- name: keycloak
|
||||||
|
version: "10.1.4"
|
||||||
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
condition: keycloak.enabled
|
||||||
|
alias: keycloak
|
||||||
|
|
|
@ -3,19 +3,19 @@ global:
|
||||||
config:
|
config:
|
||||||
secret:
|
secret:
|
||||||
stringData:
|
stringData:
|
||||||
AI_API_KEY:
|
AI_API_KEY: 12355
|
||||||
AWS_ACCESS_KEY_ID:
|
AWS_ACCESS_KEY_ID: 1234
|
||||||
AWS_SECRET_ACCESS_KEY:
|
AWS_SECRET_ACCESS_KEY: 1234
|
||||||
OIDC_CLIENT_SECRET:
|
OIDC_CLIENT_SECRET: 1234
|
||||||
SECRET_KEY:
|
SECRET_KEY: 1234
|
||||||
SMTP_PASSWORD:
|
SMTP_PASSWORD: 1234
|
||||||
UTILS_SECRET:
|
UTILS_SECRET:
|
||||||
YANDEX_METRIKA_ID:
|
YANDEX_METRIKA_ID:
|
||||||
TELEGRAM_BOT_TOKEN:
|
TELEGRAM_BOT_TOKEN: 1234
|
||||||
UNSPLASH_API_ACCESS_KEY:
|
UNSPLASH_API_ACCESS_KEY: 1234
|
||||||
DATABASE_URL: "" #postgres://<username:password>@<postgresql>:5432/yonote
|
DATABASE_URL: postgres://postgres:TQQYw4UjOU>@localhost:5432/yonote
|
||||||
REDIS_URL: "" #redis://username:password>@<redis>:6379
|
REDIS_URL: #redis://username:password>@<redis>:6379
|
||||||
LICENSE_KEY: ""
|
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_PUBLIC_KEY: ""
|
||||||
SERVICE_WORKER_PRIVATE_KEY: ""
|
SERVICE_WORKER_PRIVATE_KEY: ""
|
||||||
QUOTA_TOKEN:
|
QUOTA_TOKEN:
|
||||||
|
|
|
@ -3,6 +3,8 @@ global:
|
||||||
auth:
|
auth:
|
||||||
database: yonote
|
database: yonote
|
||||||
username: yonote
|
username: yonote
|
||||||
|
password: wsGZ6kXhr5
|
||||||
|
postgresPassword: QQYw4UjOU
|
||||||
|
|
||||||
yonote:
|
yonote:
|
||||||
ingress:
|
ingress:
|
||||||
|
|||||||
|
@ -72,6 +74,21 @@ 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 }}'
|
||||||
|
AI_API_KEY: ""
|
||||||
|
AWS_ACCESS_KEY_ID: ""
|
||||||
|
AWS_SECRET_ACCESS_KEY: ""
|
||||||
|
OIDC_CLIENT_SECRET: ""
|
||||||
|
SECRET_KEY: ""
|
||||||
|
SMTP_PASSWORD: ""
|
||||||
|
UTILS_SECRET: ""
|
||||||
|
YANDEX_METRIKA_ID: ""
|
||||||
|
TELEGRAM_BOT_TOKEN: ""
|
||||||
|
UNSPLASH_API_ACCESS_KEY: ""
|
||||||
|
REDIS_URL: "" #redis://username:password>@<redis>:6379
|
||||||
|
LICENSE_KEY: ""
|
||||||
|
SERVICE_WORKER_PUBLIC_KEY: ""
|
||||||
|
SERVICE_WORKER_PRIVATE_KEY: ""
|
||||||
|
QUOTA_TOKEN: ""
|
||||||
|
|
||||||
yonote_cron_calendar_events:
|
yonote_cron_calendar_events:
|
||||||
cron_enabled: "true"
|
cron_enabled: "true"
|
||||||
|
@ -95,12 +112,12 @@ yonote-web:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
args:
|
args:
|
||||||
- ./build/server/index.js
|
#- ./build/server/index.js
|
||||||
- '--services=web'
|
#- '--services=web'
|
||||||
|
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: yonote-migration
|
- name: yonote-migration
|
||||||
image: '{{ .Values.image.repository }}:{{ .Values.image.tag }}'
|
image: images.updates.yonote.ru/yonote:1.19.5
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
|
@ -188,8 +205,8 @@ yonote-websocket:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
args:
|
args:
|
||||||
- ./build/server/index.js
|
#- ./build/server/index.js
|
||||||
- '--services=websockets'
|
#- '--services=websockets'
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -266,8 +283,8 @@ yonote-whiteboard:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
args:
|
args:
|
||||||
- ./build/server/index.js
|
#- ./build/server/index.js
|
||||||
- '--services=whiteboard'
|
#- '--services=whiteboard'
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -344,8 +361,8 @@ yonote-worker:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
args:
|
args:
|
||||||
- ./build/server/index.js
|
#- ./build/server/index.js
|
||||||
- '--services=worker'
|
#- '--services=worker'
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
@ -414,8 +431,8 @@ yonote-collaboration:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
args:
|
args:
|
||||||
- ./build/server/index.js
|
#- ./build/server/index.js
|
||||||
- '--services=collaboration'
|
#- '--services=collaboration'
|
||||||
|
|
||||||
checksums: null
|
checksums: null
|
||||||
|
|
||||||
|
@ -478,7 +495,8 @@ yonote-database:
|
||||||
nameOverride: db
|
nameOverride: db
|
||||||
primary:
|
primary:
|
||||||
persistence:
|
persistence:
|
||||||
size: 10Gi
|
storageClass: microk8s-hostpath
|
||||||
|
size: 500Mi
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 250m
|
cpu: 250m
|
||||||
|
@ -496,11 +514,48 @@ yonote-redis:
|
||||||
enabled: false
|
enabled: false
|
||||||
master:
|
master:
|
||||||
persistence:
|
persistence:
|
||||||
size: 5Gi
|
size: 200Mi
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 250m
|
cpu: 250m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
|
|
||||||
|
keycloak:
|
||||||
|
enabled: true
|
||||||
|
fullnameOverride: yonote-keycloak
|
||||||
|
nameOverride: keycloak
|
||||||
|
hostName: auth.example.com
|
||||||
|
auth:
|
||||||
|
adminUser: admin
|
||||||
|
adminPassword: "12345"
|
||||||
|
postgresql:
|
||||||
|
name: postgresql
|
||||||
|
enabled: true
|
||||||
|
postgresqlUsername: keycloak
|
||||||
|
postgresqlPassword: keycloak
|
||||||
|
postgresqlDatabase: keycloak
|
||||||
|
service:
|
||||||
|
type: ClusterIP
|
||||||
|
port: 8080
|
||||||
|
persistence:
|
||||||
|
deployPostgres: true # Если используете встроенный PostgreSQL, оставьте true.
|
||||||
|
size: 500Mi
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /realms/master
|
||||||
|
port: 8080
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
timeoutSeconds: 5
|
||||||
|
periodSeconds: 10
|
||||||
|
failureThreshold: 6
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /realms/master
|
||||||
|
port: 8080
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
timeoutSeconds: 5
|
||||||
|
periodSeconds: 10
|
||||||
|
failureThreshold: 6
|
Loading…
Reference in New Issue
change to nginx