Reset git history for making manifests public

This commit is contained in:
2026-06-01 11:06:25 +02:00
commit 3465f139d1
381 changed files with 41241 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
namespace: wiki
name: wikijs-postgresql
spec:
replicas: 1
selector:
matchLabels:
app: wikijs-postgresql
serviceName: wikijs-postgresql
template:
metadata:
labels:
app: wikijs-postgresql
spec:
restartPolicy: Always
terminationGracePeriodSeconds: 60
containers:
- name: wikijs-postgresql
image: postgres:18
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
ports:
- containerPort: 5432
volumeMounts:
- name: wikijs-postgresql-database
mountPath: /var/lib/postgresql/volumes/pgdata
env:
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: wiki-postgresql
key: password
- name: POSTGRES_USER
value: jeffrey
- name: POSTGRES_DB
value: wikijs
- name: PGDATA
value: /var/lib/postgresql/volumes/pgdata/data
volumes:
- name: wikijs-postgresql-database
persistentVolumeClaim:
claimName: wikijs-postgresql-pvc

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
namespace: wiki
name: wikijs-postgresql-pvc
spec:
accessModes:
- ReadWriteMany
storageClassName: longhorn-static
resources:
requests:
storage: 10Gi

View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: wikijs-postgresql
namespace: wiki
spec:
selector:
app: wikijs-postgresql
type: ClusterIP
ports:
- name: wikijs-postgresql-port
protocol: TCP
port: 5432
targetPort: 5432