1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: phpmyadmin
- labels:
- env: prod
- name: mariadb
- spec:
- replicas: 1
- selector:
- matchLabels:
- name: phpmyadmin
- template:
- metadata:
- name: phpmyadmin
- labels:
- name: phpmyadmin
- spec:
- containers:
- - name: phpmyadmin
- image: phpmyadmin
- env:
- - name: PMA_ARBITRARY
- value: "1"
- - name: PMA_HOST
- value: "mariadb.default.svc.cluster.local"
- - name: PMA_VERBOSE
- value: "DodgesDB"
- - name: PMA_PORT
- value: "3306"
- - name: PMA_ABSOLUTE_URI
- value: "http://db.dodges.it/"
- - name: PMA_CONTROLUSER
- value: "qdii"
- - name: PMA_CONTROLPASS
- valueFrom:
- secretKeyRef:
- name: phpmyadmin
- key: pma_controlpass
- ports:
- - containerPort: 80
- name: http
- livenessProbe:
- httpGet:
- path: /
- port: 80
- resources:
- requests:
- memory: "100Mi"
|