From b97a921e9669c879f6f211c627f0e4f263db470e Mon Sep 17 00:00:00 2001 From: Andrei Kvapil Date: Wed, 2 Sep 2020 23:13:27 +0200 Subject: [PATCH] fix example deployment --- examples/test-app/lib/objects.libsonnet | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/examples/test-app/lib/objects.libsonnet b/examples/test-app/lib/objects.libsonnet index ee601766..904ea075 100644 --- a/examples/test-app/lib/objects.libsonnet +++ b/examples/test-app/lib/objects.libsonnet @@ -5,6 +5,9 @@ metadata: { namespace: namespace, name: name, + labels: { + name: name, + }, }, data: vars, }, @@ -14,6 +17,9 @@ metadata: { namespace: namespace, name: name, + labels: { + name: name, + }, }, data: vars, }, @@ -23,9 +29,22 @@ metadata: { namespace: namespace, name: name, + labels: { + name: name, + }, }, spec: { + selector: { + matchLabels: { + name: name, + }, + }, template: { + metadata: { + labels: { + name: name, + }, + }, spec: { containers: [ {