Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: openebs nfs provisioner #528

Merged
merged 3 commits into from
Jun 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions stacks/openebs-nfs-provisioner/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ set -e
################################################################################
# repo
################################################################################
helm repo add --force-update openebs https://openebs.github.io/openebs
helm repo add openebs-nfs https://openebs-archive.github.io/dynamic-nfs-provisioner
helm repo update > /dev/null

################################################################################
# chart
################################################################################
STACK="openebs"
CHART="openebs/openebs"
STACK="openebs-nfs-provisioner"
CHART="openebs-nfs/nfs-provisioner"
CHART_VERSION="0.11.0"
NAMESPACE="openebs-nfs-provisioner"
CHART_VERSION="4.0.1"

if [ -z "${MP_KUBERNETES}" ]; then
# use local version of values.yml
Expand All @@ -29,16 +29,12 @@ else
STORAGE_CLASS_MANIFEST="https://raw.githubusercontent.com/digitalocean/marketplace-kubernetes/master/stacks/openebs-nfs-provisioner/assets/manifests/sc-nfs-rwx.yaml"
fi

helm upgrade $STACK --namespace $NAMESPACE \
$CHART \
helm upgrade "$STACK" "$CHART" \
--atomic \
--create-namespace \
--install \
--set nfs-provisioner.enabled=true \
--set lvm-localpv.crds.lvmLocalPv.enabled=false \
--set zfs-localpv.crds.zfsLocalPv.enabled=false \
--set mayastor.agents.core.rebuild.partial.enabled=false \
--set openebs-crds.csi.volumeSnapshots.enabled=false \
--timeout 20m0s \
--timeout 8m0s \
--namespace "$NAMESPACE" \
--values "$values" \
--version "$CHART_VERSION"

Expand Down