diff --git a/examples/workshop_spiffe_federation/README.md b/examples/workshop_spiffe_federation/README.md index 9f97cdd7..9e836650 100644 --- a/examples/workshop_spiffe_federation/README.md +++ b/examples/workshop_spiffe_federation/README.md @@ -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 diff --git a/examples/workshop_spiffe_federation/clusters/azmodan/hack/federate.sh b/examples/workshop_spiffe_federation/clusters/azmodan/hack/federate.sh new file mode 100755 index 00000000..d95ac31f --- /dev/null +++ b/examples/workshop_spiffe_federation/clusters/azmodan/hack/federate.sh @@ -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." diff --git a/examples/workshop_spiffe_federation/clusters/baal/hack/federate.sh b/examples/workshop_spiffe_federation/clusters/baal/hack/federate.sh new file mode 100755 index 00000000..d95ac31f --- /dev/null +++ b/examples/workshop_spiffe_federation/clusters/baal/hack/federate.sh @@ -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." diff --git a/examples/workshop_spiffe_federation/clusters/diablo/hack/federate.sh b/examples/workshop_spiffe_federation/clusters/diablo/hack/federate.sh new file mode 100755 index 00000000..d95ac31f --- /dev/null +++ b/examples/workshop_spiffe_federation/clusters/diablo/hack/federate.sh @@ -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." diff --git a/examples/workshop_spiffe_federation/clusters/mephisto/hack/federate.sh b/examples/workshop_spiffe_federation/clusters/mephisto/hack/federate.sh new file mode 100755 index 00000000..d95ac31f --- /dev/null +++ b/examples/workshop_spiffe_federation/clusters/mephisto/hack/federate.sh @@ -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."