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."
Products
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
- Follow this KB to get the bearer token.
- Open Postman and connect to https://{fqdn}/provisioning/config/toggles
- Use the bearer token from step 1 and put it in the Autorization tab
- In the header tab make sure the key: value pair is Content-Type and application/jason
- In the body set as
{"key":"ui.disable.deprecation.alerts","value":"false"}
and click send. Make sure that we get response 200. - Logout of Aria Automation and log back in, you should not see the banner anymore.
Comments
Post a Comment