mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-11 17:18:28 +02:00
26 lines
487 B
YAML
26 lines
487 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
namespace: default
|
|
name: micro-bot
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
name: micro-bot
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: micro-bot
|
|
spec:
|
|
containers:
|
|
- name: bot
|
|
command: [
|
|
"/micro",
|
|
"bot",
|
|
"--inputs=slack",
|
|
"--slack_token=YOUR_SLACK_TOKEN"
|
|
]
|
|
image: microhq/micro:bot
|
|
imagePullPolicy: Always
|