aboutsummaryrefslogtreecommitdiffstats
path: root/deployments/helm/onap4k8s/charts/mongo/templates/nfs-provisoner.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'deployments/helm/onap4k8s/charts/mongo/templates/nfs-provisoner.yaml')
-rw-r--r--deployments/helm/onap4k8s/charts/mongo/templates/nfs-provisoner.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/deployments/helm/onap4k8s/charts/mongo/templates/nfs-provisoner.yaml b/deployments/helm/onap4k8s/charts/mongo/templates/nfs-provisoner.yaml
index 355ad382..a69382e4 100644
--- a/deployments/helm/onap4k8s/charts/mongo/templates/nfs-provisoner.yaml
+++ b/deployments/helm/onap4k8s/charts/mongo/templates/nfs-provisoner.yaml
@@ -15,7 +15,7 @@
*/}}
{{ if not .Values.disableNfsProvisioner }}
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Values.nfsprovisionerPrefix }}-nfs-provisioner
@@ -26,6 +26,10 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
+ selector:
+    matchLabels:
+ app: {{ .Values.nfsprovisionerPrefix }}-nfs-provisioner
+ release: {{ .Release.Name }}
#replicas: {{ .Values.replicaCount }}
strategy:
type: Recreate