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
@@ -177,6 +177,7 @@ function addCanaryLabelsAndAnnotations(inputObject: any, type: string) {
newLabels[CANARY_VERSION_LABEL] = type;
helper.updateObjectLabels(inputObject, newLabels, false);
helper.updateObjectAnnotations(inputObject, newLabels, false);
helper.updateSelectorLabels(inputObject, newLabels, false);
if (!helper.isServiceEntity(inputObject.kind)) {