Added Argo Manifests
This commit is contained in:
16
examples/configmap.yaml
Normal file
16
examples/configmap.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: telegram-config
|
||||
namespace: groupfactory
|
||||
labels:
|
||||
app.kubernetes.io/name: groupfactory
|
||||
data:
|
||||
API_HOST: "0.0.0.0"
|
||||
API_PORT: "8000"
|
||||
LOG_LEVEL: "INFO"
|
||||
MONGODB_DATABASE: "imsuserbot"
|
||||
MONGODB_COLLECTION: "ghconfig"
|
||||
TELETHON_API_ID: "123456"
|
||||
STAFF_CHAT_ID: "-1001234567890"
|
||||
FACTORY_BOT_ID: "123456789"
|
||||
14
examples/secret.yaml
Normal file
14
examples/secret.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: groupfactory-tg-auth
|
||||
namespace: groupfactory
|
||||
labels:
|
||||
app.kubernetes.io/name: groupfactory
|
||||
type: Opaque
|
||||
stringData:
|
||||
API_KEY: "change-me-api-key"
|
||||
MONGODB_URI: "mongodb://mongo:27017"
|
||||
TELETHON_API_HASH: "replace-with-telegram-api-hash"
|
||||
# Generate with: python3 scripts/generate_telegram_session.py
|
||||
TELETHON_TOKEN: "replace-with-telethon-session-token"
|
||||
Reference in New Issue
Block a user