Skip to content

Commit

Permalink
Update network and ingress configurations for Cedille Wiki to include…
Browse files Browse the repository at this point in the history
… HTTP port naming
  • Loading branch information
SonOfLope committed Nov 10, 2024
1 parent a7b4573 commit 9816661
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
9 changes: 5 additions & 4 deletions apps/cedille-wiki/base/network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ spec:
selector:
app: wiki-cedille
ports:
- protocol: TCP
port: 80
targetPort: 8080

- name: http
targetPort: 8080
protocol: TCP
port: 80
type: ClusterIP
21 changes: 11 additions & 10 deletions apps/cedille-wiki/prod/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: wiki-cedille-ingress
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
ingress.kubernetes.io/force-ssl-redirect: "true"
kubernetes.io/tls-acme: "true"
spec:
ingressClassName: contour
Expand All @@ -12,13 +13,13 @@ spec:
hosts:
- wiki.omni.cedille.club
rules:
- host: wiki.omni.cedille.club
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: wiki-cedille
port:
number: 80
- host: wiki.omni.cedille.club
http:
paths:
- pathType: Prefix
path: /
backend:
service:
name: wiki-cedille
port:
name: http

0 comments on commit 9816661

Please sign in to comment.