Skip to content

Commit

Permalink
Updating makefile to generate deployment manifest for different versi…
Browse files Browse the repository at this point in the history
…on of K8 verison from v17-v30
  • Loading branch information
rahman-lb committed Dec 2, 2024
1 parent 7ddbfe0 commit 1628d0e
Showing 1 changed file with 104 additions and 1 deletion.
105 changes: 104 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,110 @@ lb-csi-manifests: verify_image_registry deploy/k8s
--set imageRegistry=$(DOCKER_REGISTRY) \
--set sidecarImageRegistry=$(SIDECAR_DOCKER_REGISTRY) \
--set image=$(DOCKER_TAG) > deploy/k8s/lb-csi-plugin-k8s-v1.24-dc.yaml


helm template deploy/helm/lb-csi/ \
--namespace=kube-system \
--set allowExpandVolume=true \
--set enableSnapshot=true \
--set kubeVersion=v1.25 \
--set imageRegistry=$(DOCKER_REGISTRY) \
--set sidecarImageRegistry=$(SIDECAR_DOCKER_REGISTRY) \
--set image=$(DOCKER_TAG) > deploy/k8s/lb-csi-plugin-k8s-v1.25.yaml
helm template deploy/helm/lb-csi/ \
--namespace=kube-system \
--set allowExpandVolume=true \
--set enableSnapshot=true \
--set discoveryClientInContainer=true \
--set kubeVersion=v1.25 \
--set imageRegistry=$(DOCKER_REGISTRY) \
--set sidecarImageRegistry=$(SIDECAR_DOCKER_REGISTRY) \
--set image=$(DOCKER_TAG) > deploy/k8s/lb-csi-plugin-k8s-v1.25-dc.yaml
helm template deploy/helm/lb-csi/ \
--namespace=kube-system \
--set allowExpandVolume=true \
--set enableSnapshot=true \
--set kubeVersion=v1.26 \
--set imageRegistry=$(DOCKER_REGISTRY) \
--set sidecarImageRegistry=$(SIDECAR_DOCKER_REGISTRY) \
--set image=$(DOCKER_TAG) > deploy/k8s/lb-csi-plugin-k8s-v1.26.yaml
helm template deploy/helm/lb-csi/ \
--namespace=kube-system \
--set allowExpandVolume=true \
--set enableSnapshot=true \
--set discoveryClientInContainer=true \
--set kubeVersion=v1.28 \
--set imageRegistry=$(DOCKER_REGISTRY) \
--set sidecarImageRegistry=$(SIDECAR_DOCKER_REGISTRY) \
--set image=$(DOCKER_TAG) > deploy/k8s/lb-csi-plugin-k8s-v1.26-dc.yaml
helm template deploy/helm/lb-csi/ \
--namespace=kube-system \
--set allowExpandVolume=true \
--set enableSnapshot=true \
--set kubeVersion=v1.27 \
--set imageRegistry=$(DOCKER_REGISTRY) \
--set sidecarImageRegistry=$(SIDECAR_DOCKER_REGISTRY) \
--set image=$(DOCKER_TAG) > deploy/k8s/lb-csi-plugin-k8s-v1.27.yaml
helm template deploy/helm/lb-csi/ \
--namespace=kube-system \
--set allowExpandVolume=true \
--set enableSnapshot=true \
--set discoveryClientInContainer=true \
--set kubeVersion=v1.37 \
--set imageRegistry=$(DOCKER_REGISTRY) \
--set sidecarImageRegistry=$(SIDECAR_DOCKER_REGISTRY) \
--set image=$(DOCKER_TAG) > deploy/k8s/lb-csi-plugin-k8s-v1.27-dc.yaml
helm template deploy/helm/lb-csi/ \
--namespace=kube-system \
--set allowExpandVolume=true \
--set enableSnapshot=true \
--set kubeVersion=v1.28 \
--set imageRegistry=$(DOCKER_REGISTRY) \
--set sidecarImageRegistry=$(SIDECAR_DOCKER_REGISTRY) \
--set image=$(DOCKER_TAG) > deploy/k8s/lb-csi-plugin-k8s-v1.28.yaml
helm template deploy/helm/lb-csi/ \
--namespace=kube-system \
--set allowExpandVolume=true \
--set enableSnapshot=true \
--set discoveryClientInContainer=true \
--set kubeVersion=v1.28 \
--set imageRegistry=$(DOCKER_REGISTRY) \
--set sidecarImageRegistry=$(SIDECAR_DOCKER_REGISTRY) \
--set image=$(DOCKER_TAG) > deploy/k8s/lb-csi-plugin-k8s-v1.28-dc.yaml
helm template deploy/helm/lb-csi/ \
--namespace=kube-system \
--set allowExpandVolume=true \
--set enableSnapshot=true \
--set kubeVersion=v1.29 \
--set imageRegistry=$(DOCKER_REGISTRY) \
--set sidecarImageRegistry=$(SIDECAR_DOCKER_REGISTRY) \
--set image=$(DOCKER_TAG) > deploy/k8s/lb-csi-plugin-k8s-v1.29.yaml
helm template deploy/helm/lb-csi/ \
--namespace=kube-system \
--set allowExpandVolume=true \
--set enableSnapshot=true \
--set discoveryClientInContainer=true \
--set kubeVersion=v1.29 \
--set imageRegistry=$(DOCKER_REGISTRY) \
--set sidecarImageRegistry=$(SIDECAR_DOCKER_REGISTRY) \
--set image=$(DOCKER_TAG) > deploy/k8s/lb-csi-plugin-k8s-v1.29-dc.yaml
helm template deploy/helm/lb-csi/ \
--namespace=kube-system \
--set allowExpandVolume=true \
--set enableSnapshot=true \
--set kubeVersion=v1.30 \
--set imageRegistry=$(DOCKER_REGISTRY) \
--set sidecarImageRegistry=$(SIDECAR_DOCKER_REGISTRY) \
--set image=$(DOCKER_TAG) > deploy/k8s/lb-csi-plugin-k8s-v1.30.yaml
helm template deploy/helm/lb-csi/ \
--namespace=kube-system \
--set allowExpandVolume=true \
--set enableSnapshot=true \
--set discoveryClientInContainer=true \
--set kubeVersion=v1.30 \
--set imageRegistry=$(DOCKER_REGISTRY) \
--set sidecarImageRegistry=$(SIDECAR_DOCKER_REGISTRY) \
--set image=$(DOCKER_TAG) > deploy/k8s/lb-csi-plugin-k8s-v1.30-dc.yaml

deploy/examples:
mkdir -p deploy/examples

Expand Down

0 comments on commit 1628d0e

Please sign in to comment.