1
0
forked from k-space/kube

mysql-clusters: Refer to generated phpMyAdmin config

This commit is contained in:
Lauri Võsandi 2023-09-02 10:58:50 +03:00
parent 36932bfcaa
commit abb25a7eb0

View File

@ -36,9 +36,15 @@ spec:
protocol: TCP
env:
- name: PMA_HOSTS
value: shared.mysql-clusters.svc.cluster.local,external.mysql-clusters.svc.cluster.local
valueFrom:
configMapKeyRef:
name: phpmyadmin-connections
key: PMA_HOSTS
- name: PMA_PORTS
value: 3306,3306
valueFrom:
configMapKeyRef:
name: phpmyadmin-connections
key: PMA_HOSTS
- name: PMA_ABSOLUTE_URI
value: https://phpmyadmin.k-space.ee/
- name: UPLOAD_LIMIT
@ -60,6 +66,8 @@ spec:
groups: Remote-Groups
name: Remote-Name
user: Remote-Username
allowedGroups:
- k-space:floor
---
apiVersion: networking.k8s.io/v1
kind: Ingress