aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-07-08 06:42:48 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-08 06:42:48 +0000
commitced08d06bd570214cd3648b821e78eb0d02899da (patch)
tree612e53a6cd6381d5d451d0f03a49d247582303e6 /kubernetes
parenta503a4fc166e419c92197789923ed46e9b73ff03 (diff)
parent326a5e712ea5bfb9b4cf8e471e5db669f2f1eeb1 (diff)
Merge "Make COMMON/DGBUILDER compatible with Kubernetes v1.17"
Diffstat (limited to 'kubernetes')
-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: