2022-03-22 15:21:25 -04:00
|
|
|
image:
|
|
|
|
repository: tccr.io/truecharts/outline
|
|
|
|
pullPolicy: IfNotPresent
|
2023-08-18 19:38:20 -04:00
|
|
|
tag: v0.71.0@sha256:a5fa43fd030f7d8f657f2981efa5a3ff7ddb309cf6c17888b146923b28fe8b24
|
2022-03-22 15:21:25 -04:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 10196
|
|
|
|
# Enabled redis
|
|
|
|
redis:
|
|
|
|
enabled: true
|
2023-05-01 11:29:23 -04:00
|
|
|
redisUsername: default
|
2022-03-22 15:21:25 -04:00
|
|
|
# Enabled postgres
|
2023-04-11 06:07:17 -04:00
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
user: outline
|
|
|
|
database: outline
|
2022-08-08 17:25:02 -04:00
|
|
|
|
|
|
|
portal:
|
2023-04-11 06:07:17 -04:00
|
|
|
open:
|
|
|
|
enabled: true
|
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
initContainers:
|
|
|
|
1-migratedb:
|
|
|
|
enabled: true
|
|
|
|
imageSelector: image
|
|
|
|
type: init
|
|
|
|
env:
|
|
|
|
DATABASE_URL:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: std
|
|
|
|
REDIS_URL:
|
|
|
|
secretKeyRef:
|
2023-05-01 11:29:23 -04:00
|
|
|
name: secrets
|
|
|
|
key: REDIS_CUSTOM_URL
|
2023-04-11 06:07:17 -04:00
|
|
|
SECRET_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
name: secrets
|
|
|
|
key: SECRET_KEY
|
|
|
|
UTILS_SECRET:
|
|
|
|
secretKeyRef:
|
|
|
|
name: secrets
|
|
|
|
key: UTILS_SECRET
|
|
|
|
command:
|
2023-05-01 11:29:23 -04:00
|
|
|
- sh
|
|
|
|
- -c
|
|
|
|
- yarn sequelize db:migrate --env=production-ssl-disabled
|
2023-04-11 06:07:17 -04:00
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/_health"
|
|
|
|
readiness:
|
|
|
|
path: "/_health"
|
|
|
|
startup:
|
|
|
|
path: "/_health"
|
|
|
|
env:
|
|
|
|
FORCE_HTTPS: false
|
|
|
|
PGSSLMODE: "disable"
|
|
|
|
PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
|
|
# User defined
|
|
|
|
URL: "http://localhost:{{ .Values.service.main.ports.main.port }}"
|
|
|
|
SLACK_MESSAGE_ACTIONS: true
|
|
|
|
ENABLE_UPDATES: true
|
|
|
|
WEB_CONCURRENCY: 1
|
|
|
|
MAXIMUM_IMPORT_SIZE: 5120000
|
|
|
|
DEFAULT_LANGUAGE: "en_US"
|
|
|
|
# TEAM_LOGO: ""
|
|
|
|
# COLLABORATION_URL: ""
|
|
|
|
# SLACK_KEY: ""
|
|
|
|
# SLACK_SECRET: ""
|
|
|
|
# SLACK_VERIFICATION_TOKEN: ""
|
|
|
|
# SLACK_APP_ID: ""
|
|
|
|
# GOOGLE_CLIENT_ID: ""
|
|
|
|
# GOOGLE_CLIENT_SECRET: ""
|
|
|
|
# GOOGLE_ANALYTICS_ID: ""
|
|
|
|
# AZURE_CLIENT_ID: ""
|
|
|
|
# AZURE_CLIENT_SECRET: ""
|
|
|
|
# AZURE_RESOURCE_APP_ID: ""
|
|
|
|
# OIDC_CLIENT_ID: ""
|
|
|
|
# OIDC_CLIENT_SECRET: ""
|
|
|
|
# OIDC_AUTH_URI: ""
|
|
|
|
# OIDC_TOKEN_URI: ""
|
|
|
|
# OIDC_USERINFO_URI: ""
|
|
|
|
# OIDC_USERNAME_CLAIM: ""
|
|
|
|
# OIDC_DISPLAY_NAME: ""
|
|
|
|
# OIDC_SCOPES: ""
|
|
|
|
# SENTRY_DSN: ""
|
|
|
|
# AWS_ACCESS_KEY_ID: ""
|
|
|
|
# AWS_SECRET_ACCESS_KEY: ""
|
|
|
|
# AWS_REGION: ""
|
|
|
|
# AWS_S3_ACCELERATE_URL: ""
|
|
|
|
# AWS_S3_UPLOAD_BUCKET_URL: ""
|
|
|
|
# AWS_S3_UPLOAD_BUCKET_NAME: ""
|
|
|
|
# AWS_S3_UPLOAD_MAX_SIZE: 26214400
|
|
|
|
# AWS_S3_FORCE_PATH_STYLE: true
|
|
|
|
# AWS_S3_ACL: ""
|
|
|
|
# SMTP_HOST: ""
|
|
|
|
# SMTP_PORT: 587
|
|
|
|
# SMTP_USERNAME: ""
|
|
|
|
# SMTP_PASSWORD: ""
|
|
|
|
# SMTP_FROM_EMAIL: ""
|
|
|
|
# SMTP_REPLY_EMAIL: ""
|
|
|
|
# SMTP_SECURE: true
|
|
|
|
|
|
|
|
DATABASE_URL:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: std
|
|
|
|
REDIS_URL:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
|
|
|
key: url
|
|
|
|
SECRET_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
name: secrets
|
|
|
|
key: SECRET_KEY
|
|
|
|
UTILS_SECRET:
|
|
|
|
secretKeyRef:
|
|
|
|
name: secrets
|
|
|
|
key: UTILS_SECRET
|