feat: enable dapr-api-token

This commit is contained in:
2024-12-19 09:54:55 +01:00
parent 64048984a6
commit 0f3f8b7a38
8 changed files with 74 additions and 6 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
"apiUrl": "https://openfga.dev.oceanbox.io",
"apiKey": "",
"storeId": "01J6C1NBX36E1B928HFSB123XQ",
"modelId": "01JF0ERP5Y690CN58TGBFT3TRS"
"modelId": "01JFA49B1JZF1MZ426HQTZ6WTJ"
},
"plainAuthUsers": [
{
+20
View File
@@ -42,16 +42,36 @@ ingress:
paths:
- path: /
pathType: ImplementationSpecific
- path: /events
pathType: ImplementationSpecific
serviceName: main-ingress-nginx-defaultbackend.ingress-nginx
servicePort: 80
internal:
- path: /internal
pathType: ImplementationSpecific
- path: /dapr
pathType: ImplementationSpecific
- path: /actors
pathType: ImplementationSpecific
- path: /job
pathType: ImplementationSpecific
- host: maps.oceanbox.io
paths:
- path: /
pathType: ImplementationSpecific
- path: /events
pathType: ImplementationSpecific
serviceName: main-ingress-nginx-defaultbackend.ingress-nginx
servicePort: 80
internal:
- path: /internal
pathType: ImplementationSpecific
- path: /dapr
pathType: ImplementationSpecific
- path: /actors
pathType: ImplementationSpecific
- path: /job
pathType: ImplementationSpecific
tls:
- hosts:
- atlantis.srv.oceanbox.io
+20
View File
@@ -50,16 +50,36 @@ ingress:
paths:
- path: /
pathType: ImplementationSpecific
- path: /events
pathType: ImplementationSpecific
serviceName: main-ingress-nginx-defaultbackend.ingress-nginx
servicePort: 80
internal:
- path: /internal
pathType: ImplementationSpecific
- path: /dapr
pathType: ImplementationSpecific
- path: /actors
pathType: ImplementationSpecific
- path: /job
pathType: ImplementationSpecific
- host: atlas.oceanbox.io
paths:
- path: /
pathType: ImplementationSpecific
- path: /events
pathType: ImplementationSpecific
serviceName: main-ingress-nginx-defaultbackend.ingress-nginx
servicePort: 80
internal:
- path: /internal
pathType: ImplementationSpecific
- path: /dapr
pathType: ImplementationSpecific
- path: /actors
pathType: ImplementationSpecific
- path: /job
pathType: ImplementationSpecific
tls:
- hosts:
- atlantis.beta.oceanbox.io
+1
View File
@@ -2,6 +2,7 @@
podAnnotations:
dapr.io/enabled: "true"
dapr.io/app-port: "8085"
dapr.io/api-token-secret: "dapr-api-token"
dapr.io/config: "tracing"
dapr.io/app-protocol: "http"
dapr.io/log-as-json: "true"
+1 -1
View File
@@ -30,7 +30,7 @@
"apiUrl": "https://openfga.srv.oceanbox.io",
"apiKey": "",
"storeId": "01J6C1NBX36E1B928HFSB123XQ",
"modelId": "01JF0ERP5Y690CN58TGBFT3TRS"
"modelId": "01JFA49B1JZF1MZ426HQTZ6WTJ"
},
"redis": "localhost:6379,user=default,password=secret",
"allowedOrigins": [
+16 -1
View File
@@ -4,9 +4,10 @@ image:
tag: latest
podAnnotations:
dapr.io/app-id: "prod-sorcerer"
dapr.io/enabled: "true"
dapr.io/app-id: "prod-sorcerer"
dapr.io/app-port: "8085"
dapr.io/api-token-secret: "dapr-api-token"
dapr.io/config: "tracing"
dapr.io/app-protocol: "http"
dapr.io/log-as-json: "true"
@@ -39,9 +40,23 @@ ingress:
atlantis.oceanbox.io/expose: internal
hosts:
- host: sorcerer.data.oceanbox.io
paths:
paths:
- path: /
pathType: ImplementationSpecific
- path: /events
pathType: ImplementationSpecific
serviceName: main-ingress-nginx-defaultbackend.ingress-nginx
servicePort: 80
internal:
- path: /internal
pathType: ImplementationSpecific
- path: /dapr
pathType: ImplementationSpecific
- path: /actors
pathType: ImplementationSpecific
- path: /job
pathType: ImplementationSpecific
tls:
- hosts:
- sorcerer.data.oceanbox.io
+15 -1
View File
@@ -4,9 +4,10 @@ image:
tag: 004c06cd-debug
podAnnotations:
dapr.io/app-id: "staging-sorcerer"
dapr.io/enabled: "true"
dapr.io/app-id: "staging-sorcerer"
dapr.io/app-port: "8085"
dapr.io/api-token-secret: "dapr-api-token"
dapr.io/config: "tracing"
dapr.io/app-protocol: "http"
dapr.io/log-as-json: "true"
@@ -43,6 +44,19 @@ ingress:
paths:
- path: /
pathType: ImplementationSpecific
- path: /events
pathType: ImplementationSpecific
serviceName: main-ingress-nginx-defaultbackend.ingress-nginx
servicePort: 80
internal:
- path: /internal
pathType: ImplementationSpecific
- path: /dapr
pathType: ImplementationSpecific
- path: /actors
pathType: ImplementationSpecific
- path: /job
pathType: ImplementationSpecific
tls:
- hosts:
- sorcerer.ekman.oceanbox.io