diff options
Diffstat (limited to 'heat/vFW_CNF_CDS/templates/helm/Makefile')
-rw-r--r-- | heat/vFW_CNF_CDS/templates/helm/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/heat/vFW_CNF_CDS/templates/helm/Makefile b/heat/vFW_CNF_CDS/templates/helm/Makefile new file mode 100644 index 00000000..12d2d52f --- /dev/null +++ b/heat/vFW_CNF_CDS/templates/helm/Makefile @@ -0,0 +1,16 @@ +vf-modules = base firewall packetgen sink +.PHONY: build clean $(vf-modules:=-build) $(vf-modules:-clean) $(vf-modules:=-package) + +package: $(vf-modules:=-package) +build: $(vf-modules:=-build) +clean: $(vf-modules:=-clean) + rm -f *_cloudtech_k8s_charts.tgz + +$(vf-modules:=-package): %-package: %-build + mv $(@:package=)*.tgz $(@:-package=)_cloudtech_k8s_charts.tgz + +$(vf-modules:=-build): %-build: %-clean + helm package $(@:-build=) + +$(vf-modules:=-clean): + rm -f $(@:-clean=)-*.tgz |