|
|
|
@ -13,6 +13,8 @@ install: |
|
|
|
-kubectl create -f reg-secret.yaml |
|
|
|
-kubectl create -f jenkins-10-serviceAccount.yaml |
|
|
|
|
|
|
|
-kubectl create -f jenkins-20-storage-class.yaml |
|
|
|
-kubectl create -f jenkins-21-pvc.yaml |
|
|
|
-kubectl create -f jenkins-25-volume.yaml |
|
|
|
-envsubst < jenkins-30-deployment.yaml |kubectl create -f - |
|
|
|
-kubectl create -f jenkins-40-service.yaml |
|
|
|
@ -23,6 +25,8 @@ clean: |
|
|
|
-kubectl delete -f jenkins-40-service.yaml |
|
|
|
-envsubst < jenkins-30-deployment.yaml |kubectl delete -f - |
|
|
|
-kubectl delete -f jenkins-25-volume.yaml |
|
|
|
-kubectl delete -f jenkins-21-pvc.yaml |
|
|
|
-kubectl delete -f jenkins-20-storage-class.yaml |
|
|
|
-kubectl delete -f jenkins-10-serviceAccount.yaml |
|
|
|
-kubectl delete -f reg-secret.yaml |
|
|
|
-kubectl delete -f jenkins-05-namespace.yaml |