Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-27615

Document how to define namespaceSelector for k8s operator's webhook for different k8s versions

    XMLWordPrintableJSON

Details

    Description

      In our webhook, to support watchNamespaces, we rely on the kubernetes.io/metadata.name to filter the validation requests. However, this label will be automatically added to a namespace only since k8s 1.21.1 due to k8s' release notes .  If users run the flink k8s operator on older k8s versions, they have to add such label by themselevs to support the feature of namespaceSelector in our webhook.

      As a result, if we want to support the feature defaultly, we may need to emphasize that users should use k8s >= v1.21.1 to run the flink k8s operator.

       

      Due to aitozi's advice, it may be better to add document of how to support the nameSelector based validation instead of limiting the k8s version to be >= 1.21.1 to support more users.

      Attachments

        Issue Links

          Activity

            People

              bgeng777 Biao Geng
              bgeng777 Biao Geng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: