Skip to content

Commit

Permalink
Merge pull request #74 from vdice/chore/bump-spin-operator
Browse files Browse the repository at this point in the history
chore(environment): bump spin-operator version to 0.2.0
  • Loading branch information
kate-goldenring authored Jun 25, 2024
2 parents 4204e8f + 3590184 commit 1401f24
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions environment/spin-kube.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ source "${SCRIPT_PATH}/../utils.sh"
SHIM_VERSION=${SHIM_VERSION:-v0.14.1}
DATADOG_API_KEY=${DATADOG_API_KEY:-''}
READINESS_TIMEOUT=${READINESS_TIMEOUT:-20s}
SPIN_OPERATOR_VERSION=${SPIN_OPERATOR_VERSION:-0.2.0}

install_cert_manager() {
# Install cert-manager CRDs
Expand Down Expand Up @@ -105,18 +106,18 @@ install_spin_operator() {
kubectl apply -f "${SCRIPT_PATH}/runtime-class.yaml"

# Apply Spin CRDs
kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.1.0/spin-operator.crds.yaml
kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v${SPIN_OPERATOR_VERSION}/spin-operator.crds.yaml

# Install Spin Operator with Helm
helm upgrade --install spin-operator \
--namespace spin-operator \
--create-namespace \
--version 0.1.0 \
--version ${SPIN_OPERATOR_VERSION} \
--wait \
oci://ghcr.io/spinkube/charts/spin-operator

# Add the shim executor for the Spin operator
kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v0.1.0/spin-operator.shim-executor.yaml
kubectl apply -f https://github.com/spinkube/spin-operator/releases/download/v${SPIN_OPERATOR_VERSION}/spin-operator.shim-executor.yaml

# Wait for the Spin Operator to be ready
kubectl wait --for=condition=available --timeout=${READINESS_TIMEOUT} deployment/spin-operator-controller-manager -n spin-operator
Expand Down

0 comments on commit 1401f24

Please sign in to comment.