add infra app redis-insight

This commit is contained in:
2024-07-21 00:40:43 +10:00
parent d8dc53fac4
commit 82149b8f6d
6 changed files with 111 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{
"appName": "redis-insight",
"userGivenName": "redis-insight",
"namespace": "redis",
"destNamespace": "redis",
"destServer": "https://kubernetes.default.svc",
"srcPath": "infrastructures/redis-insight/env/k3s-cluster",
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
"srcTargetRevision": "",
"labels": null,
"annotations": null
}

View File

@@ -0,0 +1,21 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: redis-insight-ingress
namespace: redis
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/use-regex: "true"
spec:
ingressClassName: nginx
rules:
- host: "redis-insight.cluster.edward.sydney"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: redis-insight
port:
number: 5540

View File

@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
- ./ingress.yaml