aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-07-17 15:59:22 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-17 15:59:22 +0000
commit751843d21bf0ae2c6c897301b74e6f21ca185b40 (patch)
tree94c86432220a3feaf78175429b2aa76a5a72b550 /kubernetes
parent084a52f17d192ec7a1add7b3decf7c80ac6c55e8 (diff)
parent36800cdad514f5ca28f6c6dadb4183d8fa8aa0f8 (diff)
Merge "[CLI] Add Kubernetes v1.17 compatibility"
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/cli/templates/deployment.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/cli/templates/deployment.yaml b/kubernetes/cli/templates/deployment.yaml
index 58fc6663c5..539279f93d 100644
--- a/kubernetes/cli/templates/deployment.yaml
+++ b/kubernetes/cli/templates/deployment.yaml
@@ -12,7 +12,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: {{ include "common.fullname" . }}
@@ -24,6 +24,9 @@ metadata:
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
template:
metadata:
labels: