Uploaded image for project: 'OpenShift Cloud'
  1. OpenShift Cloud
  2. OCPCLOUD-1194

Implement cloud-config-file flag in CCCMO render

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Undefined
    • None
    • None
    • None
    • CLOUD Sprint 202, CLOUD Sprint 203, CLOUD Sprint 204

    Description

      --config-file flag is required by Azure and Azure Stack Hub CCM. 

      This flag would point to cloud-config configMap file generated by cluster-config-operator in bootstrap. The data would be unpacked from the configMap and the raw content should be copied to /etc/kubernetes/bootstrap-secrets, where it could be mounted in a hostPath volume.

      Static pods can't mount ConfigMaps directly: https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#restrictions

       

      DoD:

      • Implement --cloud-config-file flag in CCCMO render binary.
      • ConfigMap would be read, unpacked and placed to `./config` directory as `./config/cloud.conf`.
      • Installer implementation in https://github.com/openshift/installer/pull/4947 will copy `./config/*` to `/etc/kubernetes/bootstrap-configs/` folder.

      Attachments

        Activity

          People

            dgrigore Danil Grigorev (Inactive)
            dgrigore Danil Grigorev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: