Skip to content

Commit

Permalink
Update 1Password op-scim-bridge to v2.8.2 (#469)
Browse files Browse the repository at this point in the history
* Fix chart issue

* Move storage class into values.yml

* Update stacks/op-scim-bridge/deploy.sh with GitHub hosted master version

Co-authored-by: mbeyt <57464615+mbeyt@users.noreply.github.com>

---------

Co-authored-by: Alice Thorne <alice.thorne@agilebits.com>
Co-authored-by: mbeyt <57464615+mbeyt@users.noreply.github.com>
  • Loading branch information
3 people committed Jul 20, 2023
1 parent ca92d3f commit 9792166
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
13 changes: 11 additions & 2 deletions stacks/op-scim-bridge/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,26 @@ helm repo add "$REPO_NAME" "$REPO_URL"
helm repo update > /dev/null

CHART_NAME="op-scim-bridge"
CHART_VERSION="2.10.2"
CHART_VERSION="2.10.3"

RELEASE="op-scim-bridge"
NAMESPACE="op-scim-bridge"
STORAGE_CLASS="do-block-storage"

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

helm upgrade "$RELEASE" "$REPO_NAME/$CHART_NAME" \
--atomic \
--install \
--timeout 8m0s \
--create-namespace \
--namespace "$NAMESPACE" \
--version "$CHART_VERSION" \
--set scim.credentialsVolume.storageClass="$STORAGE_CLASS"
--values "$VALUES_FILE"
7 changes: 7 additions & 0 deletions stacks/op-scim-bridge/values.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
scim:
credentials:
volume:
enabled: true
storageClass: "do-block-storage"
secrets:
enabled: false

0 comments on commit 9792166

Please sign in to comment.