summaryrefslogtreecommitdiffstats
path: root/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml
diff options
context:
space:
mode:
authorkosewski <krzysztof.kosewski@nokia.com>2020-07-14 09:57:53 +0000
committerkosewski <krzysztof.kosewski@nokia.com>2020-07-14 09:57:53 +0000
commit24e522984cf3bc3f2788e0a4ed62ee6ff2925524 (patch)
tree580550ebf7c8890da6087dfe760efa59e7c5a1ad /kubernetes/appc/charts/appc-cdt/templates/deployment.yaml
parentc7b1cb5f8f4f06a5d93eab188f564484fa7a8549 (diff)
Make APPC compatible with Kubernetes v1.17
Issue-ID: OOM-2447 Signed-off-by: Krzysztof Kosewski <krzysztof.kosewski@nokia.com> Change-Id: I9a199104001162fbf8531ac6ce9df4c3210c917d
Diffstat (limited to 'kubernetes/appc/charts/appc-cdt/templates/deployment.yaml')
-rw-r--r--kubernetes/appc/charts/appc-cdt/templates/deployment.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml b/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml
index 2879964392..9cf2a10a38 100644
--- a/kubernetes/appc/charts/appc-cdt/templates/deployment.yaml
+++ b/kubernetes/appc/charts/appc-cdt/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" . }}
@@ -23,6 +23,9 @@ metadata:
release: {{ include "common.release" . }}
heritage: {{ .Release.Service }}
spec:
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
replicas: {{ .Values.replicaCount }}
template:
metadata: