Skip to content

Commit

Permalink
remove local k8s manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
IbraAoad committed Jun 4, 2024
1 parent 597adfd commit 220705b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 76 deletions.
16 changes: 0 additions & 16 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,6 @@ cp config-defaults.yaml cos-alerter.yaml
docker run -p 8080:8080 --rm --mount type=bind,source="$(pwd)"/cos-alerter.yaml,target=/etc/cos-alerter.yaml,readonly -it cos-alerter:0.2.0
```

## Run With Kubernetes
Prepare the image:
```shell
rockcraft pack
# update <registry-ip> with the actual IP of your docker registry
# update <image-tag> with the image tag you would like to use in testing
skopeo copy oci-archive:cos-alerter_0.8.0_amd64.rock docker://<registry-ip>/<image-tag> --dest-tls-verify=false
```

Run:
```shell
# in k8s-local-test/deploy.yaml update <registry-ip>/<image-tag> with appropriate values
# in k8s-local-test/deploy.yaml update cos-alerter.yaml configmap with appropriate values
kubectl apply -f k8s-local-test/deploy.yaml
kubectl apply -f k8s-local-test/svc.yaml
```

## Run Tests

Expand Down
47 changes: 0 additions & 47 deletions k8s-local-test/deploy.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions k8s-local-test/svc.yaml

This file was deleted.

0 comments on commit 220705b

Please sign in to comment.