Skip to content

Commit

Permalink
deprecate policysets CRD
Browse files Browse the repository at this point in the history
  • Loading branch information
Samra10 committed Nov 22, 2023
1 parent a2a59c0 commit a05c1aa
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 387 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ help: ## Display this help.
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
cd api && $(CONTROLLER_GEN) rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=../config/crd/bases
cp config/crd/bases/pac.weave.works_policies.yaml helm/crds
cp config/crd/bases/pac.weave.works_policysets.yaml helm/crds
cp config/crd/bases/pac.weave.works_policyconfigs.yaml helm/crds


Expand Down
14 changes: 0 additions & 14 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,13 @@ resources:
kind: Policy
path: api/v1
version: v2beta1
- api:
crdVersion: v2beta1
namespaced: false
domain: weave.works
kind: PolicySet
path: api/v1
version: v2beta1
- api:
crdVersion: v2beta2
namespaced: false
domain: weave.works
kind: Policy
path: api/v1
version: v2beta2
- api:
crdVersion: v2beta2
namespaced: false
domain: weave.works
kind: PolicySet
path: api/v1
version: v2beta2
- api:
crdVersion: v2beta2
namespaced: false
Expand Down
140 changes: 0 additions & 140 deletions config/crd/bases/pac.weave.works_policysets.yaml

This file was deleted.

9 changes: 1 addition & 8 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
- [High Level Architecture](#high-level-architecture)
- [Custom Resources](#custom-resources)
- [Policy](#policy)
- [PolicySet](#policyset)
- [PolicyConfig](#policyconfig)
- [Modes](#modes)
- [Audit](#audit)
Expand Down Expand Up @@ -44,12 +43,6 @@ This is the main resource and it is used to define policies which will be evalua

> See more about Policy CRD [here](./policy.md)
### PolicySet

This is an optional resource. It is used to select group of policies to work in specific [mode](#modes).

> See more about PolicySet CRD [here](./policy_set.md)

### PolicyConfig

Expand Down Expand Up @@ -209,4 +202,4 @@ audit:

## Development

See the [Development guide](./development.md) here
See the [Development guide](./development.md) here
83 changes: 0 additions & 83 deletions docs/policy_set.md

This file was deleted.

Loading

0 comments on commit a05c1aa

Please sign in to comment.