From 26dc59e373b4f8d2eff3ca5343c60f4390a2fe0c Mon Sep 17 00:00:00 2001 From: Dean Coakley Date: Mon, 7 Oct 2019 22:44:38 +0100 Subject: [PATCH] Update chart resources apiVersion (#644) * Update chart resources apiVersion Signed-off-by: Dean Coakley * Make required changes for apiVersion update Signed-off-by: Dean Coakley * Update mongodb chart dep. Necessary for k8 v1.16 Signed-off-by: Dean Coakley * Bump patch version of Chart Signed-off-by: Dean Coakley --- chart/monocular/Chart.yaml | 2 +- chart/monocular/requirements.lock | 6 +++--- chart/monocular/requirements.yaml | 2 +- chart/monocular/templates/chartsvc-deployment.yaml | 2 +- chart/monocular/templates/prerender-deployment.yaml | 5 ++++- chart/monocular/templates/ui-deployment.yaml | 5 ++++- 6 files changed, 14 insertions(+), 8 deletions(-) diff --git a/chart/monocular/Chart.yaml b/chart/monocular/Chart.yaml index 97efa50fb..d5eba9949 100644 --- a/chart/monocular/Chart.yaml +++ b/chart/monocular/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: monocular description: Monocular is a search and discovery front end for Helm Charts Repositories. -version: 1.4.11 +version: 1.4.12 appVersion: v1.8.3 home: https://github.com/helm/monocular sources: diff --git a/chart/monocular/requirements.lock b/chart/monocular/requirements.lock index d40cd332e..c38c11992 100644 --- a/chart/monocular/requirements.lock +++ b/chart/monocular/requirements.lock @@ -1,6 +1,6 @@ dependencies: - name: mongodb repository: https://kubernetes-charts.storage.googleapis.com - version: 4.6.2 -digest: sha256:ccc841efc96895bd5982021aa2fd5300b99acdcddc1bc144f020572f27990c34 -generated: 2018-10-25T22:57:16.837922292-04:00 + version: 7.2.10 +digest: sha256:314dea8ef057af9180610aeec4be4491ab6e8779be41076411a93360e92a3f40 +generated: "2019-09-28T21:49:40.948575+01:00" diff --git a/chart/monocular/requirements.yaml b/chart/monocular/requirements.yaml index d4b515598..afc958b02 100644 --- a/chart/monocular/requirements.yaml +++ b/chart/monocular/requirements.yaml @@ -1,5 +1,5 @@ dependencies: - name: mongodb - version: 4.6.2 + version: 7.2.10 repository: https://kubernetes-charts.storage.googleapis.com condition: mongodb.enabled diff --git a/chart/monocular/templates/chartsvc-deployment.yaml b/chart/monocular/templates/chartsvc-deployment.yaml index ea39b82c1..60106330b 100644 --- a/chart/monocular/templates/chartsvc-deployment.yaml +++ b/chart/monocular/templates/chartsvc-deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: apps/v1beta2 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "fullname" . }}-chartsvc diff --git a/chart/monocular/templates/prerender-deployment.yaml b/chart/monocular/templates/prerender-deployment.yaml index 9f7557f54..566cf8831 100644 --- a/chart/monocular/templates/prerender-deployment.yaml +++ b/chart/monocular/templates/prerender-deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "fullname" . }}-prerender @@ -6,6 +6,9 @@ metadata: chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" spec: replicas: {{ .Values.prerender.replicaCount }} + selector: + matchLabels: + app: {{ template "fullname" . }}-prerender template: metadata: labels: diff --git a/chart/monocular/templates/ui-deployment.yaml b/chart/monocular/templates/ui-deployment.yaml index 8fec6ebe5..b3c26d002 100644 --- a/chart/monocular/templates/ui-deployment.yaml +++ b/chart/monocular/templates/ui-deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "fullname" . }}-ui @@ -6,6 +6,9 @@ metadata: chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" spec: replicas: {{ .Values.ui.replicaCount }} + selector: + matchLabels: + app: {{ template "fullname" . }}-ui template: metadata: labels: