Compare commits

..

91 Commits

Author SHA1 Message Date
gitea-admin 2124c128d9 feat: add postgres deployment and service for pelican panel 2026-05-20 00:17:35 +00:00
gitea-admin b26ef35c7e fix: mount pelican-data PVC at /pelican-data with init container for permissions 2026-05-20 00:09:53 +00:00
gitea-admin 059d189677 fix: remove volume mounts to restore app startup — keep DB_CONNECTION=pgsql 2026-05-20 00:06:46 +00:00
gitea-admin 472783d3d9 fix: revert volume mounts — keep DB_CONNECTION=pgsql only 2026-05-20 00:05:55 +00:00
gitea-admin 044c123dfa fix: add DB_CONNECTION=pgsql, fix containerPort and volumeMount paths 2026-05-20 00:04:09 +00:00
gitea-admin fe012ea282 fix: correct pelican service targetPort to 80 (Caddy binds :80 not :8080) 2026-05-20 00:00:28 +00:00
gitea-admin bbbfeaf155 fix: add Certificate CR for pelican-panel-tls — IngressRoute requires explicit cert, not annotation 2026-05-19 23:52:27 +00:00
gitea-admin e17934a749 fix: replicas 1 + Recreate strategy (RWO PVCs), fix SESSION_SECURE key 2026-05-19 23:44:49 +00:00
gitea-admin a98c45decd fix: config.yml volume mount, correct UUID (8f81 segment), remove envFrom 2026-05-19 23:39:09 +00:00
gitea-admin c71b31fab2 fix: add PVC for wings-valheim game data 2026-05-19 23:39:09 +00:00
gitea-admin d961fcde77 fix: add ExternalSecret for wings-valheim config from Vault 2026-05-19 23:39:09 +00:00
gitea-admin 074c2e764e fix: correct image from bitwarden/server to vaultwarden/server 2026-05-19 23:39:08 +00:00
gitea-admin 27cf0e28c3 fix: add privileged PodSecurity label — Wings dind requires privileged containers 2026-05-19 23:39:08 +00:00
gitea-admin 63d453ef07 fix: remove envFrom — Wings reads config.yml from mounted volume, not env vars 2026-05-19 23:30:44 +00:00
gitea-admin 22efb57ced fix: secretStoreRef orion-vault, correct Vault key path, map config→config.yml 2026-05-19 23:30:44 +00:00
gitea-admin 1b71d5e100 fix: add BEHIND_PROXY=true — panel runs behind Traefik, Caddy must not handle SSL 2026-05-19 23:30:43 +00:00
gitea-admin 196ee24009 fix: add secretStoreRef orion-vault and fix Vault key paths 2026-05-19 23:24:43 +00:00
gitea-admin 301cfc25bc fix: add secretStoreRef orion-vault and fix Vault key paths 2026-05-19 23:24:42 +00:00
gitea-admin 667bdf52c4 fix: add secretStoreRef orion-vault and fix Vault key paths 2026-05-19 23:24:42 +00:00
gitea-admin 7dc5bfab48 fix: revert accessMode to ReadWriteOnce (immutable on bound PVC), keep 3Ti resize 2026-05-19 23:10:29 +00:00
gitea-admin 6cf0a26c9b fix: update ExternalSecret apiVersion to external-secrets.io/v1 2026-05-19 23:10:29 +00:00
gitea-admin afe794aea3 fix: update ExternalSecret apiVersion to external-secrets.io/v1 2026-05-19 23:10:28 +00:00
gitea-admin e23c5f5b7f fix: update ExternalSecret apiVersion to external-secrets.io/v1 2026-05-19 23:10:28 +00:00
gitea-admin 61bbe21b90 fix: update ExternalSecret apiVersion to external-secrets.io/v1 2026-05-19 23:10:28 +00:00
gitea-admin 5aa5eefdf2 fix: update IngressRoute apiVersion to traefik.io/v1alpha1 2026-05-19 23:10:27 +00:00
gitea-admin d822cbe546 Update deployments/media/pvc.yaml 2026-05-19 22:25:57 +00:00
gitea-admin 9386134fc7 Update deployments/media/lidarr/pvc.yaml 2026-05-19 22:22:55 +00:00
gitea-admin 1286ebae4a Update deployments/media/emby/pvc.yaml 2026-05-19 22:22:43 +00:00
gitea-admin 6b434e5230 Update deployments/media/bazarr/pvc.yaml 2026-05-19 22:22:22 +00:00
gitea-admin 3676a5de46 Update deployments/media/pvc.yaml 2026-05-19 22:22:05 +00:00
gitea-admin f4a9de8b82 Delete deployments/media/media-pvc.yaml 2026-05-19 22:21:53 +00:00
gitea-admin 37cb3bbeb6 Update deployments/media/sonarr/pvc.yaml 2026-05-19 22:21:37 +00:00
gitea-admin 56320aa920 Update deployments/media/sonarrpvc.yaml 2026-05-19 22:21:30 +00:00
gitea-admin 86e817e3c3 Update deployments/media/radarr/pvc.yaml 2026-05-19 22:21:20 +00:00
gitea-admin 91f0184941 Update deployments/media/prowlarr/pvc.yaml 2026-05-19 22:21:13 +00:00
gitea-admin 644f777b7c Update deployments/media/lidarr/lidarr-pvc.yaml 2026-05-19 22:21:00 +00:00
gitea-admin f2b20d549a Update deployments/media/emby/emby-pvc.yaml 2026-05-19 22:20:37 +00:00
gitea-admin 70a9f23b7f Update deployments/media/bazarr/bazarr-pvc.yaml 2026-05-19 22:20:26 +00:00
gitea-admin 36d3a45e02 Delete directory 'deployments/bitwarden' 2026-05-19 22:19:40 +00:00
gitea-admin 71348a5a65 Merge pull request 'fix: move Bitwarden to security/bitwarden/ (correct namespace structure)' (#101) from orion/auto/fix-move-bitwarden-to-security-bitwarden-1779229047173 into main
Reviewed-on: #101
2026-05-19 22:19:00 +00:00
gitea-admin 2d1b6cf487 fix: move Bitwarden to security/bitwarden/ (correct namespace structure)
Validate Manifests / validate (pull_request) Has been cancelled
2026-05-19 22:17:30 +00:00
gitea-admin 1436def461 fix: move Bitwarden to security/bitwarden/ (correct namespace structure) 2026-05-19 22:17:30 +00:00
gitea-admin 309c291917 fix: move Bitwarden to security/bitwarden/ (correct namespace structure) 2026-05-19 22:17:29 +00:00
gitea-admin 0b35e7500a fix: move Bitwarden to security/bitwarden/ (correct namespace structure) 2026-05-19 22:17:29 +00:00
gitea-admin 96e4179de5 fix: move Bitwarden to security/bitwarden/ (correct namespace structure) 2026-05-19 22:17:29 +00:00
gitea-admin 18c7a798d4 fix: move Bitwarden to security/bitwarden/ (correct namespace structure) 2026-05-19 22:17:28 +00:00
gitea-admin 4a170e2a7b fix: move Bitwarden to security/bitwarden/ (correct namespace structure) 2026-05-19 22:17:28 +00:00
gitea-admin 61faadcea3 fix: move Bitwarden to security/bitwarden/ (correct namespace structure) 2026-05-19 22:17:28 +00:00
gitea-admin 6619978c47 fix: move Bitwarden to security/bitwarden/ (correct namespace structure) 2026-05-19 22:17:27 +00:00
gitea-admin ce7384d92e fix: move Bitwarden to security/bitwarden/ (correct namespace structure) 2026-05-19 22:17:27 +00:00
gitea-admin 082a79b613 Merge pull request 'feat: deploy Bitwarden vault to security namespace' (#99) from orion/auto/feat-deploy-bitwarden-vault-to-security--1779180493216 into main
Reviewed-on: #99
2026-05-19 08:48:38 +00:00
gitea-admin e44858053c feat: deploy Bitwarden vault to security namespace
Validate Manifests / validate (pull_request) Has been cancelled
2026-05-19 08:48:14 +00:00
gitea-admin 56141866cb feat: deploy Bitwarden vault to security namespace 2026-05-19 08:48:14 +00:00
gitea-admin 808f2aff06 feat: deploy Bitwarden vault to security namespace 2026-05-19 08:48:13 +00:00
gitea-admin b03242120e feat: deploy Bitwarden vault to security namespace 2026-05-19 08:48:13 +00:00
gitea-admin 96cf67dfa0 Merge pull request 'feat: deploy Bitwarden self-hosted in security namespace' (#97) from orion/auto/feat-deploy-bitwarden-self-hosted-in-sec-1779180155812 into main
Reviewed-on: #97
2026-05-19 08:43:33 +00:00
gitea-admin f882fbff41 feat: deploy Bitwarden self-hosted in security namespace
Validate Manifests / validate (pull_request) Has been cancelled
2026-05-19 08:42:37 +00:00
gitea-admin 3259058743 feat: deploy Bitwarden self-hosted in security namespace 2026-05-19 08:42:37 +00:00
gitea-admin a25bd791ee feat: deploy Bitwarden self-hosted in security namespace 2026-05-19 08:42:36 +00:00
gitea-admin 0db41645f1 feat: deploy Bitwarden self-hosted in security namespace 2026-05-19 08:42:36 +00:00
gitea-admin 8b2476f98e feat: deploy Bitwarden self-hosted in security namespace 2026-05-19 08:42:36 +00:00
gitea-admin e412ed2f37 Merge pull request 'fix: correct Valheim UUID and ingress API version for all Wings instances' (#96) from orion/auto/fix-correct-valheim-uuid-and-ingress-api-1779150243957 into main
Reviewed-on: #96
2026-05-19 00:24:22 +00:00
gitea-admin 54afdb38c6 fix: correct Valheim UUID and ingress API version for all Wings instances
Validate Manifests / validate (pull_request) Has been cancelled
2026-05-19 00:24:06 +00:00
gitea-admin b2ec5765b2 fix: correct Valheim UUID and ingress API version for all Wings instances 2026-05-19 00:24:06 +00:00
gitea-admin c2d7fcd637 fix: correct Valheim UUID and ingress API version for all Wings instances 2026-05-19 00:24:06 +00:00
gitea-admin c6b30bb4b5 fix: correct Valheim UUID and ingress API version for all Wings instances 2026-05-19 00:24:05 +00:00
gitea-admin f68f033c1d fix: correct Valheim UUID and ingress API version for all Wings instances 2026-05-19 00:24:05 +00:00
gitea-admin b1cb35b14f fix: correct Valheim UUID and ingress API version for all Wings instances 2026-05-19 00:24:05 +00:00
gitea-admin bc05720128 fix: correct Valheim UUID and ingress API version for all Wings instances 2026-05-19 00:24:04 +00:00
gitea-admin c13886552a fix: correct Valheim UUID and ingress API version for all Wings instances 2026-05-19 00:24:04 +00:00
gitea-admin bd464ac1c9 fix: correct Valheim UUID and ingress API version for all Wings instances 2026-05-19 00:24:04 +00:00
gitea-admin c5f7b5d9fc Merge pull request 'feat(wings): deploy ARK SA Wings instance' (#85) from orion/auto/feat-wings-deploy-ark-sa-wings-instance-1779149339514 into main
Reviewed-on: #85
2026-05-19 00:10:06 +00:00
gitea-admin 0a07edeacd Merge pull request 'feat(pelican): deploy Pelican Panel with database and ingress' (#84) from orion/auto/feat-pelican-deploy-pelican-panel-with-d-1779147272995 into main
Reviewed-on: #84
2026-05-19 00:10:01 +00:00
gitea-admin 3ab8a15189 feat(wings): deploy ARK SA Wings instance
Validate Manifests / validate (pull_request) Has been cancelled
2026-05-19 00:09:01 +00:00
gitea-admin 38703cfa9f feat(wings): deploy ARK SA Wings instance 2026-05-19 00:09:00 +00:00
gitea-admin 6f85288138 feat(wings): deploy ARK SA Wings instance 2026-05-19 00:09:00 +00:00
gitea-admin 484a0a1f79 feat(wings): deploy ARK SA Wings instance 2026-05-19 00:09:00 +00:00
gitea-admin 8827f5f8d1 feat(wings): deploy ARK SA Wings instance 2026-05-19 00:09:00 +00:00
gitea-admin e24a9e4389 feat(wings): deploy ARK SA Wings instance 2026-05-19 00:08:59 +00:00
gitea-admin c212339187 feat(pelican): deploy Pelican Panel with database and ingress
Validate Manifests / validate (pull_request) Has been cancelled
2026-05-18 23:34:35 +00:00
gitea-admin 613b584630 feat(pelican): deploy Pelican Panel with database and ingress 2026-05-18 23:34:34 +00:00
gitea-admin 8e7c1a2ffd feat(pelican): deploy Pelican Panel with database and ingress 2026-05-18 23:34:34 +00:00
gitea-admin c797588088 feat(pelican): deploy Pelican Panel with database and ingress 2026-05-18 23:34:34 +00:00
gitea-admin 3254971789 feat(pelican): deploy Pelican Panel with database and ingress 2026-05-18 23:34:33 +00:00
gitea-admin 2445c058fc feat(pelican): deploy Pelican Panel with database and ingress 2026-05-18 23:34:33 +00:00
gitea-admin b4452ceb6c feat(pelican): deploy Pelican Panel with database and ingress 2026-05-18 23:34:33 +00:00
gitea-admin 928b3dcfce Merge pull request 'feat(game-servers): add game-servers namespace' (#83) from orion/auto/feat-game-servers-add-game-servers-names-1779147254094 into main
Reviewed-on: #83
2026-05-18 23:34:32 +00:00
gitea-admin b7fa149297 Merge pull request 'feat(pelican): add pelican namespace' (#82) from orion/auto/feat-pelican-add-pelican-namespace-1779147240136 into main
Reviewed-on: #82
2026-05-18 23:34:19 +00:00
gitea-admin 2f6bd457b7 feat(game-servers): add game-servers namespace
Validate Manifests / validate (pull_request) Has been cancelled
2026-05-18 23:34:14 +00:00
gitea-admin 9a3f5ba344 feat(pelican): add pelican namespace
Validate Manifests / validate (pull_request) Has been cancelled
2026-05-18 23:34:00 +00:00
gitea-admin 0f667bdb5b Merge pull request 'feat(media): remove Readarr from the media stack' (#81) from orion/auto/feat-media-remove-readarr-from-the-media-1779146111490 into main
Reviewed-on: #81
2026-05-18 23:15:24 +00:00
39 changed files with 902 additions and 5 deletions
+8
View File
@@ -0,0 +1,8 @@
apiVersion: v1
kind: Namespace
metadata:
name: game-servers
labels:
app.kubernetes.io/name: game-servers
app.kubernetes.io/managed-by: orion
pod-security.kubernetes.io/enforce: privileged
@@ -0,0 +1,17 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: wings-7d2d
namespace: game-servers
spec:
entryPoints:
- websecure
tls:
secretName: wings-7d2d-tls
certResolver: letsencrypt
routes:
- match: Host(`wings-7d2d.khalisio.com`)
kind: Rule
services:
- name: wings-7d2d-api
port: 8081
@@ -0,0 +1,118 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: wings-ark-sa
namespace: game-servers
labels:
app: wings-ark-sa
game: ark-sa
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: wings-ark-sa
template:
metadata:
labels:
app: wings-ark-sa
game: ark-sa
spec:
nodeSelector:
kubernetes.io/arch: amd64
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: game
operator: In
values: [ark-sa]
topologyKey: "kubernetes.io/hostname"
volumes:
- name: wings-config
secret:
secretName: wings-ark-sa-config
- name: game-data
persistentVolumeClaim:
claimName: wings-ark-sa-data
- name: docker-socket
emptyDir: {}
- name: autostart-token
secret:
secretName: pelican-autostart-key
containers:
- name: dind
image: docker:dind
args:
- "--storage-driver=vfs"
- "--iptables=false"
securityContext:
privileged: true
volumeMounts:
- name: docker-socket
mountPath: /var/run/docker.sock
env:
- name: DOCKER_TLS_CERTDIR
value: ""
resources:
requests:
cpu: "500m"
memory: "512Mi"
limits:
cpu: "1"
memory: "1Gi"
- name: wings
image: ghcr.io/pelican-dev/wings:latest
command:
- /bin/sh
- -c
- |
export DOCKER_HOST=tcp://localhost:2375
exec wings
env:
- name: DOCKER_HOST
value: tcp://localhost:2375
- name: WATCHDOG_ENABLED
value: "true"
volumeMounts:
- name: wings-config
mountPath: /etc/pterodactyl
readOnly: true
- name: game-data
mountPath: /mnt/server
- name: docker-socket
mountPath: /var/run/docker.sock
resources:
requests:
cpu: "2"
memory: "4Gi"
limits:
cpu: "4"
memory: "8Gi"
- name: game-autostart
image: curlimages/curl:latest
command:
- /bin/sh
- -c
- |
while true; do
sleep 60
curl -sf -X POST "https://pelican.khalisio.com/api/client/servers/3fd0b08d-7393-4d0f-b11c-bad5e1d1f771/power" \
-H "Authorization: Bearer $(cat /etc/secrets/autostart/api_key)" \
-H "Content-Type: application/json" \
-d '{"signal":"start"}' > /dev/null 2>&1 || true
done
volumeMounts:
- name: autostart-token
mountPath: /etc/secrets/autostart
readOnly: true
resources:
requests:
cpu: "50m"
memory: "64Mi"
limits:
cpu: "100m"
memory: "128Mi"
restartPolicy: Always
@@ -0,0 +1,18 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: wings-ark-sa-config
namespace: game-servers
spec:
refreshInterval: 1h
secretStoreRef:
name: orion-vault
kind: ClusterSecretStore
target:
name: wings-ark-sa-config
creationPolicy: Owner
data:
- secretKey: config.yml
remoteRef:
key: Talos Cluster/wings/ark-sa
property: config
@@ -0,0 +1,17 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: wings-ark-sa
namespace: game-servers
spec:
entryPoints:
- websecure
tls:
secretName: wings-ark-sa-tls
certResolver: letsencrypt
routes:
- match: Host(`wings-ark-sa.khalisio.com`)
kind: Rule
services:
- name: wings-ark-sa-api
port: 8081
@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: wings-ark-sa-data
namespace: game-servers
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 150Gi
@@ -0,0 +1,18 @@
apiVersion: v1
kind: Service
metadata:
name: wings-ark-sa-api
namespace: game-servers
spec:
type: ClusterIP
ports:
- name: api
port: 8081
targetPort: 8081
protocol: TCP
- name: sftp
port: 2023
targetPort: 2023
protocol: TCP
selector:
app: wings-ark-sa
@@ -0,0 +1,25 @@
apiVersion: v1
kind: Service
metadata:
name: wings-ark-sa-game
namespace: game-servers
annotations:
metallb.universe.tf/address-pool: default-lb-pool
spec:
type: LoadBalancer
loadBalancerIP: 10.4.4.200
ports:
- name: ark-game
port: 7777
protocol: UDP
targetPort: 7777
- name: ark-query
port: 27015
protocol: UDP
targetPort: 27015
- name: ark-tcp
port: 27016
protocol: TCP
targetPort: 27016
selector:
app: wings-ark-sa
@@ -0,0 +1,17 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: wings-enshrouded
namespace: game-servers
spec:
entryPoints:
- websecure
tls:
secretName: wings-enshrouded-tls
certResolver: letsencrypt
routes:
- match: Host(`wings-enshrouded.khalisio.com`)
kind: Rule
services:
- name: wings-enshrouded-api
port: 8081
@@ -0,0 +1,17 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: wings-moria
namespace: game-servers
spec:
entryPoints:
- websecure
tls:
secretName: wings-moria-tls
certResolver: letsencrypt
routes:
- match: Host(`wings-moria.khalisio.com`)
kind: Rule
services:
- name: wings-moria-api
port: 8081
@@ -0,0 +1,17 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: wings-palworld
namespace: game-servers
spec:
entryPoints:
- websecure
tls:
secretName: wings-palworld-tls
certResolver: letsencrypt
routes:
- match: Host(`wings-palworld.khalisio.com`)
kind: Rule
services:
- name: wings-palworld-api
port: 8081
@@ -0,0 +1,17 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: wings-satisfactory
namespace: game-servers
spec:
entryPoints:
- websecure
tls:
secretName: wings-satisfactory-tls
certResolver: letsencrypt
routes:
- match: Host(`wings-satisfactory.khalisio.com`)
kind: Rule
services:
- name: wings-satisfactory-api
port: 8081
@@ -0,0 +1,17 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: wings-sotf
namespace: game-servers
spec:
entryPoints:
- websecure
tls:
secretName: wings-sotf-tls
certResolver: letsencrypt
routes:
- match: Host(`wings-sotf.khalisio.com`)
kind: Rule
services:
- name: wings-sotf-api
port: 8081
@@ -0,0 +1,111 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: wings-valheim
namespace: game-servers
labels:
app.kubernetes.io/name: wings
app.kubernetes.io/component: game-server
app.kubernetes.io/part-of: pelican
game: valheim
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: wings-valheim
template:
metadata:
labels:
app: wings-valheim
game: valheim
spec:
nodeSelector:
kubernetes.io/arch: amd64
volumes:
- name: wings-config
secret:
secretName: wings-valheim-config
- name: docker-socket
emptyDir: {}
- name: dind-storage
emptyDir: {}
- name: server-data
persistentVolumeClaim:
claimName: wings-valheim-data
- name: autostart-token
secret:
secretName: pelican-autostart-key
containers:
- name: dind
image: docker:24-dind
securityContext:
privileged: true
env:
- name: DOCKER_TLS_CERTDIR
value: ""
volumeMounts:
- name: docker-socket
mountPath: /var/run
- name: dind-storage
mountPath: /var/lib/docker
resources:
requests:
cpu: "500m"
memory: "512Mi"
limits:
cpu: "1"
memory: "1Gi"
- name: wings
image: ghcr.io/pelican-dev/wings:latest
command:
- /bin/sh
- -c
- |
export DOCKER_HOST=tcp://localhost:2375
exec wings
env:
- name: DOCKER_HOST
value: tcp://localhost:2375
- name: WATCHDOG_ENABLED
value: "true"
volumeMounts:
- name: wings-config
mountPath: /etc/pterodactyl
readOnly: true
- name: docker-socket
mountPath: /var/run/docker.sock
- name: server-data
mountPath: /mnt/server
resources:
requests:
cpu: "1"
memory: "2Gi"
limits:
cpu: "4"
memory: "8Gi"
- name: game-autostart
image: curlimages/curl:latest
command:
- /bin/sh
- -c
- |
while true; do
sleep 60
curl -sf -X POST "https://pelican.khalisio.com/api/client/servers/9d09e83d-00c3-4404-8f81-07c0522a6c25/power" \
-H "Authorization: Bearer $(cat /etc/secrets/autostart/api_key)" \
-H "Content-Type: application/json" \
-d '{"signal":"start"}' > /dev/null 2>&1 || true
done
volumeMounts:
- name: autostart-token
mountPath: /etc/secrets/autostart
readOnly: true
resources:
requests:
cpu: "50m"
memory: "64Mi"
limits:
cpu: "100m"
memory: "128Mi"
@@ -0,0 +1,18 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: wings-valheim-config
namespace: game-servers
spec:
refreshInterval: 1h
secretStoreRef:
name: orion-vault
kind: ClusterSecretStore
target:
name: wings-valheim-config
creationPolicy: Owner
data:
- secretKey: config.yml
remoteRef:
key: Talos Cluster/wings/valheim
property: config
@@ -0,0 +1,17 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: wings-valheim
namespace: game-servers
spec:
entryPoints:
- websecure
tls:
secretName: wings-valheim-tls
certResolver: letsencrypt
routes:
- match: Host(`wings-valheim.khalisio.com`)
kind: Rule
services:
- name: wings-valheim-api
port: 8081
@@ -0,0 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: wings-valheim-data
namespace: game-servers
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 100Gi
@@ -9,4 +9,5 @@ spec:
storageClassName: longhorn
resources:
requests:
storage: 500Gi
storage: 3Ti
+12
View File
@@ -0,0 +1,12 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: pelican-panel-tls
namespace: pelican
spec:
secretName: pelican-panel-tls
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
dnsNames:
- pelican.khalisio.com
+100
View File
@@ -0,0 +1,100 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: pelican-panel
namespace: pelican
labels:
app.kubernetes.io/name: pelican
app.kubernetes.io/component: panel
app.kubernetes.io/managed-by: orion
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app.kubernetes.io/name: pelican
app.kubernetes.io/component: panel
template:
metadata:
labels:
app.kubernetes.io/name: pelican
app.kubernetes.io/component: panel
spec:
initContainers:
- name: fix-perms
image: busybox
command: ["sh", "-c", "chown -R 82:82 /pelican-data && chmod -R 770 /pelican-data"]
volumeMounts:
- name: data
mountPath: /pelican-data
containers:
- name: panel
image: ghcr.io/pelican-dev/panel:latest
ports:
- name: http
containerPort: 80
protocol: TCP
env:
- name: APP_ENV
value: production
- name: APP_NAME
value: "Pelican"
- name: APP_URL
value: "https://pelican.khalisio.com"
- name: BEHIND_PROXY
value: "true"
- name: DB_CONNECTION
value: pgsql
- name: DB_HOST
value: postgres.pelican.svc.cluster.local
- name: DB_PORT
value: "5432"
- name: DB_DATABASE
value: pelican
- name: DB_USERNAME
valueFrom:
secretKeyRef:
name: pelican-panel-db
key: DB_USER
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: pelican-panel-db
key: DB_PASSWORD
- name: APP_KEY
valueFrom:
secretKeyRef:
name: pelican-panel-app
key: APP_KEY
- name: SESSION_SECURE
valueFrom:
secretKeyRef:
name: pelican-panel-app
key: SESSION_SECURE
- name: OAUTH_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: pelican-panel-app
key: OAUTH_CLIENT_SECRET
- name: OAUTH_CLIENT_ID
value: pelican-panel
- name: OAUTH_BASE_URI
value: "https://pelican.khalisio.com"
- name: OAUTH_AUTH_SERVER_URI
value: "https://auth.khalisio.com"
- name: OAUTH_CLIENT_PORTAL_URI
value: "https://auth.khalisio.com"
- name: OAUTH_CLIENT_ADMIN_URI
value: "https://auth.khalisio.com"
- name: CACHE_DRIVER
value: file
- name: SESSION_DRIVER
value: file
volumeMounts:
- name: data
mountPath: /pelican-data
volumes:
- name: data
persistentVolumeClaim:
claimName: pelican-data
@@ -0,0 +1,26 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: pelican-panel-app
namespace: pelican
spec:
refreshInterval: 1h
secretStoreRef:
name: orion-vault
kind: ClusterSecretStore
target:
name: pelican-panel-app
creationPolicy: Owner
data:
- secretKey: APP_KEY
remoteRef:
key: Talos Cluster/pelican/panel/app
property: APP_KEY
- secretKey: SESSION_SECURE
remoteRef:
key: Talos Cluster/pelican/panel/app
property: SESSION_SECURE
- secretKey: OAUTH_CLIENT_SECRET
remoteRef:
key: Talos Cluster/pelican/panel/app
property: OAUTH_CLIENT_SECRET
@@ -0,0 +1,18 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: pelican-autostart-key
namespace: pelican
spec:
refreshInterval: 1h
secretStoreRef:
name: orion-vault
kind: ClusterSecretStore
target:
name: pelican-autostart-key
creationPolicy: Owner
data:
- secretKey: api_key
remoteRef:
key: Talos Cluster/pelican/panel/autostart
property: api_key
@@ -0,0 +1,22 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: pelican-panel-db
namespace: pelican
spec:
refreshInterval: 1h
secretStoreRef:
name: orion-vault
kind: ClusterSecretStore
target:
name: pelican-panel-db
creationPolicy: Owner
data:
- secretKey: DB_PASSWORD
remoteRef:
key: Talos Cluster/pelican/panel/db
property: DB_PASSWORD
- secretKey: DB_USER
remoteRef:
key: Talos Cluster/pelican/panel/db
property: DB_USER
+20
View File
@@ -0,0 +1,20 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: pelican-panel
namespace: pelican
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
entryPoints:
- websecure
tls:
secretName: pelican-panel-tls
routes:
- match: Host(`pelican.khalisio.com`)
kind: Rule
services:
- name: pelican-panel
port: 80
scheme: http
+7
View File
@@ -0,0 +1,7 @@
apiVersion: v1
kind: Namespace
metadata:
name: pelican
labels:
app.kubernetes.io/name: pelican
app.kubernetes.io/managed-by: orion
+82
View File
@@ -0,0 +1,82 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: postgres-data
namespace: pelican
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 10Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: postgres
namespace: pelican
labels:
app.kubernetes.io/name: postgres
app.kubernetes.io/component: database
app.kubernetes.io/managed-by: orion
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app.kubernetes.io/name: postgres
app.kubernetes.io/component: database
template:
metadata:
labels:
app.kubernetes.io/name: postgres
app.kubernetes.io/component: database
spec:
containers:
- name: postgres
image: postgres:16
ports:
- containerPort: 5432
protocol: TCP
env:
- name: POSTGRES_DB
value: pelican
- name: POSTGRES_USER
valueFrom:
secretKeyRef:
name: pelican-panel-db
key: DB_USER
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: pelican-panel-db
key: DB_PASSWORD
- name: PGDATA
value: /var/lib/postgresql/data/pgdata
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
volumes:
- name: data
persistentVolumeClaim:
claimName: postgres-data
---
apiVersion: v1
kind: Service
metadata:
name: postgres
namespace: pelican
labels:
app.kubernetes.io/name: postgres
app.kubernetes.io/component: database
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: postgres
app.kubernetes.io/component: database
ports:
- port: 5432
targetPort: 5432
protocol: TCP
+18
View File
@@ -0,0 +1,18 @@
apiVersion: v1
kind: Service
metadata:
name: pelican-panel
namespace: pelican
labels:
app.kubernetes.io/name: pelican
app.kubernetes.io/component: panel
spec:
type: ClusterIP
selector:
app.kubernetes.io/name: pelican
app.kubernetes.io/component: panel
ports:
- name: http
port: 80
targetPort: 80
protocol: TCP
+25
View File
@@ -0,0 +1,25 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pelican-data
namespace: pelican
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
storageClassName: longhorn
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pelican-logs
namespace: pelican
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
storageClassName: longhorn
@@ -0,0 +1,45 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: bitwarden
namespace: security
labels:
app: bitwarden
spec:
replicas: 1
selector:
matchLabels:
app: bitwarden
template:
metadata:
labels:
app: bitwarden
spec:
containers:
- name: bitwarden
image: vaultwarden/server:latest
ports:
- containerPort: 80
env:
- name: BW_ADMIN_DOMAIN
value: bitwarden.khalisio.com
- name: WEBSOCKETS_ENABLED
value: "true"
- name: SIGNUPS_ALLOWED
value: "true"
- name: DOMAIN
value: https://bitwarden.khalisio.com
volumeMounts:
- name: bitwarden-data
mountPath: /data
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
volumes:
- name: bitwarden-data
persistentVolumeClaim:
claimName: bitwarden-data
@@ -0,0 +1,25 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: bitwarden
namespace: security
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
ingressClassName: traefik
tls:
- hosts:
- bitwarden.khalisio.com
secretName: bitwarden-tls
rules:
- host: bitwarden.khalisio.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: bitwarden
port:
number: 80
@@ -1,12 +1,12 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: media-data
namespace: media
name: bitwarden-data
namespace: security
spec:
accessModes:
- ReadWriteMany
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 500Gi
storage: 5Gi
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: bitwarden
namespace: security
spec:
selector:
app: bitwarden
ports:
- name: http
port: 80
targetPort: 80
type: ClusterIP
+7
View File
@@ -0,0 +1,7 @@
apiVersion: v1
kind: Namespace
metadata:
name: security
labels:
app.kubernetes.io/name: security
app.kubernetes.io/managed-by: orion