summaryrefslogtreecommitdiffstats
path: root/kubernetes/sniro-emulator
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-10-12 14:54:32 +0000
committerGerrit Code Review <gerrit@onap.org>2020-10-12 14:54:32 +0000
commit0f04ee8102c00167cd7aedbb8524122e8cbd4e06 (patch)
tree39b0c56b0b603e253e7b20b80352a81ec8e95a64 /kubernetes/sniro-emulator
parentcfc7cd048164ef9908cdce6e356fb57baa33336c (diff)
parent7b1929095c88f38486d66a67ff315a53584a48ce (diff)
Merge "[SNIRO] Update api version"
Diffstat (limited to 'kubernetes/sniro-emulator')
-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: