Upgrading kubernetes API
Change-Id: I279db986e2dab1ebcb5b48b4195363af395c8de3
diff --git a/xos-gui/Chart.yaml b/xos-gui/Chart.yaml
index 2f9a633..90d13aa 100644
--- a/xos-gui/Chart.yaml
+++ b/xos-gui/Chart.yaml
@@ -17,7 +17,7 @@
description: Web GUI for XOS
icon: https://guide.opencord.org/logos/xos.svg
apiVersion: v1
-version: 1.2.8
+version: 1.2.9
# appVersion is of the xos-gui container, xos-ws tag is specified in values.yaml
appVersion: 1.0.6
diff --git a/xos-gui/templates/gui-deployment.yaml b/xos-gui/templates/gui-deployment.yaml
index d8d8b13..709d16a 100644
--- a/xos-gui/templates/gui-deployment.yaml
+++ b/xos-gui/templates/gui-deployment.yaml
@@ -13,7 +13,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: xos-gui
@@ -21,6 +21,10 @@
{{- include "xos-gui.release_labels" . | indent 4 }}
spec:
replicas: 1
+ selector:
+ matchLabels:
+ name: xos-gui
+ release: {{ .Release.Name }}
template:
metadata:
labels:
diff --git a/xos-gui/templates/ws-deployment.yaml b/xos-gui/templates/ws-deployment.yaml
index e10d0f8..f44f3e5 100644
--- a/xos-gui/templates/ws-deployment.yaml
+++ b/xos-gui/templates/ws-deployment.yaml
@@ -13,7 +13,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: xos-ws
@@ -21,6 +21,10 @@
{{- include "xos-gui.release_labels" . | indent 4 }}
spec:
replicas: 1
+ selector:
+ matchLabels:
+ name: xos-ws
+ release: {{ .Release.Name }}
template:
metadata:
labels: