Skip to content

[Feature]: Decouple makefile wrappers of dcap collateral phases #149

Description

@butler54

Feature Description

There are 5 distinct tasks

  1. Platform collateral collection. This is cluster independent. Must happen every 30 days
  2. Loading platform collateral via load-secrets (already covered)
  3. Collecting from QGS id's
  4. Registering the platform and generating pck certs (long lifespan)
  5. Loading the pck certs into secrets.

today this seems to be awkwardly bundled up. (1/2) should be split off. 3-5 should either be run as one connected phase (e.g. bastion is connected, cluster is not) or discrete individual phases (e.g. collected QGS ids', take low side, register platform and download pck certs, take high sdie, load in).

Why Is This Needed?

Completely awkward to configure today if it's a disconnected bastion

Suggested Solutions

  • Rewrite scripts in the make file.
  • Be careful of the pck registristration process so far I had to actually pass keys by hand. The backend trying to use the keyring is problematic. Design if possible to pass the PCCS api key via envvar. this may need upstream code analysis

Proposed Acceptance criteria

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions