Skip to content

Commit

Permalink
Merge pull request #5 from awakari/fix-auth
Browse files Browse the repository at this point in the history
fix: awakari.cloud -> awakari.com
  • Loading branch information
akurilov authored Dec 24, 2023
2 parents 1d98438 + 610848b commit 4c57402
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ kubectl create secret generic bot-telegram-tokens \
## Webhook Certificate

```shell
openssl req -newkey rsa:2048 -sha256 -nodes -keyout server.key -x509 -days 365 -out server.pem -subj "/O=Awakari/CN=tgbot.awakari.cloud"
openssl req -newkey rsa:2048 -sha256 -nodes -keyout server.key -x509 -days 365 -out server.pem -subj "/O=Awakari/CN=tgbot.awakari.com"
```

```shell
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type Config struct {
Port uint16 `envconfig:"API_TELEGRAM_AUTH_PORT" default:"50051" required:"true"`
}
Webhook struct {
Host string `envconfig:"API_TELEGRAM_WEBHOOK_HOST" default:"tgbot.awakari.cloud" required:"true"`
Host string `envconfig:"API_TELEGRAM_WEBHOOK_HOST" default:"tgbot.awakari.com" required:"true"`
Path string `envconfig:"API_TELEGRAM_WEBHOOK_PATH" default:"/" required:"true"`
Port uint16 `envconfig:"API_TELEGRAM_WEBHOOK_PORT" default:"8080" required:"true"`
ConnMax uint32 `envconfig:"API_TELEGRAM_WEBHOOK_CONN_MAX" default:"100"`
Expand Down
4 changes: 2 additions & 2 deletions helm/bot-telegram/values-gke-cluster-0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ api:
uri: "resolver:50051"
ingress:
hosts:
- host: tgbot.awakari.cloud
- host: tgbot.awakari.com
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: secret-bot-telegram-tls-server
hosts:
- tgbot.awakari.cloud
- tgbot.awakari.com

0 comments on commit 4c57402

Please sign in to comment.