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 protocol: TCP
env: env:
- name: PMA_HOSTS - 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 - name: PMA_PORTS
value: 3306,3306 valueFrom:
configMapKeyRef:
name: phpmyadmin-connections
key: PMA_HOSTS
- name: PMA_ABSOLUTE_URI - name: PMA_ABSOLUTE_URI
value: https://phpmyadmin.k-space.ee/ value: https://phpmyadmin.k-space.ee/
- name: UPLOAD_LIMIT - name: UPLOAD_LIMIT
@ -60,6 +66,8 @@ spec:
groups: Remote-Groups groups: Remote-Groups
name: Remote-Name name: Remote-Name
user: Remote-Username user: Remote-Username
allowedGroups:
- k-space:floor
--- ---
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress