Migrated k3s manifests to use traefik ingres route
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
@@ -97,11 +98,25 @@ metadata:
|
||||
name: mealie-service
|
||||
namespace: mealie
|
||||
spec:
|
||||
type: NodePort
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: mealie
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 9000
|
||||
nodePort: 33007
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: mealie-web
|
||||
namespace: mealie
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`mealie.khongisa.co.za`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: mealie-service
|
||||
port: 80
|
||||
Reference in New Issue
Block a user