mirror of
https://github.com/mii443/ncb-chat.git
synced 2025-08-22 16:15:27 +00:00
29 lines
598 B
YAML
29 lines
598 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: ncb-ping-deployment
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: ncb-ping
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: ncb-ping
|
|
spec:
|
|
containers:
|
|
- name: ping
|
|
image: ghcr.io/morioka22/ncb-ping
|
|
env:
|
|
- name: NCB_TOKEN
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: ncb-secret
|
|
key: BOT_TOKEN
|
|
- name: NCB_APP_ID
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: ncb-secret
|
|
key: APP_ID
|