summaryrefslogtreecommitdiffstats
path: root/kubernetes/vfc/charts/vfc-vnfres/templates
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-07-30 14:24:31 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-30 14:24:31 +0000
commit4cbf5bbca95008ae657cc99c6014b4fabffb2f44 (patch)
treededc55d4a0ccb791996ab99dafc8add627fd99a4 /kubernetes/vfc/charts/vfc-vnfres/templates
parent581695730d5a99bb834acec2bc38fa9570e316b4 (diff)
parent7b2e71485162b849ed8a26cd570fc75ee2bfeabc (diff)
Merge "[VFC] Make VFC compatible with Kubernetes v1.17"
Diffstat (limited to 'kubernetes/vfc/charts/vfc-vnfres/templates')
-rw-r--r--kubernetes/vfc/charts/vfc-vnfres/templates/deployment.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/vfc/charts/vfc-vnfres/templates/deployment.yaml b/kubernetes/vfc/charts/vfc-vnfres/templates/deployment.yaml
index ca056857d5..a39eb68af4 100644
--- a/kubernetes/vfc/charts/vfc-vnfres/templates/deployment.yaml
+++ b/kubernetes/vfc/charts/vfc-vnfres/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: