Add phpMyAdmin Studio service
This commit is contained in:
parent
0f2c3ab52e
commit
b494e08cb8
11 changed files with 224 additions and 0 deletions
32
infrastructure/gateway/envoy/routes/phpmyadmin.yaml
Normal file
32
infrastructure/gateway/envoy/routes/phpmyadmin.yaml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: phpmyadmin
|
||||
namespace: phpmyadmin
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: public-gateway
|
||||
namespace: apps
|
||||
hostnames:
|
||||
- "www.symcrest.com"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: Exact
|
||||
value: /services/studio/phpmyadmin
|
||||
filters:
|
||||
- type: RequestRedirect
|
||||
requestRedirect:
|
||||
scheme: https
|
||||
path:
|
||||
type: ReplaceFullPath
|
||||
replaceFullPath: /services/studio/phpmyadmin/
|
||||
statusCode: 301
|
||||
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /services/studio/phpmyadmin/
|
||||
backendRefs:
|
||||
- name: phpmyadmin
|
||||
port: 80
|
||||
|
|
@ -8,3 +8,8 @@ kind: Namespace
|
|||
metadata:
|
||||
name: pgadmin
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: phpmyadmin
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@ spec:
|
|||
- fromEndpoints:
|
||||
- matchLabels:
|
||||
k8s:io.kubernetes.pod.namespace: leantime-poc
|
||||
- matchLabels:
|
||||
k8s:io.kubernetes.pod.namespace: phpmyadmin
|
||||
toPorts:
|
||||
- ports:
|
||||
- port: "3306"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue