Upgrading kubernetes API
Change-Id: I279db986e2dab1ebcb5b48b4195363af395c8de3
diff --git a/mcord/mcord-cdn-local/Chart.yaml b/mcord/mcord-cdn-local/Chart.yaml
index f5c0cf2..8333090 100644
--- a/mcord/mcord-cdn-local/Chart.yaml
+++ b/mcord/mcord-cdn-local/Chart.yaml
@@ -18,4 +18,4 @@
appVersion: "1.0"
description: A Helm chart for MCORD CDN Services in Local Edge
name: mcord-cdn-local
-version: 0.1.5
+version: 0.1.6
diff --git a/mcord/mcord-cdn-local/templates/nginx.yaml b/mcord/mcord-cdn-local/templates/nginx.yaml
index 82de8b0..9f54bde 100644
--- a/mcord/mcord-cdn-local/templates/nginx.yaml
+++ b/mcord/mcord-cdn-local/templates/nginx.yaml
@@ -29,13 +29,17 @@
protocol: TCP
---
-apiVersion: apps/v1beta1
+apiVersion: apps/v1
kind: StatefulSet
metadata:
name: nginx-rtmp
spec:
serviceName: nginx-rtmp
replicas: 1
+ selector:
+ matchLabels:
+ name: nginx-rtmp
+ release: {{ .Release.Name }}
template:
metadata:
labels:
@@ -104,4 +108,4 @@
- key: nginx.conf
path: nginx.conf
- name: shared-volume
- emptyDir: {}
\ No newline at end of file
+ emptyDir: {}