mirror of
https://github.com/SpecterOps/Nemesis
synced 2026-06-08 12:36:42 +00:00
ad4c3e2ea6
- Docs updates for Helm
801 B
801 B
Creating a New Service
- Create a new folder in
/cmd/withpoetry new NAME- Add dependencies as needed with
poetry add LIBRARY, and thenpoetry lockto lock the dependencies in - Follow an existing module like
dotnetto see how the Dockerfile should be structured for Poetry.
- Add dependencies as needed with
- Create/test a .Dockerfile and place it in in ./dockerfiles/
- You can build the dockerfile independently with
~/ods$ docker build -f ./dockerfiles/<SERVICE>.Dockerfile .
- You can build the dockerfile independently with
- In ./helm/nemesis/templates/ create (based on existing examples):
./<SERVICE>.deployment.yaml./<SERVICE>.service.yaml
- In skaffold.yaml:
- Add the service under the build, profile/artifacts, and kubectl/manifests sections
- (Optionally) Expose the port in the portForward section