summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/templates/portal-widgets-deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/portal/templates/portal-widgets-deployment.yaml')
-rw-r--r--kubernetes/portal/templates/portal-widgets-deployment.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/kubernetes/portal/templates/portal-widgets-deployment.yaml b/kubernetes/portal/templates/portal-widgets-deployment.yaml
index c3856dd339..865d84523f 100644
--- a/kubernetes/portal/templates/portal-widgets-deployment.yaml
+++ b/kubernetes/portal/templates/portal-widgets-deployment.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disablePortalPortalwidgets }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
@@ -64,4 +65,5 @@ spec:
hostPath:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/portal-fe/webapps/etc/ONAPWIDGETMS/application.properties
imagePullSecrets:
- - name: "{{ .Values.nsPrefix }}-docker-registry-key" \ No newline at end of file
+ - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }} \ No newline at end of file