summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorJakub Latusek <j.latusek@samsung.com>2020-10-12 11:53:53 +0000
committerJakub Latusek <j.latusek@samsung.com>2020-10-12 11:59:58 +0000
commit7b1929095c88f38486d66a67ff315a53584a48ce (patch)
tree704409a99a4a06cd013448c6add18642575dccdd /kubernetes
parent7ba9cb9f6e9dd62210d42eb19e693293bab52042 (diff)
[SNIRO] Update api version
Change-Id: Iacdd497d0bce0574dd7d8ff425ab0aba5a8729e5 Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/sniro-emulator/templates/deployment.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/kubernetes/sniro-emulator/templates/deployment.yaml b/kubernetes/sniro-emulator/templates/deployment.yaml
index 2e76895278..0a1525c280 100644
--- a/kubernetes/sniro-emulator/templates/deployment.yaml
+++ b/kubernetes/sniro-emulator/templates/deployment.yaml
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "common.fullname" . }}
@@ -24,6 +24,10 @@ metadata:
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
+ release: {{ include "common.release" . }}
template:
metadata:
labels: