Skip to content

Commit 3306444

Browse files
authored
chore: add wg-policy (reports.x-k8s.io) CRDs (#896)
1 parent cf77a74 commit 3306444

File tree

6 files changed

+848
-0
lines changed

6 files changed

+848
-0
lines changed

.yamllint.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ extends: default
22
ignore: |
33
/config/crd/bases/
44
/config/rbac/role.yaml
5+
/config/wg-policy/crd/
56
rules:
67
comments:
78
require-starting-space: false

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ wg-policy-client-gen: applyconfiguration-gen
7272
--trim-path-prefix "$(GO_MODULE)" \
7373
--output-base "."
7474

75+
.PHONY: wg-policy-crd-update
76+
wg-policy-crd-update:
77+
curl -O --output-dir config/wg-policy/crd/ --remote-name-all \
78+
https://raw.githubusercontent.com/kubernetes-sigs/wg-policy-prototypes/master/policy-report/crd/v1beta2/reports.x-k8s.io_{clusterpolicyreports,policyreports}.yaml
79+
7580
.PHONY: fmt
7681
fmt: ## Run go fmt against code.
7782
go fmt ./...
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1beta1
3+
kind: Kustomization
4+
resources:
5+
- reports.x-k8s.io_clusterpolicyreports.yaml
6+
- reports.x-k8s.io_policyreports.yaml

0 commit comments

Comments
 (0)