Skip to content

Commit

Permalink
add helper scripts to workshop (#1141)
Browse files Browse the repository at this point in the history
Signed-off-by: Volkan Özçelik <[email protected]>
  • Loading branch information
v0lkan authored Sep 27, 2024
1 parent 7311846 commit 2e04c9a
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/workshop_spiffe_federation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ After ensuring that SPIRE is up and running in all the clusters, execute
the following in each cluster.

```bash
go run ./hack/federate.go
./hack/set-initial-bundle.sh
cd ./hack
./federate.sh
```

## Deploy the Workloads
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

# /*
# | Protect your secrets, protect your sensitive data.
# : Explore VMware Secrets Manager docs at https://vsecm.com/
# </
# <>/ keep your secrets... secret
# >/
# <>/' Copyright 2023-present VMware Secrets Manager contributors.
# >/' SPDX-License-Identifier: BSD-2-Clause
# */

go run federate.go
./set-initial-bundle.sh
echo "Federation established."
15 changes: 15 additions & 0 deletions examples/workshop_spiffe_federation/clusters/baal/hack/federate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

# /*
# | Protect your secrets, protect your sensitive data.
# : Explore VMware Secrets Manager docs at https://vsecm.com/
# </
# <>/ keep your secrets... secret
# >/
# <>/' Copyright 2023-present VMware Secrets Manager contributors.
# >/' SPDX-License-Identifier: BSD-2-Clause
# */

go run federate.go
./set-initial-bundle.sh
echo "Federation established."
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

# /*
# | Protect your secrets, protect your sensitive data.
# : Explore VMware Secrets Manager docs at https://vsecm.com/
# </
# <>/ keep your secrets... secret
# >/
# <>/' Copyright 2023-present VMware Secrets Manager contributors.
# >/' SPDX-License-Identifier: BSD-2-Clause
# */

go run federate.go
./set-initial-bundle.sh
echo "Federation established."
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

# /*
# | Protect your secrets, protect your sensitive data.
# : Explore VMware Secrets Manager docs at https://vsecm.com/
# </
# <>/ keep your secrets... secret
# >/
# <>/' Copyright 2023-present VMware Secrets Manager contributors.
# >/' SPDX-License-Identifier: BSD-2-Clause
# */

go run federate.go
./set-initial-bundle.sh
echo "Federation established."

0 comments on commit 2e04c9a

Please sign in to comment.