Skip to content

Commit

Permalink
ci: fix shellcheck file paths (#786)
Browse files Browse the repository at this point in the history
* ci: fix shellcheck file paths

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>

* chore: fix shellcheck failures

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
  • Loading branch information
aramase authored Feb 1, 2022
1 parent c407a87 commit 4f79862
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ lint: $(TOOLS_DIR)/golangci-lint $(TOOLS_DIR)/misspell

.PHONY: shellcheck
shellcheck: $(SHELLCHECK)
$(SHELLCHECK) */*.sh
find . -name '*.sh' | xargs $(SHELLCHECK)

.PHONY: unit-test
unit-test:
Expand Down
5 changes: 4 additions & 1 deletion examples/kind/kind-demo.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

CLIENT_ID=$1
CLIENT_SECRET=$2

Expand All @@ -9,7 +11,8 @@ helm repo add csi-secrets-store-provider-azure https://azure.github.io/secrets-s
helm install csi-secrets-store-provider-azure/csi-secrets-store-provider-azure --generate-name

# create secret in k8
kubectl create secret generic secrets-store-creds --from-literal clientid=$CLIENT_ID --from-literal clientsecret=$CLIENT_SECRET
kubectl create secret generic secrets-store-creds --from-literal clientid="$CLIENT_ID" --from-literal clientsecret="$CLIENT_SECRET"

# label the secret
kubectl label secret secrets-store-creds secrets-store.csi.k8s.io/used=true

Expand Down

0 comments on commit 4f79862

Please sign in to comment.