forked from datashim-io/datashim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
15 lines (14 loc) · 1.51 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DATASET_OPERATOR_NAMESPACE=dlf
manifests:
helm template --set global.namespaceYaml="true" --namespace=$(DATASET_OPERATOR_NAMESPACE) --name-template=default chart/ > release-tools/manifests/dlf.yaml
helm template --set global.namespaceYaml="true" --set global.sidecars.kubeletPath="/var/data/kubelet" --namespace=$(DATASET_OPERATOR_NAMESPACE) --name-template=default chart/ > release-tools/manifests/dlf-ibm-k8s.yaml
helm template --set global.namespaceYaml="true" --set global.type="oc" --set global.sidecars.kubeletPath="/var/data/kubelet" --namespace=$(DATASET_OPERATOR_NAMESPACE) --name-template=default chart/ > release-tools/manifests/dlf-ibm-oc.yaml
helm template --set global.namespaceYaml="true" --set global.type="oc" --namespace=$(DATASET_OPERATOR_NAMESPACE) --name-template=default chart/ > release-tools/manifests/dlf-oc.yaml
helm template --set global.namespaceYaml="true" --set global.arch="arm64" --set csi-h3-chart.enabled="false" --namespace=$(DATASET_OPERATOR_NAMESPACE) --name-template=default chart/ > release-tools/manifests/dlf-arm64.yaml
helm template --set global.namespaceYaml="true" --set global.arch="ppc64le" --set csi-h3-chart.enabled="false" --namespace=$(DATASET_OPERATOR_NAMESPACE) --name-template=default chart/ > release-tools/manifests/dlf-ppc64le.yaml
undeployment:
kubectl delete -f ./release-tools/manifests/dlf.yaml
kubectl label namespace default monitor-pods-datasets-
deployment:
kubectl apply -f ./release-tools/manifests/dlf.yaml
kubectl label namespace default monitor-pods-datasets=enabled