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

GCP: Create .spec file to build gcr 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 gcr credential provider plugin so that it can be distributed in RHCOS to be used by kubelet.

      Background

      We need to ship the gcr 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-gcp`

      Stakeholders

      • cluster-infra
      • workloads team

      Definition of Done

      • .spec building the gcp gcr credential plugin locally
      • PR to `cloud-provider-gcp`
      • 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: