feat: enable dapr-api-token
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
"apiUrl": "https://openfga.dev.oceanbox.io",
|
||||
"apiKey": "",
|
||||
"storeId": "01J6C1NBX36E1B928HFSB123XQ",
|
||||
"modelId": "01JF0ERP5Y690CN58TGBFT3TRS"
|
||||
"modelId": "01JFA49B1JZF1MZ426HQTZ6WTJ"
|
||||
},
|
||||
"plainAuthUsers": [
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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": [
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user