summaryrefslogtreecommitdiff
path: root/k8s/pod/mariadb-pod.yaml
blob: 4d5fb609d87c7d7e82514275786f7248a80ac63f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
apiVersion: v1beta1
kind: Pod
desiredState:
  manifest:
    volumes:
      - name: mariadb-data
        source:
          emptyDir: {}
    containers:
    - env:
      - name: DB_ROOT_PASSWORD
        value: password
      image: kollaglue/fedora-rdo-mariadb
      name: mariadb
      ports:
      - containerPort: 3306
      volumeMounts:
        - name: mariadb-data
          mountPath: /var/lib/mysql
    id: mariadb-1
    version: v1beta1
id: mariadb
labels:
  name: mariadb