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

Azure: Create .spec file to build acr credential provider plugin

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • 4.16
    • CLOUD Sprint 249

      User Story

      As an openshift maintainer I want our build tooling to produce the acr credential provider plugin so that it can be distributed in RHCOS to be used by kubelet.

      Background

      We need to ship the acr credential provider via an rpm, so it is available to kubelet when it first starts.

      To ship an rpm we must create a .spec file that provides information on how the package should be built

       

      A working example for AWS is provided in this PR: https://github.com/openshift/cloud-provider-aws/pull/63

      Steps

      • Copy the .spec file from the AWS PR
      • Set up rpmbuild and rpmlint locally (proably running in a conatiner). This is a good introduction to the process.
      • Get the .spec file building locally: likely by calling make <target> in the %build section (you'll need to get a tarball for the source, and move it into `SOURCES`)
      • PR .spec to the root of `cloud-provider-azure`

      Stakeholders

      • cluster-infra
      • workloads team

      Definition of Done

      • .spec building the azure acr credential plugin locally
      • PR to `cloud-provider-azure`
      • Docs
      • N.A
      • Testing
      • N.A

              rh-ee-tbarberb Theo Barber-Bany
              rh-ee-tbarberb Theo Barber-Bany
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: