2021-09-11 08:56:37 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: outline
|
|
|
|
namespace: outline
|
|
|
|
annotations:
|
|
|
|
kube-1password: maouivotrbgydslnsukbjrwgja
|
|
|
|
kube-1password/vault: Kubernetes
|
|
|
|
kube-1password/secret-text-key: .env
|
|
|
|
type: Opaque
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: outline
|
|
|
|
namespace: outline
|
|
|
|
spec:
|
|
|
|
type: ClusterIP
|
|
|
|
ports:
|
|
|
|
- port: 80
|
|
|
|
targetPort: web
|
|
|
|
name: web
|
|
|
|
selector:
|
2022-05-07 09:08:41 +00:00
|
|
|
app.kubernetes.io/name: outline
|
2021-09-11 08:56:37 +00:00
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
2022-05-07 09:03:49 +00:00
|
|
|
kind: Deployment
|
2021-09-11 08:56:37 +00:00
|
|
|
metadata:
|
|
|
|
name: outline
|
|
|
|
namespace: outline
|
2022-05-07 09:03:49 +00:00
|
|
|
labels:
|
|
|
|
app.kubernetes.io/name: outline
|
2022-08-20 19:01:52 +00:00
|
|
|
annotations:
|
|
|
|
secret.reloader.stakater.com/reload: "outline"
|
2021-09-11 08:56:37 +00:00
|
|
|
spec:
|
2022-05-07 09:03:49 +00:00
|
|
|
revisionHistoryLimit: 3
|
|
|
|
replicas: 1
|
2021-09-11 08:56:37 +00:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
2022-05-07 09:03:49 +00:00
|
|
|
app.kubernetes.io/name: outline
|
2021-09-11 08:56:37 +00:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
2022-05-07 09:03:49 +00:00
|
|
|
app.kubernetes.io/name: outline
|
2021-09-11 08:56:37 +00:00
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: outline
|
2024-09-22 03:07:35 +00:00
|
|
|
image: outlinewiki/outline:0.80.0
|
2021-09-11 16:31:41 +00:00
|
|
|
imagePullPolicy: IfNotPresent
|
2021-09-11 08:56:37 +00:00
|
|
|
env:
|
|
|
|
- name: ALLOWED_DOMAINS
|
2022-09-04 12:27:28 +00:00
|
|
|
value: marcusnoble.co.uk,namelessplanet.com,paradoxfox.shop
|
2021-09-11 16:14:54 +00:00
|
|
|
- name: OIDC_SCOPES
|
|
|
|
value: "openid profile email"
|
2023-04-24 07:35:10 +00:00
|
|
|
- name: PGSSLMODE
|
|
|
|
value: "disable"
|
2021-09-11 08:56:37 +00:00
|
|
|
ports:
|
|
|
|
- containerPort: 3000
|
|
|
|
name: web
|
2022-05-07 09:03:49 +00:00
|
|
|
livenessProbe:
|
|
|
|
httpGet:
|
|
|
|
path: /_health
|
|
|
|
port: web
|
|
|
|
initialDelaySeconds: 10
|
|
|
|
startupProbe:
|
|
|
|
httpGet:
|
|
|
|
path: /_health
|
|
|
|
port: web
|
|
|
|
failureThreshold: 30
|
|
|
|
timeoutSeconds: 1
|
|
|
|
periodSeconds: 5
|
2021-09-11 08:56:37 +00:00
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /opt/outline/.env
|
|
|
|
subPath: .env
|
|
|
|
name: outline-env
|
|
|
|
readOnly: true
|
2022-05-07 09:04:37 +00:00
|
|
|
volumes:
|
|
|
|
- name: outline-env
|
|
|
|
secret:
|
|
|
|
secretName: outline
|
2021-09-11 08:56:37 +00:00
|
|
|
---
|
2021-10-16 06:31:19 +00:00
|
|
|
apiVersion: networking.k8s.io/v1
|
2021-09-11 08:56:37 +00:00
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: outline
|
|
|
|
namespace: outline
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
2021-10-16 08:46:06 +00:00
|
|
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
2021-09-11 08:56:37 +00:00
|
|
|
spec:
|
2021-10-16 08:46:06 +00:00
|
|
|
ingressClassName: nginx
|
2021-09-11 08:56:37 +00:00
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- outline.cluster.fun
|
|
|
|
secretName: outline-ingress
|
|
|
|
rules:
|
|
|
|
- host: outline.cluster.fun
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
2021-10-16 06:31:19 +00:00
|
|
|
pathType: ImplementationSpecific
|
2021-09-11 08:56:37 +00:00
|
|
|
backend:
|
2021-10-16 06:31:19 +00:00
|
|
|
service:
|
|
|
|
name: outline
|
|
|
|
port:
|
|
|
|
number: 80
|