Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-108979

Store kubernetes worker node password in database

    XMLWordPrintable

    Details

    • Type: Defect
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: SCALE-21.02-ALPHA.1
    • Component/s: None
    • Labels:
      None

      Description

      PR: https://github.com/freenas/freenas/pull/6271

      This PR adds changes accounting for upstream k3s changes where registered worker nodes passwords are not available in a file anymore and they are only available now on worker node's `/etc/rancher/node/password` path. However this is lost on system upgrades, so in order to have it persist, we store this in database and write out the file accordingly.

      For existing users already using k8s, we delete the worker node which forces k3s to re-register the node and that works nicely without us losing data.

        Attachments

          Attachments

            JEditor

              Issue Links

                Activity

                  People

                  Assignee:
                  waqar Waqar Ahmed
                  Reporter:
                  bugclerk Bug Clerk
                  Watchers:
                  Bug Clerk, William Grzybowski
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved: