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
-2
View File
@@ -80,8 +80,6 @@ ingress:
- hosts: - hosts:
- atlantis.srv.oceanbox.io - atlantis.srv.oceanbox.io
secretName: atlantis-tls secretName: atlantis-tls
internal:
annotations: {}
persistence: persistence:
enabled: false enabled: false
+1 -1
View File
@@ -29,7 +29,7 @@
"apiUrl": "https://openfga.dev.oceanbox.io", "apiUrl": "https://openfga.dev.oceanbox.io",
"apiKey": "", "apiKey": "",
"storeId": "01J6C1NBX36E1B928HFSB123XQ", "storeId": "01J6C1NBX36E1B928HFSB123XQ",
"modelId": "01JF0ERP5Y690CN58TGBFT3TRS" "modelId": "01JFA49B1JZF1MZ426HQTZ6WTJ"
}, },
"plainAuthUsers": [ "plainAuthUsers": [
{ {
+20
View File
@@ -42,16 +42,36 @@ ingress:
paths: paths:
- path: / - path: /
pathType: ImplementationSpecific pathType: ImplementationSpecific
- path: /events
pathType: ImplementationSpecific
serviceName: main-ingress-nginx-defaultbackend.ingress-nginx
servicePort: 80
internal: internal:
- path: /internal - path: /internal
pathType: ImplementationSpecific pathType: ImplementationSpecific
- path: /dapr
pathType: ImplementationSpecific
- path: /actors
pathType: ImplementationSpecific
- path: /job
pathType: ImplementationSpecific
- host: maps.oceanbox.io - host: maps.oceanbox.io
paths: paths:
- path: / - path: /
pathType: ImplementationSpecific pathType: ImplementationSpecific
- path: /events
pathType: ImplementationSpecific
serviceName: main-ingress-nginx-defaultbackend.ingress-nginx
servicePort: 80
internal: internal:
- path: /internal - path: /internal
pathType: ImplementationSpecific pathType: ImplementationSpecific
- path: /dapr
pathType: ImplementationSpecific
- path: /actors
pathType: ImplementationSpecific
- path: /job
pathType: ImplementationSpecific
tls: tls:
- hosts: - hosts:
- atlantis.srv.oceanbox.io - atlantis.srv.oceanbox.io
+20
View File
@@ -50,16 +50,36 @@ ingress:
paths: paths:
- path: / - path: /
pathType: ImplementationSpecific pathType: ImplementationSpecific
- path: /events
pathType: ImplementationSpecific
serviceName: main-ingress-nginx-defaultbackend.ingress-nginx
servicePort: 80
internal: internal:
- path: /internal - path: /internal
pathType: ImplementationSpecific pathType: ImplementationSpecific
- path: /dapr
pathType: ImplementationSpecific
- path: /actors
pathType: ImplementationSpecific
- path: /job
pathType: ImplementationSpecific
- host: atlas.oceanbox.io - host: atlas.oceanbox.io
paths: paths:
- path: / - path: /
pathType: ImplementationSpecific pathType: ImplementationSpecific
- path: /events
pathType: ImplementationSpecific
serviceName: main-ingress-nginx-defaultbackend.ingress-nginx
servicePort: 80
internal: internal:
- path: /internal - path: /internal
pathType: ImplementationSpecific pathType: ImplementationSpecific
- path: /dapr
pathType: ImplementationSpecific
- path: /actors
pathType: ImplementationSpecific
- path: /job
pathType: ImplementationSpecific
tls: tls:
- hosts: - hosts:
- atlantis.beta.oceanbox.io - atlantis.beta.oceanbox.io
+1
View File
@@ -2,6 +2,7 @@
podAnnotations: podAnnotations:
dapr.io/enabled: "true" dapr.io/enabled: "true"
dapr.io/app-port: "8085" dapr.io/app-port: "8085"
dapr.io/api-token-secret: "dapr-api-token"
dapr.io/config: "tracing" dapr.io/config: "tracing"
dapr.io/app-protocol: "http" dapr.io/app-protocol: "http"
dapr.io/log-as-json: "true" dapr.io/log-as-json: "true"
+1 -1
View File
@@ -30,7 +30,7 @@
"apiUrl": "https://openfga.srv.oceanbox.io", "apiUrl": "https://openfga.srv.oceanbox.io",
"apiKey": "", "apiKey": "",
"storeId": "01J6C1NBX36E1B928HFSB123XQ", "storeId": "01J6C1NBX36E1B928HFSB123XQ",
"modelId": "01JF0ERP5Y690CN58TGBFT3TRS" "modelId": "01JFA49B1JZF1MZ426HQTZ6WTJ"
}, },
"redis": "localhost:6379,user=default,password=secret", "redis": "localhost:6379,user=default,password=secret",
"allowedOrigins": [ "allowedOrigins": [
+16 -1
View File
@@ -4,9 +4,10 @@ image:
tag: latest tag: latest
podAnnotations: podAnnotations:
dapr.io/app-id: "prod-sorcerer"
dapr.io/enabled: "true" dapr.io/enabled: "true"
dapr.io/app-id: "prod-sorcerer"
dapr.io/app-port: "8085" dapr.io/app-port: "8085"
dapr.io/api-token-secret: "dapr-api-token"
dapr.io/config: "tracing" dapr.io/config: "tracing"
dapr.io/app-protocol: "http" dapr.io/app-protocol: "http"
dapr.io/log-as-json: "true" dapr.io/log-as-json: "true"
@@ -39,9 +40,23 @@ ingress:
atlantis.oceanbox.io/expose: internal atlantis.oceanbox.io/expose: internal
hosts: hosts:
- host: sorcerer.data.oceanbox.io - host: sorcerer.data.oceanbox.io
paths:
paths: paths:
- path: / - path: /
pathType: ImplementationSpecific 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: tls:
- hosts: - hosts:
- sorcerer.data.oceanbox.io - sorcerer.data.oceanbox.io
+15 -1
View File
@@ -4,9 +4,10 @@ image:
tag: 004c06cd-debug tag: 004c06cd-debug
podAnnotations: podAnnotations:
dapr.io/app-id: "staging-sorcerer"
dapr.io/enabled: "true" dapr.io/enabled: "true"
dapr.io/app-id: "staging-sorcerer"
dapr.io/app-port: "8085" dapr.io/app-port: "8085"
dapr.io/api-token-secret: "dapr-api-token"
dapr.io/config: "tracing" dapr.io/config: "tracing"
dapr.io/app-protocol: "http" dapr.io/app-protocol: "http"
dapr.io/log-as-json: "true" dapr.io/log-as-json: "true"
@@ -43,6 +44,19 @@ ingress:
paths: paths:
- path: / - path: /
pathType: ImplementationSpecific 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: tls:
- hosts: - hosts:
- sorcerer.ekman.oceanbox.io - sorcerer.ekman.oceanbox.io