Skip to content

Commit

Permalink
Add kuttl tests for best practices policies to main branch (#82)
Browse files Browse the repository at this point in the history
* Add kuttl tests for best practices policies

* Updated the github actions

* Updated the chart version
  • Loading branch information
nsathyaseelan authored Jun 28, 2023
1 parent 416ff68 commit db6aeea
Show file tree
Hide file tree
Showing 188 changed files with 2,584 additions and 1,278 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:
# this action needs to read GH secret
# hence prevents executing on PRs from forks
# disabling running on PRs until we find a workaround for this
# pull_request:
# branches:
# - 'main'
pull_request:
branches:
- 'main'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ kind-deploy-kyverno: $(HELM)
@echo Install kyverno chart... >&2
@echo $(N4K_LICENSE_KEY) >&2
@$(HELM) repo add nirmata https://nirmata.github.io/kyverno-charts
@$(HELM) install kyverno --namespace kyverno --create-namespace nirmata/kyverno --set licenseManager.licenseKey=$(N4K_LICENSE_KEY)
@$(HELM) install kyverno --namespace kyverno --create-namespace nirmata/kyverno --set licenseManager.licenseKey=+7BT76LNHCKLi3vW2mbYP5vYuS+Rm4XaLPu7k6Vgq4/efR3BEJk6Ru+zOFJagN2l0oLyG15qZ2kkXpzqaeEAal6APDLB7s3htLFeJ6mf0hc7/3dupUY13zrdX5svkS5p6BNKVisuXwK5XfF8sJyLn16I/CRdICj9fzktWQWYB5h46xOj5NlMPMj0/m6tCa3hIVJpB9Onkd4KMXlO+PQUbUwk/wxuciQkGwjbXQs+V9w0MuWMODpY0jGN1dgLNETI7mpS6G5DVvHkbAtrJ+gvG15aFFtKjgPInoemqxbhj2wzYue5pNSdHUZYE9b+LLlj

## Check Kyverno status
.PHONY: wait-for-kyverno
Expand Down
39 changes: 0 additions & 39 deletions best-practices/add_network_policy/add_network_policy.yaml

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions best-practices/add_network_policy/generatedResource.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions best-practices/add_network_policy/kyverno-test.yaml

This file was deleted.

47 changes: 0 additions & 47 deletions best-practices/add_networkpolicy_dns/add-networkpolicy-dns.yaml

This file was deleted.

58 changes: 0 additions & 58 deletions best-practices/add_ns_quota/add_ns_quota.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions best-practices/add_ns_quota/e2e/02-install-resource.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions best-practices/add_ns_quota/generatedLimitRange.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions best-practices/add_ns_quota/generatedResourceQuota.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions best-practices/add_ns_quota/kyverno-test.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions best-practices/add_ns_quota/resource.yaml

This file was deleted.

47 changes: 0 additions & 47 deletions best-practices/add_rolebinding/add_rolebinding.yaml

This file was deleted.

41 changes: 0 additions & 41 deletions best-practices/add_safe_to_evict/add_safe_to_evict.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions best-practices/add_safe_to_evict/kyverno-test.yaml

This file was deleted.

Loading

0 comments on commit db6aeea

Please sign in to comment.