diff options
author | Grzegorz-Lis <grzegorz.lis@nokia.com> | 2020-07-10 13:12:21 +0200 |
---|---|---|
committer | Grzegorz-Lis <grzegorz.lis@nokia.com> | 2020-07-10 13:12:21 +0200 |
commit | 9fd041e7461c0681a59579323485f669355a68e9 (patch) | |
tree | c5cbc905d6df1801fdb574be1257184996ee8a64 /kubernetes/contrib/components/netbox/charts/netbox-app/templates/deployment.yaml | |
parent | 2a18bd2a93ce731e47f165c65e97becba9a5c435 (diff) |
Make CONTRIB compatible with Kubernetes v1.17
Issue-ID: OOM-2452
Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com>
Change-Id: I82aa47855716bb2647aea6aac29484b325d80ef0
Diffstat (limited to 'kubernetes/contrib/components/netbox/charts/netbox-app/templates/deployment.yaml')
-rwxr-xr-x | kubernetes/contrib/components/netbox/charts/netbox-app/templates/deployment.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/contrib/components/netbox/charts/netbox-app/templates/deployment.yaml b/kubernetes/contrib/components/netbox/charts/netbox-app/templates/deployment.yaml index 16c592f48a..0d401d870c 100755 --- a/kubernetes/contrib/components/netbox/charts/netbox-app/templates/deployment.yaml +++ b/kubernetes/contrib/components/netbox/charts/netbox-app/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: |