siderolabs / omni

SaaS-simple deployment of Kubernetes - on your own hardware.
Other
397 stars 23 forks source link

[feature] Resync bootstrap manifests #290

Closed neilmfrench closed 1 month ago

neilmfrench commented 1 month ago

Problem Description

Currently, the Bootstrap Manifest Sync page does not offer a way to re-compile the desired manifests on request. For example, if I have a custom CNI:

cluster:
    cni:
      name: custom
      urls:
        - https://raw.githubusercontent.com/.../install.yaml

and I change something in https://raw.githubusercontent.com/.../install.yaml for the CNI and cluster itself, those changes won't be reflected in what the Bootstrap Manifest Sync page is using to compare against actual cluster state. This results in a situation where the page is telling me I have manifests out of sync but I know they actually aren't.

Solution

Add a resync button that re-pulls all external sources.

Alternative Solutions

No response

Notes

No response

smira commented 1 month ago

This is not something that Omni can fix, ad this part relies on the way Talos Linux works. As Talos Linux might refresh (or not refresh) the manifests from a URL, it's recommended to get a link which changes every time you update the manifest. Updating the manfiests without changing the link is not recommended.

If using GitHub, point it to a specific commit SHA instead of using e.g. branch name.