summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/dgbuilder/templates
diff options
context:
space:
mode:
authormilaszki <daniel.milaszkiewicz@nokia.com>2020-07-07 11:59:35 +0000
committermilaszki <daniel.milaszkiewicz@nokia.com>2020-07-07 11:59:35 +0000
commit326a5e712ea5bfb9b4cf8e471e5db669f2f1eeb1 (patch)
tree90c091175f37865fac091a599d0c5513d4181689 /kubernetes/common/dgbuilder/templates
parent88c4c3788d35af106d46ace89fabfb1efca1bca8 (diff)
Make COMMON/DGBUILDER compatible with Kubernetes v1.17
Issue-ID: OOM-2480 Signed-off-by: Daniel Milaszkiewicz <daniel.milaszkiewicz@nokia.com> Change-Id: I0813ab2921cdaa2f8e3bc4de1a1b4779dc2d5c86
Diffstat (limited to 'kubernetes/common/dgbuilder/templates')
-rw-r--r--kubernetes/common/dgbuilder/templates/deployment.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/common/dgbuilder/templates/deployment.yaml b/kubernetes/common/dgbuilder/templates/deployment.yaml
index e1fac77a97..d0e298b7b6 100644
--- a/kubernetes/common/dgbuilder/templates/deployment.yaml
+++ b/kubernetes/common/dgbuilder/templates/deployment.yaml
@@ -14,7 +14,7 @@
# limitations under the License.
*/}}
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "common.fullname" . }}
@@ -26,6 +26,9 @@ metadata:
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
template:
metadata:
labels: