Permanently disable warning banner - " Kubernetes integration capabilities including TKG integration and TMC integration will be deprecated and removed from the product in a future release."
search cancel

Permanently disable warning banner - " Kubernetes integration capabilities including TKG integration and TMC integration will be deprecated and removed from the product in a future release."

book

Article ID: 374714

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

How to permanently disable warning banner - " Kubernetes integration capabilities including TKG integration and TMC integration will be deprecated and removed from the product in a future release.Customers should make plans to stop using this functionality and start leveraging Cloud Consumption Interface"  

When a user clicks the  X  icon on the banner, the banner is dismissed for the browser session. A new session for example is created when the address of the app is put in a different browser tab/ browser.

When a new session starts the banner is displayed again.

Environment

Aria Automation 8.18

Cause

A medium to communicate with the customer " Announcing intent to deprecate specific Kubernetes automation capabilities " . Also mentioned in the release notes for Aria Automation 8.18 under section.

VMware by Broadcom is announcing the planned deprecation of Kubernetes integration capabilities, including the TKG integration and TMC integration documented under How do I work with Kubernetes in Automation Assembler. The actual deprecation and removal of these capabilities from the product will happen in a future release. Customers are encouraged to adopt the Cloud Consumption interface (CCI) and vSphere TKG IaaS service. 

Resolution

Option 1: Using Curl Command

The banner itself could be disabled permanently using this http request

curl -k 'https://{fqdn}/provisioning/config/toggles'  -H 'Accept: application/json, text/plain, '  -H 'Authorization: Bearer {bearer_token}'  -H 'Content-Type: application/json' -H 'pragma: xn-force-index-update' --data-raw '{"key":"ui.disable.deprecation.alerts","value":"true"}'

** Where {fqdn} and {bearer_token} need to be replaced accordingly.

Option 2: Using API Call

  1. Follow this KB to get the bearer token.
  2. Open Postman and connect to https://{fqdn}/provisioning/config/toggles
  3. Use the bearer token from step 1 and put it in the Authorization tab 
  4. In the header tab make sure the key: value pair is Content-Type and application/jason
  5. In the body set as {"key":"ui.disable.deprecation.alerts","value":"true"} and click send. Make sure that we get response 200.
  6. Logout of Aria Automation and log back in, you should not see the banner anymore.

Option 3: Using UI

  1. Access this URL https://ariaautoamtion_fqdn/automation/#/service/automation-ui/provisioning-ui;ash=%2FconfigurationProperties and you will that the value for "ui.disable.deprecation.alerts" which would be set to false.
  2. Use the radio button to set it to true and refresh the page. This is stop the banner from appearing again.
  3. In case you do not see the value "ui.disable.deprecation.alerts", you can add a new value by using the "+ NEW" button and add the string like below and click create.
  4. Then refresh the page and the banner should not be visible.