forked from pegasystems/pega-helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
67 lines (60 loc) · 2.23 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
dependencies:
helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/
helm repo add stable https://kubernetes-charts.storage.googleapis.com
helm repo add application-gateway-kubernetes-ingress https://appgwingress.blob.core.windows.net/ingress-azure-helm-package/
helm repo list
helm dependency update ./charts/pega/
helm dependency update ./charts/addons/
examples:
mkdir -p ./build/kubernetes
helm template ./charts/pega/ \
--output-dir ./build/kubernetes \
--values ./charts/pega/values.yaml \
--namespace example \
--set global.provider=k8s \
--set global.actions.execute=deploy
tar -C ./build/kubernetes/pega -cvzf ./pega-kubernetes-example.tar.gz .
mkdir -p ./build/openshift
helm template ./charts/pega/ \
--output-dir ./build/openshift \
--values ./charts/pega/values.yaml \
--namespace example \
--set global.provider=openshift \
--set global.actions.execute=deploy
tar -C ./build/openshift/pega -cvzf ./pega-openshift-example.tar.gz .
mkdir -p ./build/aws-eks
helm template ./charts/pega/ \
--output-dir ./build/aws-eks \
--values ./charts/pega/values.yaml \
--namespace example \
--set global.provider=eks \
--set global.actions.execute=deploy
tar -C ./build/aws-eks/pega -cvzf ./pega-aws-eks-example.tar.gz .
mkdir -p ./build/azure-aks
helm template ./charts/pega/ \
--output-dir ./build/azure-aks \
--values ./charts/pega/values.yaml \
--namespace example \
--set global.provider=aks \
--set global.actions.execute=deploy
tar -C ./build/azure-aks/pega -cvzf ./pega-azure-aks-example.tar.gz .
mkdir -p ./build/google-gke
helm template ./charts/pega/ \
--output-dir ./build/google-gke \
--values ./charts/pega/values.yaml \
--namespace example \
--set global.provider=gke \
--set global.actions.execute=deploy
tar -C ./build/google-gke/pega -cvzf ./pega-google-gke-example.tar.gz .
mkdir -p ./build/pivotal-pks
helm template ./charts/pega/ \
--output-dir ./build/pivotal-pks \
--values ./charts/pega/values.yaml \
--namespace example \
--set global.provider=pks \
--set global.actions.execute=deploy
tar -C ./build/pivotal-pks/pega -cvzf ./pega-pivotal-pks-example.tar.gz .
clean:
rm -rf ./build
rm -rf ./charts/pega/charts/*
rm -rf ./*.tar.gz