Skip to content

Commit

Permalink
fix(network): removed dapr debug loglevel
Browse files Browse the repository at this point in the history
  • Loading branch information
siredmar committed May 16, 2022
1 parent 087b951 commit eb12eac
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 8 deletions.
4 changes: 1 addition & 3 deletions cue/traits/cloud-network-participant-trait.cue
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ template: {
"--app-protocol",
parameter.daprProtocol,
"--app-id",
context.name,
"--log-level",
"debug"
context.name
],
"volumeMounts": [
{
Expand Down
4 changes: 1 addition & 3 deletions cue/traits/edge-network-participant-trait.cue
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,7 @@ template: {
"--app-protocol",
parameter.daprProtocol,
"--app-id",
context.name,
"--log-level",
"debug"
context.name
],
"volumeMounts": [
{
Expand Down
64 changes: 64 additions & 0 deletions dev/manifests/applications/examples/edge-nats-box copy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
name: nats-box
namespace: nats-box
spec:
components:
- name: nats-box
type: edge-worker
properties:
image: natsio/nats-box:latest
name: nats-box
runtime:
- mydevice
command:
- /bin/sh
- -c
- --
args:
- "while true; do sleep 1; done;"
traits:
- type: edge-network-participant
properties:
networks:
- nats-box-network

- type: application-network
name: nats-box-network
properties:
subjects:
- name: data-on-leaf
subjects:
- "data.>"
stream: mystream
- name: cloudsubjects
subjects:
- "cloud.>"
stream: cloudstream
streams:
- name: mystream
location: node
config:
storage: file
maxBytes: 30000000
discard: old
- name: cloudstream
location: main
config:
storage: file
maxBytes: 30000000
discard: old
- name: mystream_aggregate
location: main
link:
stream: mystream
config:
storage: file
discard: old
---
apiVersion: v1
kind: Namespace
metadata:
name: nats-box
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ spec:
parameter.daprProtocol,
"--app-id",
context.name,
"--log-level",
"debug",
]
volumeMounts: [
{
Expand Down

0 comments on commit eb12eac

Please sign in to comment.