Merge pull request #606 from 3dwardch3ng/infra/couchdb

add ingress for couchdb
This commit is contained in:
2024-07-22 01:57:00 +10:00
committed by GitHub
2 changed files with 23 additions and 1 deletions

View File

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

View File

@@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./service.yaml
- ./deployment.yaml
- ./deployment.yaml
- ./ingress.yaml