mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-18 04:27:02 +02:00
21 lines
568 B
JavaScript
21 lines
568 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import Route from '@ember/routing/route';
|
|
import { inject as service } from '@ember/service';
|
|
|
|
export default class KubernetesErrorRoute extends Route {
|
|
@service secretMountPath;
|
|
|
|
setupController(controller) {
|
|
super.setupController(...arguments);
|
|
controller.breadcrumbs = [
|
|
{ label: 'secrets', route: 'secrets', linkExternal: true },
|
|
{ label: this.secretMountPath.currentPath, route: 'overview' },
|
|
];
|
|
controller.backend = this.modelFor('application');
|
|
}
|
|
}
|