Skip to content

Commit 6bae478

Browse files
committed
Added nfs provisioner changes
1 parent a9dd646 commit 6bae478

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

cloudbees-cd/kubernetes/storage/eks/efs-provision.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,14 @@ function _create {
5858
echo "${bold}2) File System IP ====> ${green}${underline}$FS_IP${normal}"
5959
echo "${bold}3) Region ====> ${green}${underline}$REGION${normal}"
6060
echo "+++++++++Deployment through helm+++++++++"
61-
echo "${bold}1) helm repo add stable https://kubernetes-charts.storage.googleapis.com/${normal}"
61+
echo "${bold}1) helm repo add nfs-subdir-external-provisioner https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner/"
6262
echo "${bold}2) helm repo update${normal}"
63-
echo "${bold}3) helm install efs-provisioner stable/efs-provisioner --namespace kube-system --set efsProvisioner.efsFileSystemId=$FS_ID --set efsProvisioner.awsRegion=$REGION --set efsProvisioner.dnsName=$FS_IP${normal}"
63+
echo "${bold}3) helm install efs-provisioner nfs-subdir-external-provisioner/nfs-subdir-external-provisioner --namespace kube-system --set efsProvisioner.efsFileSystemId=$FS_ID --set efsProvisioner.awsRegion=$REGION --set efsProvisioner.dnsName=$FS_IP${normal}"
6464
fi
6565
}
6666

67+
68+
6769
function _delete {
6870
_parse_args "$@"
6971

cloudbees-cd/kubernetes/storage/gcp/filestore.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ function _create {
5757
echo "${bold}+++++++++Use below information to deploy helm chart+++++++++${normal}"
5858
echo "${bold}2) File System IP ====> ${green}${underline}$FS_IP${normal}"
5959
echo "+++++++++Deployment through helm+++++++++"
60-
echo "${bold}1) helm repo add stable https://kubernetes-charts.storage.googleapis.com/${normal}"
60+
echo "${bold}1) helm repo add nfs-subdir-external-provisioner https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner/"
6161
echo "${bold}2) helm repo update${normal}"
62-
echo "${bold}3) helm install nfs-provisioner stable/nfs-client-provisioner --namespace kube-system --set nfs.server=$FS_IP --set nfs.path=/filestore${normal}"
62+
echo "${bold}3) helm install nfs-provisioner nfs-subdir-external-provisioner/nfs-subdir-external-provisioner --namespace kube-system --set nfs.server=$FS_IP --set nfs.path=/filestore${normal}"
6363
fi
6464
}
6565

0 commit comments

Comments
 (0)