deleted: apps/outline/Chart.yaml
modified: apps/outline/VAULT_SETUP.md new file: apps/outline/dependencies.yaml new file: apps/outline/deployment.yaml new file: apps/outline/ingress.yaml deleted: apps/outline/values.yaml
This commit is contained in:
54
apps/outline/deployment.yaml
Normal file
54
apps/outline/deployment.yaml
Normal file
@@ -0,0 +1,54 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: outline
|
||||
namespace: outline
|
||||
labels:
|
||||
app: outline
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: outline
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: outline
|
||||
spec:
|
||||
containers:
|
||||
- name: outline
|
||||
image: outlinewiki/outline:latest
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: outline-secrets
|
||||
# Outline braucht spezielle Command/Args manchmal nicht, Docker Image hat Entrypoint.
|
||||
# Wichtig: Outline braucht URL Config.
|
||||
env:
|
||||
- name: URL
|
||||
value: "https://kb.apps.k3s.stabify.de"
|
||||
- name: PORT
|
||||
value: "3000"
|
||||
- name: FORCE_HTTPS
|
||||
value: "true"
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 3000
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: outline
|
||||
namespace: outline
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 3000
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
app: outline
|
||||
Reference in New Issue
Block a user