Consolidate to single style for specifying environment-style parameters (env, buildArgs) #5877
Labels
area/config
!! config-change !!
kind/feature-request
priority/p2
May take a couple of releases
tech-debt
Issues that relate to paying back technical debt.
We have three styles of specifying environment-style variables in the
skaffold.yaml
. It's inconsistent and confusing for users (#5841).Map-style
Seen in Docker and Kaniko's
buildArgs
:The use of a pointer here allows using YAML's
null
to unset a valueArray-style
Seen in Buildpacks's
env
:Key-Value pairs (
k8s.io/api/core/v1.EnvVar
)Seen in Kaniko's
env
:We have other fields that are in a similar state:
label
is amap[string]*string
annotations
is amap[string]string
The text was updated successfully, but these errors were encountered: