Skip to content

Commit

Permalink
feat(app): add ingress with tls for hello world
Browse files Browse the repository at this point in the history
Signed-off-by: iverly <[email protected]>
  • Loading branch information
iverly committed Apr 18, 2024
1 parent d54910d commit 4203a1c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/hello-world/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ namespace: hello-world-app

resources:
- manifests/deployment.yaml
- manifests/ingress.yaml
- manifests/service.yaml
24 changes: 24 additions & 0 deletions apps/hello-world/manifests/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: hello-world
annotations:
cert-manager.io/cluster-issuer: cluster-issuer
spec:
ingressClassName: nginx
rules:
- host: hello-world.apko.do-2021.fr
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: hello-world
port:
number: 8080
tls:
- hosts:
- hello-world.apko.do-2021.fr
secretName: hello-world.apko.do-2021.fr

0 comments on commit 4203a1c

Please sign in to comment.