Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
add lakefs (digitalocean#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyaug authored Mar 15, 2021
1 parent 459afd5 commit 8bfa633
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
34 changes: 34 additions & 0 deletions stacks/lakefs/deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/bin/sh

set -e

################################################################################
# repo
################################################################################
helm repo add lakefs http://charts.lakefs.io/
helm repo update > /dev/null

################################################################################
# chart
################################################################################
STACK="lakefs"
CHART="lakefs/lakefs"
CHART_VERSION="0.5.15"
NAMESPACE="lakefs"

if [ -z "${MP_KUBERNETES}" ]; then
# use local version of values.yml
ROOT_DIR=$(git rev-parse --show-toplevel)
values="$ROOT_DIR/stacks/lakefs/values.yml"
else
# use github hosted master version of values.yml
values="https://raw.githubusercontent.com/digitalocean/marketplace-kubernetes/master/stacks/lakefs/values.yml"
fi

helm upgrade "$STACK" "$CHART" \
--atomic \
--create-namespace \
--install \
--namespace "$NAMESPACE" \
--values "$values" \
--version "$CHART_VERSION"
1 change: 1 addition & 0 deletions stacks/lakefs/values.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# lakefs/lakefs

0 comments on commit 8bfa633

Please sign in to comment.