![[Pasted image 20251130163413.png]]
[outline 0.7.3 · community-charts/community-charts](https://artifacthub.io/packages/helm/community-charts/outline)
letsencrypt-prod.yaml
```
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
email:
[email protected]
server: https://acme-v02.api.letsencrypt.org/directory
privateKeySecretRef:
name: letsencrypt-prod
solvers:
- http01:
ingress:
class: traefik
```
```
kubectl apply -f letsencrypt-prod.yaml
```
```
helm repo add community-charts https://community-charts.github.io/helm-charts
helm upgrade --install my-outline community-charts/outline -n outline -f outline.yaml
```
Outline.yaml
```
replicaCount: 1
# =========================================================
# DATABASE – встроенный PostgreSQL
# =========================================================
postgresql:
enabled: true
auth:
username: outline
password: strongpassword
database: outline
primary:
persistence:
enabled: true
size: 8Gi
# =========================================================
# REDIS
# =========================================================
redis:
enabled: true
auth:
enabled: true
master:
persistence:
enabled: true
size: 8Gi
# =========================================================
# SECRETS
# =========================================================
secretKey: "b0c5e6dad49833fa0cb7d233139304724d11a97a07c9aeb331d764c7aeb36bd1"
utilsSecret: "4c075b2e00208a795f23df50996b4d4a2b104b8ee8c8d65a99dba197f8d23449"
# =========================================================
# URL приложения
# =========================================================
url: "https://outline.thedevops.dev"
# =========================================================
# HTTPS ENFORCE
# =========================================================
web:
forceHttps: true
# =========================================================
# FILE STORAGE – LOCAL
# =========================================================
fileStorage:
mode: local
local:
persistence:
enabled: true
size: 8Gi
accessModes:
- ReadWriteOnce
# =========================================================
# INGRESS — TRAEFIK + CERT-MANAGER
# =========================================================
ingress:
enabled: true
className: traefik
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
hosts:
- host: outline.thedevops.dev
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- outline.thedevops.dev
secretName: outline-tls
```
![[Pasted image 20251130163918.png]]