Skip to content

feature: deliver configFile as mounted application configuration #114

Description

@atkrad

configFile is a domain field on environments, components, and tasks. Deployah records and inherits the path. It does not mount the file.

Runtime env is a different concept and must stay separate:

envFile -> FileValues -> {fullname}-env -> envFrom
env:    -> ExplicitValues -> container env:

Do not reuse {fullname}-env or a generic chart configMap.data for this. The unused generic Helm ConfigMap path was removed so it would not constrain this feature.

When this is implemented, design the Kubernetes representation from configFile itself. A dedicated {fullname}-config ConfigMap plus a volume mount is a likely shape, not a decision.

Open questions for that design:

  • one file or several
  • how environment, component, and task layers combine
  • merge vs replace
  • ConfigMap key / filename
  • directory mount vs subPath
  • checksum / rollout
  • hook tasks and deployah run
  • whether binaryData ever matters

Until then the field stays in the spec, schema, init, and docs as a recorded path that is not delivered.

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

    area/deployDeploy and plan session flowarea/helmChart render, release, post-renderarea/specdeployah.yaml schema or loadingkind/featureNew capability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions