Skip to content

[RFE] Breakdown workload configmaps into different files #146

@rsevilla87

Description

@rsevilla87

The current workload templates has ConfigMaps that embed all logic. This makes difficult to read and contribute to them.
For example this template https://github.com/openshift-scale/workloads/blob/master/workloads/templates/workload-mastervertical-script-cm.yml.j2 embeds run.sh, conprof_start.sh, conprof_stop.sh, workload.sh and all clusterloader templates.

With the current approach there're duplicated code (for example conprof_start.sh is present in other templates).

As an idea to avoid this we could use the command kubectl create cm --from-file=... to create on-fly the ConfigMaps from the scripts required by the workload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions