Skip to content

Commit

Permalink
remove cert-gen script (nginx#5583)
Browse files Browse the repository at this point in the history
  • Loading branch information
vepatel authored and ssrahul96 committed Jun 20, 2024
1 parent de45ae8 commit 6ad91bd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ telemetry-schema: ## Generate the telemetry Schema
go generate internal/telemetry/exporter.go
gofumpt -w internal/telemetry/*_generated.go

.PHONY: certificate-and-key
certificate-and-key: ## Create default cert and key
./build/generate_default_cert_and_key.sh

.PHONY: build
build: ## Build Ingress Controller binary
@docker -v || (code=$$?; printf "\033[0;31mError\033[0m: there was a problem with Docker\n"; exit $$code)
Expand Down
5 changes: 0 additions & 5 deletions build/generate_default_cert_and_key.sh

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ A few other useful targets:
| _push_ | Pushes the built image to the Docker registry. Configures with `PREFIX` and `TAG`. |
| _all_ | Runs `test`, `lint`, `verify-codegen`, `update-crds`, and `debian-image`. Stops and reports an error if any of these targets fail. |
| _test_ | Runs unit tests. |
| _certificate-and-key_ | NGINX Ingress Controller requires a certificate and key for the default HTTP/HTTPS server. You have several options: <ul><li>Reference them in a TLS Secret in a command-line argument to NGINX Ingress Controller.</li><li>Add them to the image in in a file in PEM format as `/etc/nginx/secrets/default`.</li><li>Generate a self-signed certificate and key with this target.</li></ul>Note, you must include the `ADD` instruction in your Dockerfile to copy the cert and key to the image. |
{{</bootstrap-table>}}

### Makefile variables you can customize {#makefile-variables}
Expand Down

0 comments on commit 6ad91bd

Please sign in to comment.