Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: [NPM] Remove TLS Certifications in NPM #2561

Merged
merged 1 commit into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ controller-gen
build/tools/bin
npm/debug/http

# certificates
*/**/certs/
*.crt
*.pem
*.srl

go.work*

# scale-test
Expand Down
3 changes: 0 additions & 3 deletions npm/linux.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ RUN CGO_ENABLED=0 go build -v -o /usr/local/bin/azure-npm -ldflags "-X main.vers

FROM mcr.microsoft.com/mirror/docker/library/ubuntu:20.04
COPY --from=builder /usr/local/bin/azure-npm /usr/bin/azure-npm
COPY --from=builder /usr/local/src/npm/scripts /usr/local/npm
RUN apt-get update && apt-get install -y iptables ipset ca-certificates && apt-get autoremove -y && apt-get clean
RUN chmod +x /usr/bin/azure-npm
WORKDIR /usr/local/npm
RUN ./generate_certs.sh
ENTRYPOINT ["/usr/bin/azure-npm", "start"]
38 changes: 0 additions & 38 deletions npm/scripts/generate_certs.sh

This file was deleted.

21 changes: 0 additions & 21 deletions npm/scripts/san.cnf

This file was deleted.

Loading