Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-6714

Rename cni template files

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • OSSM 2.6.0
    • None
    • Customer Impact
    • None

      The names of the templates in istio_cni are misleading. For example, there are four clusterrole templates:

      • clusterrole.yaml
      • clusterrole-v2.4.yaml
      • clusterrole-v2.5.yaml
      • clusterrole-v2.6.yaml

      However, the last three templates all create the same ClusterRole, since they use the same metadata.name: ossm-cni. We shouldn't have multiple templates that create the same resource, so we should merge those three files into one.

      This also means that the filename should indicate that the template is used for all three versions (v2.4, v2.5, and v2.6). Also, the clusterrole.yaml file is also used for multiple versions (v2.0 to v2.3), so we should probably rename it as well.

            mluksa@redhat.com Marko Luksa
            mluksa@redhat.com Marko Luksa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: