Skip to content

Chart: mount the Git layer's Secrets, ConfigMap and workdir (#286 PR-A follow-up) #289

Open

Description

@ephico2real2

Part of #286

PR #288 (PR-A) adds the Git layer to the plain manifests, but deploy/helm/cmapi does not yet mount its files (OB1 run 10's report).

What the chart needs, matching the plain manifests of #288:

  • Secret cmapi-git-bot (token), in the api and the worker.
  • Secret cmapi-git-bot-ssh (kubernetes.io/ssh-auth, ssh-privatekey), in the worker only.
  • ConfigMap cmapi-git-bot-known-hosts, in the worker only.
  • Each as a directory mount with defaultMode: 0440, readOnly and items.
  • The workdir as an emptyDir with a sizeLimit, plus an ephemeral-storage request and limit on the worker.
  • The instance.git keys of #286 PR-A: the Git layer, GitHub's PR adapter on it, apply before merge #288 in values.yaml and templates/config.yaml.

How to prove it: a helm template test that asserts each mount, mode and limit, and fails on main. Then the chart's install on kind, with the worker starting.

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

    Backlogenhancementstatus:open

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions