Skip to content

Commit

Permalink
peerpodconfig-ctrl: Remove
Browse files Browse the repository at this point in the history
Remove peerpodconfig controller as its functionality is now
included in CAA itself.

Signed-off-by: Pradipta Banerjee <[email protected]>
  • Loading branch information
bpradipt committed Sep 6, 2024
1 parent 5e9cc6b commit 2c3a48f
Show file tree
Hide file tree
Showing 56 changed files with 2 additions and 2,840 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ jobs:
matrix:
controller:
- peerpod-ctrl
- peerpodconfig-ctrl
defaults:
run:
working-directory: src/${{ matrix.controller }}
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/e2e_libvirt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ jobs:
echo "::group::cloud-api-adaptor logs"
kubectl logs -l app=cloud-api-adaptor -n confidential-containers-system
echo "::endgroup::"
echo "::group::peerpodconfig-ctrl-caa-daemon logs"
kubectl logs ds/peerpodconfig-ctrl-caa-daemon -n confidential-containers-system
echo "::endgroup::"
for pod in $(kubectl get pods -o name 2>/dev/null); do
echo "::group::Describe $pod"
Expand Down
71 changes: 0 additions & 71 deletions .github/workflows/peerpodconfig-ctrl_image.yaml

This file was deleted.

9 changes: 1 addition & 8 deletions .github/workflows/publish_images_on_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,7 @@ jobs:
with:
image_tags: latest,${{ github.sha }}
git_ref: ${{ github.sha }}
secrets: inherit

peerpodconfig-ctrl:
uses: ./.github/workflows/peerpodconfig-ctrl_image.yaml
with:
image_tags: ${{ github.sha }},latest
git_ref: ${{ github.sha }}
secrets: inherit
secrets: inherit

webhook:
uses: ./.github/workflows/webhook_image.yaml
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@ jobs:
git_ref: ${{ github.ref }}
secrets: inherit

peerpodconfig-ctrl:
uses: ./.github/workflows/peerpodconfig-ctrl_image.yaml
with:
image_tags: ${{ github.event.release.tag_name }}
git_ref: ${{ github.ref }}
secrets: inherit

podvm_builder:
uses: ./.github/workflows/podvm_builder.yaml
with:
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ The background and description of the components involved in 'peer pods' can be
## Cloud API Adaptor
[cloud-api-adaptor](./src/cloud-api-adaptor/) Ability to create Kata pods using cloud provider APIs aka the peer-pods approach

## PeerPodConfig controller
[peerpodconfig-ctrl](./src/peerpodconfig-ctrl/) PeerPodConfig controller is watching the PeerPodConfig CRD object and manages the creation and deletion lifecycle of all required components to run peer pods.

## CSI Wrapper
[csi-wrapper](./src/csi-wrapper/) CSI Wrapper solution for Peer Pod Storage

Expand Down
12 changes: 1 addition & 11 deletions docs/Release-Process.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ git tag src/csi-wrapper/v0.8.0-alpha.1 main
git push upstream src/csi-wrapper/v0.8.0-alpha.1
git tag src/peerpod-ctrl/v0.8.0-alpha.1 main
git push upstream src/peerpod-ctrl/v0.8.0-alpha.1
git tag src/peerpodconfig-ctrl/v0.8.0-alpha.1 main
git push upstream src/peerpodconfig-ctrl/v0.8.0-alpha.1
git tag src/webhook/v0.8.0-alpha.1 main
git push upstream src/webhook/v0.8.0-alpha.1
```
Expand All @@ -121,9 +119,6 @@ Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
To github.com:confidential-containers/cloud-api-adaptor.git
* [new tag] src/peerpod-ctrl/v0.8.0-alpha.1 -> src/peerpod-ctrl/v0.8.0-alpha.1
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
To github.com:confidential-containers/cloud-api-adaptor.git
* [new tag] src/peerpodconfig-ctrl/v0.8.0-alpha.1 -> src/peerpodconfig-ctrl/v0.8.0-alpha.1
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
To github.com:confidential-containers/cloud-api-adaptor.git
* [new tag] src/webhook/v0.8.0-alpha.1 -> src/webhook/v0.8.0-alpha.1
```
Expand Down Expand Up @@ -183,8 +178,6 @@ git tag src/csi-wrapper/v0.8.0 main
git push upstream src/csi-wrapper/v0.8.0
git tag src/peerpod-ctrl/v0.8.0 main
git push upstream src/peerpod-ctrl/v0.8.0
git tag src/peerpodconfig-ctrl/v0.8.0 main
git push upstream src/peerpodconfig-ctrl/v0.8.0
git tag src/webhook/v0.8.0 main
git push upstream src/webhook/v0.8.0
```
Expand All @@ -202,10 +195,7 @@ To github.com:confidential-containers/cloud-api-adaptor.git
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
To github.com:confidential-containers/cloud-api-adaptor.git
* [new tag] src/peerpod-ctrl/v0.8.0 -> src/peerpod-ctrl/v0.8.0
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
To github.com:confidential-containers/cloud-api-adaptor.git
* [new tag] src/peerpodconfig-ctrl/v0.8.0 -> src/peerpodconfig-ctrl/v0.8.0
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
To github.com:confidential-containers/cloud-api-adaptor.git
* [new tag] src/webhook/v0.8.0 -> src/webhook/v0.8.0
```
Expand Down
5 changes: 0 additions & 5 deletions docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,6 @@ The [webhook](../src/webhook/) is an mutating admission controller that modifies
remove all resources entries and replace it with peer-pod extended resource. This is needed as unlike a standard pod, a
peer pod will not consume the worker node's resources in the same way.

### peerpodconfig-ctrl

The [peerpodconfig-ctrl](../src/peerpodconfig-ctrl/) is a Kubernetes controller that manages the creation and deletion of
components required to run peer pods.

### peerpod-ctrl

The [peerpod-ctrl](../src/peerpod-ctrl/) is a Kubernetes controller that is used to track the cloud provider resources for
Expand Down
1 change: 0 additions & 1 deletion src/cloud-api-adaptor/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ install/
ibmcloud/
libvirt/
peerpod-ctrl/
peerpodconfig-ctrl/
volumes/
webwook/

Expand Down
4 changes: 0 additions & 4 deletions src/peerpodconfig-ctrl/.dockerignore

This file was deleted.

25 changes: 0 additions & 25 deletions src/peerpodconfig-ctrl/.gitignore

This file was deleted.

27 changes: 0 additions & 27 deletions src/peerpodconfig-ctrl/Dockerfile

This file was deleted.

Loading

0 comments on commit 2c3a48f

Please sign in to comment.