From 9792166f18bc4e047040cee18671f9e287054ae2 Mon Sep 17 00:00:00 2001 From: Graham Date: Thu, 20 Jul 2023 08:24:25 -0600 Subject: [PATCH] Update 1Password op-scim-bridge to v2.8.2 (#469) * 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 Co-authored-by: mbeyt <57464615+mbeyt@users.noreply.github.com> --- stacks/op-scim-bridge/deploy.sh | 13 +++++++++++-- stacks/op-scim-bridge/values.yml | 7 +++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 stacks/op-scim-bridge/values.yml diff --git a/stacks/op-scim-bridge/deploy.sh b/stacks/op-scim-bridge/deploy.sh index b3b52f31..c069fa6c 100755 --- a/stacks/op-scim-bridge/deploy.sh +++ b/stacks/op-scim-bridge/deploy.sh @@ -9,12 +9,21 @@ 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 \ @@ -22,4 +31,4 @@ helm upgrade "$RELEASE" "$REPO_NAME/$CHART_NAME" \ --create-namespace \ --namespace "$NAMESPACE" \ --version "$CHART_VERSION" \ - --set scim.credentialsVolume.storageClass="$STORAGE_CLASS" + --values "$VALUES_FILE" diff --git a/stacks/op-scim-bridge/values.yml b/stacks/op-scim-bridge/values.yml new file mode 100644 index 00000000..f0aa15d0 --- /dev/null +++ b/stacks/op-scim-bridge/values.yml @@ -0,0 +1,7 @@ +scim: + credentials: + volume: + enabled: true + storageClass: "do-block-storage" + secrets: + enabled: false