mirror of
https://github.com/argoproj/argocd-example-apps.git
synced 2024-11-13 09:33:55 +01:00
31 lines
619 B
YAML
31 lines
619 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: catalogue-db
|
|
labels:
|
|
name: catalogue-db
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
name: catalogue-db
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: catalogue-db
|
|
spec:
|
|
containers:
|
|
- name: catalogue-db
|
|
image: weaveworksdemos/catalogue-db:0.3.0
|
|
env:
|
|
- name: MYSQL_ROOT_PASSWORD
|
|
value: fake_password
|
|
- name: MYSQL_DATABASE
|
|
value: socksdb
|
|
ports:
|
|
- name: mysql
|
|
containerPort: 3306
|
|
nodeSelector:
|
|
beta.kubernetes.io/os: linux
|