add tele secretbfor webhook

This commit is contained in:
sirius0xdev 2026-05-08 16:16:28 +00:00
parent 3bf9cf1067
commit 86550e1c9c
6 changed files with 63 additions and 8 deletions

View file

@ -9,3 +9,4 @@ resources:
- hermes-webui-service.yaml - hermes-webui-service.yaml
- hermes-service.yaml - hermes-service.yaml
- new-deployment-rays.yaml - new-deployment-rays.yaml
- tele-webhook.yaml

View file

@ -92,6 +92,11 @@ spec:
value: "7528130947" value: "7528130947"
- name: TELEGRAM_WEBHOOK_URL - name: TELEGRAM_WEBHOOK_URL
value: "https://wh.siriusdevops.com/telegram/webhook/default" # Webhook value: "https://wh.siriusdevops.com/telegram/webhook/default" # Webhook
- name: TELEGRAM_WEBHOOK_SECRET
valueFrom:
secretKeyRef:
name: telegram-webhook
key: TELEGRAM_WEBHOOK_SECRET
- name: OPENAI_BASE_URL - name: OPENAI_BASE_URL
value: "http://openclaw-brain-service.customer1.svc.cluster.local:8000/v1" value: "http://openclaw-brain-service.customer1.svc.cluster.local:8000/v1"
- name: HERMES_MODEL_PROVIDER - name: HERMES_MODEL_PROVIDER
@ -179,4 +184,4 @@ spec:
- ReadWriteOnce - ReadWriteOnce
resources: resources:
requests: requests:
storage: 25Gi storage: 25Gi

View file

@ -0,0 +1,22 @@
apiVersion: v1
data:
TELEGRAM_WEBHOOK_SECRET: ENC[AES256_GCM,data:ONRrE7Zx5I/FGHrt/2gsSTVZy5k=,iv:77jEaIMDw+XmY3RPYF2Zf63nZxdcselLtrcG8V5F320=,tag:jl/wi2nnaNJDIM31nxESLQ==,type:str]
kind: Secret
metadata:
name: telegram-webhook
namespace: customer1
sops:
age:
- recipient: age1uuxf066xuuqgvjppxfcmqkwfcufnwp3wcwnl9h20g9k4l8nkw9jsaungf7
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBvR2J3T3JZOVpMT3lzNit4
QUxuVUN4SFRwN0VXaEY4SlI0OCsvR042eHlnCkwvN2o2TENFaWZSMmFMSkVjdytu
VFRTSkRSMU9sOU1tNm9vWU9YYmhod0EKLS0tIGd5T3BERjMxREpXdFluRHdIU0Rv
dEtYS3pQQlY3eHhNNVdWMWZFeUs5ZFUKg0KEouv5XfOxmMMUUxOB1yHLhxRczXGO
6bRY1NmmL0n1tUWRRldy4+aymnhUze9HqjUzHhLiUxzZ/rwiSNJz6A==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2026-05-08T15:37:21Z"
mac: ENC[AES256_GCM,data:gkioesm0TgosWPHbm4nbHyo+Rnk4gXABvXoWD7ezJ7hs+9h/MBmu6ADFgFVn0BlSEU3ktMraggB4TacytAE55A7hdWjVRp27/f8EHPyngRCNkTq5GzGFC2EYAJe7L6Ep3iHx1gyzbHR9rJGxt311uY8muznm/bpQkfG/M0KeYmE=,iv:+11TYBwaab9wiWvoR8SDZ/PmwXt8cQhM8PmXO5qepe4=,tag:/AjgoakGeuMOnBxsbPJWYA==,type:str]
encrypted_regex: ^(data|stringData)$
version: 3.11.0

View file

@ -2,10 +2,10 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- pg-cluster-hermes.yaml #- pg-cluster-hermes.yaml
- hermes-db-credentials.yaml - hermes-db-credentials.yaml
- trading-db-credentials.yaml #- trading-db-credentials.yaml
- memory-db-credentials.yaml #- memory-db-credentials.yaml
- trading-data-db.yaml #- trading-data-db.yaml
- agent-memory-db.yaml #- agent-memory-db.yaml
- hermes-scheduled-backup.yaml # - hermes-scheduled-backup.yaml

27
modules/new-nodepool.tf Normal file
View file

@ -0,0 +1,27 @@
resource "google_container_node_pool" "e4-node-pool" {
name = "devops-lab-nodepool-e4"
location = "us-central1-a"
cluster = google_container_cluster.primary.name
initial_node_count = 1
network_config {
pod_range = "pod-ranges"
}
autoscaling {
min_node_count = 1
max_node_count = 5
}
node_config {
machine_type = "e2-standard-4"
spot = false
disk_size_gb = 100
disk_type = "pd-standard"
oauth_scopes = [
"https://www.googleapis.com/auth/cloud-platform"
]
}
depends_on = [google_container_cluster.primary]
}

View file

@ -16,7 +16,7 @@ resource "google_container_node_pool" "cluster" {
node_config { node_config {
machine_type = "e2-standard-2" machine_type = "e2-standard-2"
spot = false spot = false
disk_size_gb = 20 disk_size_gb = 100
disk_type = "pd-standard" disk_type = "pd-standard"
oauth_scopes = [ oauth_scopes = [
"https://www.googleapis.com/auth/cloud-platform" "https://www.googleapis.com/auth/cloud-platform"