⬆️ outline app-template v2

This commit is contained in:
auricom
2023-11-02 21:05:16 +01:00
parent 062b4ef72f
commit 4a41de384a

View File

@@ -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,17 +29,22 @@ 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
envFrom: &envFrom
- secretRef:
name: &secret outline-secret
controller:
strategy: RollingUpdate
annotations: annotations:
reloader.stakater.com/auto: "true" reloader.stakater.com/auto: "true"
initContainers:
init-db:
image:
repository: ghcr.io/auricom/postgres-init
tag: 15.4@sha256:83e1abf06be5741bdfb8cb53fc03a1ade6e6b5ec7b92a8aac0c69ba5dc7e51f0
pullPolicy: IfNotPresent
envFrom: &envFrom
- secretRef:
name: outline-secret
containers:
main:
image: image:
repository: docker.io/outlinewiki/outline repository: docker.io/outlinewiki/outline
tag: 0.72.2 tag: 0.72.2
@@ -75,6 +80,12 @@ spec:
"-c", "-c",
"yarn db:migrate --env=production-ssl-disabled && yarn start --env=production-ssl-disabled", "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