pod-spec-set ignores --k8s-resources when JSON used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Thomas Miller |
Bug Description
pod-spec-set seems to ignore --k8s-resources when the files are JSON.
== Failure ==
[agnew(
# cd /
# cat > pod.json
{
"containers" : [
{
"config" : {
},
},
"name" : "mattermost",
"ports" : [
{
}
]
}
],
"version" : 2
}
# cat > k8s.json
{
"kubernetesR
"
{
"name" : "mattermost",
"spec" : {
{
}
]
}
}
]
}
}
#
[agnew(
[agnew(
No resources found
[agnew(
== Success ==
[agnew(
# cd /
# cat > combined.json
{
"containers" : [
{
"config" : {
},
},
"name" : "mattermost",
"ports" : [
{
}
]
}
],
"version" : 2,
"kubernetesR
"
{
"name" : "mattermost",
"spec" : {
{
}
]
}
}
]
}
}
#
[agnew(
[agnew(
NAMESPACE NAME CLASS HOSTS ADDRESS PORTS AGE
mattermost mattermost <none> mattermost.
[agnew(
Changed in juju: | |
milestone: | none → 2.8.1 |
importance: | Undecided → High |
status: | New → Triaged |
Changed in juju: | |
assignee: | nobody → Thomas Miller (tlmiller) |
status: | Triaged → In Progress |
Changed in juju: | |
milestone: | 2.8.1 → 2.8.2 |
Changed in juju: | |
status: | Fix Committed → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
PR: https:/ /github. com/juju/ juju/pull/ 11837