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

[Code quality] Set FlowCollector namespace field immutable

Details

    • Story
    • Resolution: Unresolved
    • Undefined
    • None
    • None
    • Operator
    • 2
    • False
    • None
    • False
    • NetObserv - Sprint 254

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            jtakvori Joel Takvorian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: