Is there a workaround for this that doesn't involve deleting the deployment?
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Use edit, patch, or replace, instead of apply.
@kiyutink for me there was.
solution was to
kubectl apply
once more. Then it got all fixed and the env variable appeared back as defined in the manifest.
same issue with 1.20.6
kubectl version -o json
{
"clientVersion": {
"major": "1",
"minor": "20",
"gitVersion": "v1.20.6",
"gitCommit": "8a62859e515889f07e3e3be6a1080413f17cf2c3",
"gitTreeState": "clean",
"buildDate": "2021-04-15T03:28:42Z",
"goVersion": "go1.15.10",
"compiler": "gc",
"platform": "linux/amd64"
},
"serverVersion": {
"major": "1",
"minor": "20",
"gitVersion": "v1.20.6",
"gitCommit": "8a62859e515889f07e3e3be6a1080413f17cf2c3",
"gitTreeState": "clean",
"buildDate": "2021-04-15T03:19:55Z",
"goVersion": "go1.15.10",
"compiler": "gc",
"platform": "linux/amd64"
}
}
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
Just happened to me on both 1.25 and 1.26
Duplicated configmap for which key and name were changed + duplication removed on same apply - the env var is completely absent after applying
ORIGINAL:
GENERAL_STATSD_HOST: <set to the key 'host' of config map 'general.statsd'> Optional: false
GENERAL_STATSD_HOST: <set to the key 'host' of config map 'general.statsd'> Optional: false
EXPECTED:
GENERAL_STATSD_HOST: <set to the key 'yard.host' of config map 'general.statsd-k8s'> Optional: false
ACTUAL
Resolved after re-applying
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are on a team that was mentioned.