open-telegram.yaml 708 B

1234567891011121314151617181920212223242526272829303132
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: open-telegram
  5. namespace: llm
  6. spec:
  7. replicas: 1
  8. selector:
  9. matchLabels:
  10. name: open-telegram
  11. template:
  12. metadata:
  13. labels:
  14. name: open-telegram
  15. spec:
  16. containers:
  17. - name: open-telegram
  18. image: ruecat/ollama-telegram
  19. imagePullPolicy: "Always"
  20. env:
  21. - name: TOKEN
  22. valueFrom:
  23. secretKeyRef:
  24. name: telegram
  25. key: apitoken
  26. - name: ADMIN_IDS
  27. value: "106663712"
  28. - name: USER_IDS
  29. value: "106663712"
  30. ports:
  31. - containerPort: 11434
  32. name: http