Migrated k3s manifests to use traefik ingres route
This commit is contained in:
@@ -101,7 +101,7 @@ metadata:
|
||||
name: pgadmin-service
|
||||
namespace: pgadmin
|
||||
spec:
|
||||
type: NodePort
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: pgadmin
|
||||
ports:
|
||||
@@ -109,5 +109,18 @@ spec:
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
||||
nodePort: 32081
|
||||
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: pgadmin-web
|
||||
namespace: pgadmin
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`pgadmin.khongisa.co.za`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: pgadmin-service
|
||||
port: 80
|
||||
Reference in New Issue
Block a user