Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

Commit

Permalink
fix: network trait unique dapr resiliency configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
siredmar committed Jul 17, 2023
1 parent 6fafd9b commit 3e116a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cue/traits/edgefarm-network-trait.cue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ template: {
{
name: "dapr-resiliency"
configMap:
name: "resiliency-"+parameter.network.name+"-"+parameter.network.user
name: "resiliency-"+parameter.network.name+"-"+parameter.network.user+"-"+context.name
},
]
initContainers: [{
Expand Down Expand Up @@ -122,7 +122,7 @@ template: {
apiVersion: "v1"
kind: "ConfigMap"
metadata: {
name: "resiliency-"+parameter.network.name+"-"+parameter.network.user
name: "resiliency-"+parameter.network.name+"-"+parameter.network.user+"-"+context.name
}
data: {
"resiliency.yaml": """
Expand Down
4 changes: 2 additions & 2 deletions manifests/vela-caps/traits/edgefarm-network-trait.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
},
{
name: "dapr-resiliency"
configMap: name: "resiliency-" + parameter.network.name + "-" + parameter.network.user
configMap: name: "resiliency-" + parameter.network.name + "-" + parameter.network.user + "-" + context.name
},
]
initContainers: [{
Expand Down Expand Up @@ -112,7 +112,7 @@ spec:
outputs: "resiliency-dapr-component": {
apiVersion: "v1"
kind: "ConfigMap"
metadata: name: "resiliency-" + parameter.network.name + "-" + parameter.network.user
metadata: name: "resiliency-" + parameter.network.name + "-" + parameter.network.user + "-" + context.name
data: "resiliency.yaml": """
apiVersion: dapr.io/v1alpha1
kind: Resiliency
Expand Down

0 comments on commit 3e116a7

Please sign in to comment.