Skip to content

Conquest: run-bucket provisioner with shared default #154

Done
elixir-cloud-aai/conquest
#9

Description

@uniqueg

First slice of #149. Add a provisioner interface that decides, per run, which
bucket the run's objects live in and which Secret with S3 credentials its
runner pod gets; shared (every run in CONQUEST_S3_BUCKET, runner with
CONQUEST_STORAGE_SECRET_NAME) is the default and keeps today's behaviour.

  • internal/runbucket: Provisioner (Ensure(runID) -> {bucket, Secret},
    Delete(runID)), Shared; setting CONQUEST_RUN_BUCKETS (chart
    storageIsolation.runBuckets), only shared accepted so far.
  • Run controller asks for the bucket before preparing the run; adapters,
    run root and runner Job use it; bucket deleted again if the run isn't created.
  • Tests: runner pods (every engine, workspace mode, pod security profile)
    and isolated task pods get no ServiceAccount token (automount or projected)
    and no Secret but their own run's.
  • Docs: README (Run buckets, config table, deployment guide, upgrade note), chart values.

Metadata

Metadata

Assignees

Labels

ecp-wp4: M4.4priority: hightopic: conquesttype: securityworkload: hours

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions