SUSE Support

Here When You Need Us

Secrets in downstream clusters is repeatedly overwritten

This document (000020999) is provided subject to the disclaimer at the end of this document.

Environment

Long standing setups, upgraded from Rancher versions <2.6

Situation

A secret is replaced with  a new one with the same name. When "kubectl rollout restart deployment -n cattle-system rancher" is run in the management cluster the secret is replaced with the old one. Rancher also overwrites the secret every few hours, on its own.

Resolution

Check for a project secret having been configured for the project in the past.

Navigate to the old UI (put /g behind the URL) and check for project secrets in the project(s) of the affected cluster. 

See also the Rancher documentation on this topic:

https://ranchermanager.docs.rancher.com/v2.6/how-to-guides/new-user-guides/kubernetes-resources-setup/secrets#creating-secrets-in-projects

Cause

"Project Secrets" was a legacy feature from older Rancher <2.6 versions. 

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020999
  • Creation Date: 03-Mar-2023
  • Modified Date:06-Mar-2023
    • SUSE Rancher

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.