From 071105951ec5388e36ac911bf0f23f7d32e3fe1c Mon Sep 17 00:00:00 2001 From: Michael Gfeller Date: Fri, 21 Aug 2020 21:30:46 +0200 Subject: [PATCH] updated Deployment manifest to apps/v1 Signed-off-by: Michael Gfeller --- consul/config_templates/httpbin-consul.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/consul/config_templates/httpbin-consul.yaml b/consul/config_templates/httpbin-consul.yaml index 488823a..70b1b09 100644 --- a/consul/config_templates/httpbin-consul.yaml +++ b/consul/config_templates/httpbin-consul.yaml @@ -13,12 +13,15 @@ spec: selector: app: httpbin --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: httpbin spec: replicas: 1 + selector: + matchLabels: + app: httpbin template: metadata: labels: @@ -32,4 +35,5 @@ spec: imagePullPolicy: IfNotPresent name: httpbin ports: - - containerPort: 80 \ No newline at end of file + - containerPort: 80 +