feat(deploy): add scripts for k3d installation and SSH tunnel setup
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -7,7 +7,6 @@ resources:
|
||||
- cert-manager.yaml
|
||||
- ingress-nginx.yaml
|
||||
- sealed-secrets.yaml
|
||||
- metrics-server.yaml
|
||||
- redis.yaml
|
||||
- argo-rollouts.yaml
|
||||
- nowchess.yaml
|
||||
|
||||
@@ -22,3 +22,8 @@ apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: ingress-nginx
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: postgres
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user