Uploaded image for project: 'OpenShift Windows Containers'
  1. OpenShift Windows Containers
  2. WINC-1606

Add test coverage to verify WMCO reads certificates from controllerConfig instead of MachineConfig

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • 5
    • None
    • None
    • None

      Test coverage for OCPBUGS-17528

      Background

      The MCO removed certificates from MachineConfig and moved them to controllerConfig:

      • /etc/kubernetes/kubelet-ca.crt
      • /etc/kubernetes/static-pod-resources/configmaps/cloud-config/ca-bundle.pem
      • /etc/pki/ca-trust/source/anchors/openshift-config-user-ca-bundle.crt

      WMCO was fixed in PR #1725 to read from controllerConfig.Spec.KubeAPIServerServingCAData instead of MachineConfig ignition.

      Test Requirements

      Verify that WMCO correctly provisions all three certificates on Windows nodes when they are stored in controllerConfig (not MachineConfig).

      Existing Tests

      • OCP-50924: Tests kubelet-ca.crt rotation but doesn't verify the source
      • OCP-68320: Tests user-ca-bundle ConfigMap but not controllerConfig
      • OCP-84267: Tests hybrid-overlay CA cert configuration

      Related Issues

              rrasouli Aharon Rasouli
              rrasouli Aharon Rasouli
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: