Skip to content

Commit

Permalink
Reordered elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Teneroy committed Feb 8, 2023
1 parent 79d65b8 commit 0e89a78
Showing 1 changed file with 69 additions and 69 deletions.
Expand Up @@ -57,38 +57,6 @@ data:
}
]
},
{
"name": "Headers",
"widget": "Panel",
"visibility": "$exists(spec.output.otlp.headers)",
"children": [
{
"name": "Header",
"widget": "Panel",
"visibility": "$exists(spec.output.otlp.headers[].name)",
"source": "spec.output.otlp.headers[]",
"children": [
{
"name": "Name",
"source": "name",
"visibility": "$exists(name)"
},
{
"name": "Value",
"source": "value",
"visibility": "$exists(value)"
},
{
"name": "Value From Secret",
"widget": "ResourceRefs",
"source": "valueFrom.secretKeyRef",
"kind": "Secret",
"visibility": "$exists(valueFrom.secretKeyRef.name)"
}
]
}
]
},
{
"name": "Authentication",
"widget": "Panel",
Expand Down Expand Up @@ -134,6 +102,38 @@ data:
}
]
},
{
"name": "Headers",
"widget": "Panel",
"visibility": "$exists(spec.output.otlp.headers)",
"children": [
{
"name": "Header",
"widget": "Panel",
"visibility": "$exists(spec.output.otlp.headers[].name)",
"source": "spec.output.otlp.headers[]",
"children": [
{
"name": "Name",
"source": "name",
"visibility": "$exists(name)"
},
{
"name": "Value",
"source": "value",
"visibility": "$exists(value)"
},
{
"name": "Value From Secret",
"widget": "ResourceRefs",
"source": "valueFrom.secretKeyRef",
"kind": "Secret",
"visibility": "$exists(valueFrom.secretKeyRef.name)"
}
]
}
]
},
{
"widget": "Panel",
"name": "Other Settings",
Expand Down Expand Up @@ -168,43 +168,6 @@ data:
"simple": true,
"children":
[
{
"name": "Headers",
"path": "headers[]",
"widget": "FormGroup",
"simple": true,
"children":
[
{
"name": "Name",
"path": "name",
"widget": "Text",
"simple": true,
},
{
"name": "Value",
"path": "value",
"widget": "Text",
"simple": true,
},
{
"name": "Secret Reference",
"path": "valueFrom.secretKeyRef",
"widget": "ResourceRef",
"simple": true,
"resource": {
"kind": "secret",
"version": "v1",
},
"children": [{
"simple": true,
"path": "key",
"enum": "$keys($secret.data)",
},
],
}
]
},
{
"name": "Endpoint",
"path": "endpoint",
Expand Down Expand Up @@ -320,6 +283,43 @@ data:
},
]
},
{
"name": "Headers",
"path": "headers[]",
"widget": "FormGroup",
"simple": true,
"children":
[
{
"name": "Name",
"path": "name",
"widget": "Text",
"simple": true,
},
{
"name": "Value",
"path": "value",
"widget": "Text",
"simple": true,
},
{
"name": "Secret Reference",
"path": "valueFrom.secretKeyRef",
"widget": "ResourceRef",
"simple": true,
"resource": {
"kind": "secret",
"version": "v1",
},
"children": [{
"simple": true,
"path": "key",
"enum": "$keys($secret.data)",
},
],
}
]
},
{
"name": "TLS",
"widget": "FormGroup",
Expand Down

0 comments on commit 0e89a78

Please sign in to comment.