Skip to content

Commit

Permalink
deploy.sh to go code to fix gosec related issues
Browse files Browse the repository at this point in the history
Signed-off-by: Max Rantil <[email protected]>
  • Loading branch information
Max Rantil committed Mar 13, 2024
1 parent 06f7d39 commit 6d418d6
Show file tree
Hide file tree
Showing 4 changed files with 716 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Kustomizations for Baremetal Operator

This folder contains kustomizations for the Baremetal Operator. They have
traditionally been used through the [deploy.sh](../tools/deploy.sh) script,
traditionally been used through the [deploy.go](../tools/deploy.go) program,
which takes care of generating the necessary config for basic-auth and TLS.
However, a more GitOps friendly way would be to create your own static overlay.
Check the `overlays/e2e` for an example that is used in the e2e tests.
Expand Down
4 changes: 3 additions & 1 deletion docs/deploying.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,11 @@ for you.
Then run :

```sh
./tools/deploy.sh [-b -i -t -n -k]
go build -o tools/deploy tools/deploy.go
./tools/deploy [-h -b -i -t -n -k]
```

- `-h`: show help message
- `-b`: deploy BMO
- `-i`: deploy Ironic
- `-t`: deploy with TLS enabled
Expand Down
2 changes: 1 addition & 1 deletion ironic-deployment/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Kustomizations for Ironic

This folder contains kustomizations for Ironic. They are mainly used
through the [deploy.sh](../tools/deploy.sh) script, which takes care of
through the [deploy.go](../tools/deploy.go) program, which takes care of
generating the necessary config for basic-auth and TLS.

- **base** - This is the kustomize base that we start from.
Expand Down
Loading

0 comments on commit 6d418d6

Please sign in to comment.