mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
⬆️ outline app-template v2
This commit is contained in:
@@ -10,7 +10,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: app-template
|
chart: app-template
|
||||||
version: 1.5.1
|
version: 2.0.3
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: bjw-s
|
name: bjw-s
|
||||||
@@ -29,52 +29,63 @@ spec:
|
|||||||
dependsOn:
|
dependsOn:
|
||||||
- name: outline-redis
|
- name: outline-redis
|
||||||
values:
|
values:
|
||||||
initContainers:
|
controllers:
|
||||||
01-init-db:
|
main:
|
||||||
image: ghcr.io/auricom/postgres-init:15.4
|
type: statefulset
|
||||||
imagePullPolicy: IfNotPresent
|
annotations:
|
||||||
envFrom: &envFrom
|
reloader.stakater.com/auto: "true"
|
||||||
- secretRef:
|
initContainers:
|
||||||
name: &secret outline-secret
|
init-db:
|
||||||
controller:
|
image:
|
||||||
strategy: RollingUpdate
|
repository: ghcr.io/auricom/postgres-init
|
||||||
annotations:
|
tag: 15.4@sha256:83e1abf06be5741bdfb8cb53fc03a1ade6e6b5ec7b92a8aac0c69ba5dc7e51f0
|
||||||
reloader.stakater.com/auto: "true"
|
pullPolicy: IfNotPresent
|
||||||
image:
|
envFrom: &envFrom
|
||||||
repository: docker.io/outlinewiki/outline
|
- secretRef:
|
||||||
tag: 0.72.2
|
name: outline-secret
|
||||||
envFrom: *envFrom
|
containers:
|
||||||
env:
|
main:
|
||||||
AWS_REGION: us-east-1
|
image:
|
||||||
AWS_S3_ACL: private
|
repository: docker.io/outlinewiki/outline
|
||||||
AWS_S3_FORCE_PATH_STYLE: "true"
|
tag: 0.72.2
|
||||||
AWS_S3_UPLOAD_BUCKET_NAME: outline
|
envFrom: *envFrom
|
||||||
AWS_S3_UPLOAD_BUCKET_URL: "https://truenas.${SECRET_DOMAIN}:51515"
|
env:
|
||||||
AWS_S3_UPLOAD_MAX_SIZE: "26214400"
|
AWS_REGION: us-east-1
|
||||||
ENABLE_UPDATES: "false"
|
AWS_S3_ACL: private
|
||||||
OIDC_AUTH_URI: "https://auth.${SECRET_CLUSTER_DOMAIN}/api/oidc/authorization"
|
AWS_S3_FORCE_PATH_STYLE: "true"
|
||||||
OIDC_CLIENT_ID: outline
|
AWS_S3_UPLOAD_BUCKET_NAME: outline
|
||||||
OIDC_CLIENT_SECRET: "${SECRET_OUTLINE_OAUTH_CLIENT_SECRET}"
|
AWS_S3_UPLOAD_BUCKET_URL: "https://truenas.${SECRET_DOMAIN}:51515"
|
||||||
OIDC_DISPLAY_NAME: Authelia
|
AWS_S3_UPLOAD_MAX_SIZE: "26214400"
|
||||||
OIDC_SCOPES: "openid profile email offline_access"
|
ENABLE_UPDATES: "false"
|
||||||
OIDC_TOKEN_URI: "https://auth.${SECRET_CLUSTER_DOMAIN}/api/oidc/token"
|
OIDC_AUTH_URI: "https://auth.${SECRET_CLUSTER_DOMAIN}/api/oidc/authorization"
|
||||||
OIDC_USERINFO_URI: "https://auth.${SECRET_CLUSTER_DOMAIN}/api/oidc/userinfo"
|
OIDC_CLIENT_ID: outline
|
||||||
OIDC_USERNAME_CLAIM: email
|
OIDC_CLIENT_SECRET: "${SECRET_OUTLINE_OAUTH_CLIENT_SECRET}"
|
||||||
PGSSLMODE: disable
|
OIDC_DISPLAY_NAME: Authelia
|
||||||
PORT: 8080
|
OIDC_SCOPES: "openid profile email offline_access"
|
||||||
REDIS_URL: redis://outline-redis.default.svc.cluster.local.:6379
|
OIDC_TOKEN_URI: "https://auth.${SECRET_CLUSTER_DOMAIN}/api/oidc/token"
|
||||||
SMTP_HOST: smtp-relay.default.svc.cluster.local.
|
OIDC_USERINFO_URI: "https://auth.${SECRET_CLUSTER_DOMAIN}/api/oidc/userinfo"
|
||||||
SMTP_PORT: 2525
|
OIDC_USERNAME_CLAIM: email
|
||||||
SMTP_FROM_EMAIL: "outline@${SECRET_DOMAIN}"
|
PGSSLMODE: disable
|
||||||
SMTP_SECURE: "false"
|
PORT: 8080
|
||||||
URL: "https://docs.${SECRET_CLUSTER_DOMAIN}"
|
REDIS_URL: redis://outline-redis.default.svc.cluster.local.:6379
|
||||||
WEB_CONCURRENCY: 10
|
SMTP_HOST: smtp-relay.default.svc.cluster.local.
|
||||||
command:
|
SMTP_PORT: 2525
|
||||||
[
|
SMTP_FROM_EMAIL: "outline@${SECRET_DOMAIN}"
|
||||||
"/bin/sh",
|
SMTP_SECURE: "false"
|
||||||
"-c",
|
URL: "https://docs.${SECRET_CLUSTER_DOMAIN}"
|
||||||
"yarn db:migrate --env=production-ssl-disabled && yarn start --env=production-ssl-disabled",
|
WEB_CONCURRENCY: 10
|
||||||
]
|
command:
|
||||||
|
[
|
||||||
|
"/bin/sh",
|
||||||
|
"-c",
|
||||||
|
"yarn db:migrate --env=production-ssl-disabled && yarn start --env=production-ssl-disabled",
|
||||||
|
]
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 250Mi
|
||||||
|
limits:
|
||||||
|
memory: 750Mi
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
@@ -83,27 +94,16 @@ spec:
|
|||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
enabled: true
|
enabled: true
|
||||||
ingressClassName: "nginx"
|
className: "nginx"
|
||||||
annotations:
|
annotations:
|
||||||
hajimari.io/icon: mdi:text-box-multiple
|
hajimari.io/icon: mdi:text-box-multiple
|
||||||
hosts:
|
hosts:
|
||||||
- host: &host "docs.${SECRET_CLUSTER_DOMAIN}"
|
- host: &host "docs.${SECRET_CLUSTER_DOMAIN}"
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
service:
|
||||||
|
name: main
|
||||||
|
port: http
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- *host
|
- *host
|
||||||
topologySpreadConstraints:
|
|
||||||
- maxSkew: 1
|
|
||||||
topologyKey: kubernetes.io/hostname
|
|
||||||
whenUnsatisfiable: DoNotSchedule
|
|
||||||
labelSelector:
|
|
||||||
matchLabels:
|
|
||||||
app.kubernetes.io/name: *app
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 10m
|
|
||||||
memory: 250Mi
|
|
||||||
limits:
|
|
||||||
memory: 750Mi
|
|
||||||
|
Reference in New Issue
Block a user