Skip to content

Commit

Permalink
Merge pull request #58 from NearNodeFlash/release-v0.0.11
Browse files Browse the repository at this point in the history
Release v0.0.11
  • Loading branch information
ajfloeder committed Feb 27, 2024
2 parents 3a05a12 + 768055e commit 93697e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ kind: Kustomization
images:
- name: controller
newName: ghcr.io/nearnodeflash/lustre-fs-operator
newTag: 0.0.10
newTag: 0.0.11
5 changes: 3 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# limitations under the License.

set -e
set -o pipefail

# Deploy/undeploy controller to the K8s cluster specified in ~/.kube/config.

Expand All @@ -26,7 +27,7 @@ KUSTOMIZE=$2
OVERLAY_DIR=$3

if [[ $CMD == 'deploy' ]]; then
$KUSTOMIZE build $OVERLAY_DIR | kubectl apply -f -
$KUSTOMIZE build "$OVERLAY_DIR" | kubectl apply -f -

# Deploy the ServiceMonitor resource if its CRD is found. The CRD would
# have been installed by a metrics service such as Prometheus.
Expand All @@ -40,7 +41,7 @@ if [[ $CMD == 'undeploy' ]]; then
$KUSTOMIZE build config/prometheus | kubectl delete --ignore-not-found -f-
fi
# Do not touch the namespace resource when deleting this service.
$KUSTOMIZE build $OVERLAY_DIR | yq eval 'select(.kind != "Namespace")' | kubectl delete --ignore-not-found -f -
$KUSTOMIZE build "$OVERLAY_DIR" | yq eval 'select(.kind != "Namespace")' | kubectl delete --ignore-not-found -f -
fi

exit 0

0 comments on commit 93697e1

Please sign in to comment.