diff options
author | Grzegorz-Lis <grzegorz.lis@nokia.com> | 2020-07-10 12:45:20 +0200 |
---|---|---|
committer | Grzegorz-Lis <grzegorz.lis@nokia.com> | 2020-07-10 12:45:20 +0200 |
commit | d010433157b048fa2add3966506e819322bb49be (patch) | |
tree | b53020ecf79b3ba9db2bcfbd2c8df37c351b3dfe | |
parent | 44a38a594677ca38c4eea288908ebf503ad91b4e (diff) |
Make ROBOT compatible with Kubernetes v1.17
Issue-ID: OOM-2464
Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com>
Change-Id: Iaacf334bc72f5c529c522fcc3ee598447b2cb916
-rw-r--r-- | templates/deployment.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 246acb3..a466189 100644 --- a/templates/deployment.yaml +++ b/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: |