Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-1418

[Code quality] Set FlowCollector namespace field immutable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Operator
    • Future Sustainability
    • False
    • Hide

      None

      Show
      None
    • False
    • 2
    • None
    • None
    • NetObserv - Sprint 268, NetObserv - Sprint 269

      Having the ability to change namespace "on the fly" seems to have a disproportionate ratio of complexity / feature benefit : it brings quite a lot of complexity in operator code, for something likely hardly used and that would have a simple workaround if not implemented (removing / recreating the FlowCollector resource).

      Making it immutable would simplify operator code a lot

      To make it immutable with kubebuilder, cf https://kubernetes.io/blog/2022/09/29/enforce-immutability-using-cel/#immutablility-after-first-modification

              jtakvori Joel Takvorian
              jtakvori Joel Takvorian
              None
              None
              Mehul Modi Mehul Modi
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: