Add banner for agentless node notice

This commit is contained in:
wenincode 2022-10-12 18:16:39 -06:00
parent caa1396255
commit 4845b90c8e
4 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,9 @@
import PeeredResourceController from 'consul-ui/controllers/_peered-resource'; import PeeredResourceController from 'consul-ui/controllers/_peered-resource';
import { action } from '@ember/object';
export default class DcNodesController extends PeeredResourceController {} export default class DcNodesController extends PeeredResourceController {
@action
dismissAgentlessNotice() {
console.log('dismiss this here')
}
}

View File

@ -4,3 +4,7 @@ html[data-route^='dc.nodes.show.metadata'] table tr {
html[data-route^='dc.nodes.show.sessions'] .consul-lock-session-list { html[data-route^='dc.nodes.show.sessions'] .consul-lock-session-list {
@extend %list-after-secondary-nav; @extend %list-after-secondary-nav;
} }
html[data-route^='dc.nodes.index'] .agentless-node-notice header {
display: flex;
justify-content: space-between;
}

View File

@ -24,7 +24,8 @@
"wan":"${fake.internet.ip()}" "wan":"${fake.internet.ip()}"
}, },
"Meta": { "Meta": {
"consul-network-segment":"" "consul-network-segment":"",
"synthetic-node": "${fake.helpers.randomize(["true", "false", "false", "false"])}"
}, },
"Services":[ "Services":[
${ ${

View File

@ -55,6 +55,11 @@ dc:
nodes: nodes:
index: index:
agentless:
notice:
header: Consul 1.14 removes client nodes from Kubernetes Service Mesh deployments
body: Kubernetes clusters do not require client nodes to run as of Consul 1.14. Kubernetes nodes will not appear in this view.
footer: View documentation on Consul Dataplane
empty: empty:
header: | header: |
{items, select, {items, select,