Skip to content

Commit

Permalink
Merge pull request #4744 from nwmac/add-banner-to-secrets
Browse files Browse the repository at this point in the history
Show legacy banner for project secrets when embedded
  • Loading branch information
nwmac authored Sep 6, 2021
2 parents e77fa6b + 7406e37 commit e3992d8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/components/security-header/component.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import Component from '@ember/component';

import layout from './template';

export default Component.extend({ layout, });
export default Component.extend({
layout,
showLegacyMessage: window.top !== window,
});
5 changes: 5 additions & 0 deletions app/components/security-header/template.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{#if showLegacyMessage}}
{{#banner-message color="bg-info"}}
<p>{{t 'banner.secrets'}}</p>
{{/banner-message}}
{{/if}}
<section class="has-tabs clearfix p-0">
<ul class="tab-nav">
<li>
Expand Down
1 change: 1 addition & 0 deletions translations/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,7 @@ banner:
pipeline: Pipelines has been deprecated as of Rancher 2.5.0 - check out the <a href="{docsBase}/faq/deprecated-features-25x" target="_blank">FAQ</a>. For continuous delivery capabilities check out <a href="{dashboardBase}c/local/fleet">Rancher Continuous Delivery</a> in the new view.
pipeline21: Pipelines in Kubernetes 1.21+ are no longer supported.
upgrade21: The legacy feature flag is enabled and not all legacy features are supported in Kubernetes 1.21+.
secrets: Legacy project functionality can be used to manage secrets that need to be available to all namespaces in a project

catalogPage:
istio:
Expand Down

0 comments on commit e3992d8

Please sign in to comment.