This commit is contained in:
gregory hendrickson
2023-01-26 15:04:48 -08:00
parent fb55e60774
commit 8b60fd8696
3 changed files with 55 additions and 30 deletions

View File

@@ -1,30 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ghost-ingress
namespace: blog
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
rules:
- host: blog.gregattempts.com
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: ghost-blog
port:
number: 80
- host: blog.gregattempts.com
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: ghost-blog-service
port:
number: 80

View File

@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
labels:
name: nginx
name: nginx
spec:
ports:
- name: http-redirect
port: 80
- name: ghost-https
port: 443
selector:
app: nginx-proxy
type: LoadBalancer
loadBalancerIP: 104.196.166.162