Skip to content

Commit 006745e

Browse files
authored
Create mysql-pod-secret.yaml
1 parent 720c757 commit 006745e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

examples/mysql/mysql-pod-secret.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: v1
2+
kind: Pod
3+
metadata:
4+
name: mysql
5+
namespace:
6+
labels:
7+
run: mysql
8+
spec:
9+
containers:
10+
- name: mysql
11+
image: mysql:5.6
12+
envFrom:
13+
- secretRef:
14+
name: mysql
15+
ports:
16+
- name: mysql
17+
protocol: TCP
18+
containerPort: 3306

0 commit comments

Comments
 (0)