Introduce annotations relevant to resource view during deploy

This commit is contained in:
Koushik Dey
2020-07-15 16:24:50 +05:30
parent b4bc3003e8
commit 15e04b8f7e
15 changed files with 362 additions and 67 deletions
@@ -155,6 +155,7 @@ function addCanaryLabelsAndAnnotations(inputObject, type) {
const newLabels = new Map();
newLabels[exports.CANARY_VERSION_LABEL] = type;
helper.updateObjectLabels(inputObject, newLabels, false);
helper.updateObjectAnnotations(inputObject, newLabels, false);
helper.updateSelectorLabels(inputObject, newLabels, false);
if (!helper.isServiceEntity(inputObject.kind)) {
helper.updateSpecLabels(inputObject, newLabels, false);