feat(deploy): add scripts for k3d installation and SSH tunnel setup

This commit is contained in:
Janis Eccarius
2026-05-30 14:30:44 +02:00
parent cb28dc88b1
commit 1ed4fc4c33
8 changed files with 44 additions and 64 deletions
+1 -3
View File
@@ -5,8 +5,6 @@ metadata:
namespace: flux-system
spec:
interval: 1m
url: ssh://git@git.janis-eccarius.de/NowChess/GitOps.git
url: https://git.janis-eccarius.de/NowChess/GitOps.git
ref:
branch: main
secretRef:
name: gitops-ssh
-1
View File
@@ -7,7 +7,6 @@ resources:
- cert-manager.yaml
- ingress-nginx.yaml
- sealed-secrets.yaml
- metrics-server.yaml
- redis.yaml
- argo-rollouts.yaml
- nowchess.yaml
+5
View File
@@ -22,3 +22,8 @@ apiVersion: v1
kind: Namespace
metadata:
name: ingress-nginx
---
apiVersion: v1
kind: Namespace
metadata:
name: postgres
+30 -13
View File
@@ -1,15 +1,32 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: postgres-tunnel
namespace: flux-system
name: postgres
namespace: postgres
spec:
interval: 10m
retryInterval: 2m
sourceRef:
kind: GitRepository
name: gitops
namespace: flux-system
path: ./postgres-tunnel/htwg-1
prune: true
timeout: 3m
interval: 1h
chart:
spec:
chart: postgresql
version: "16.x"
sourceRef:
kind: HelmRepository
name: bitnami
namespace: flux-system
values:
auth:
database: nowchess
existingSecret: postgres-credentials
secretKeys:
adminPasswordKey: postgres-password
primary:
persistence:
enabled: true
size: 5Gi
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
+2 -1
View File
@@ -40,8 +40,9 @@ metadata:
name: bitnami
namespace: flux-system
spec:
type: oci
interval: 12h
url: https://charts.bitnami.com/bitnami
url: oci://registry-1.docker.io/bitnamicharts
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository