diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-07-30 14:24:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-07-30 14:24:31 +0000 |
commit | 4cbf5bbca95008ae657cc99c6014b4fabffb2f44 (patch) | |
tree | dedc55d4a0ccb791996ab99dafc8add627fd99a4 /kubernetes/vfc/charts/vfc-generic-vnfm-driver/templates/deployment.yaml | |
parent | 581695730d5a99bb834acec2bc38fa9570e316b4 (diff) | |
parent | 7b2e71485162b849ed8a26cd570fc75ee2bfeabc (diff) |
Merge "[VFC] Make VFC compatible with Kubernetes v1.17"
Diffstat (limited to 'kubernetes/vfc/charts/vfc-generic-vnfm-driver/templates/deployment.yaml')
-rw-r--r-- | kubernetes/vfc/charts/vfc-generic-vnfm-driver/templates/deployment.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/vfc/charts/vfc-generic-vnfm-driver/templates/deployment.yaml b/kubernetes/vfc/charts/vfc-generic-vnfm-driver/templates/deployment.yaml index a42567050b..c6987f14ee 100644 --- a/kubernetes/vfc/charts/vfc-generic-vnfm-driver/templates/deployment.yaml +++ b/kubernetes/vfc/charts/vfc-generic-vnfm-driver/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: |