Skip to content

Commit

Permalink
refactor: rename kyverno-envoy-plugin chart to kyverno-sidecar-inject…
Browse files Browse the repository at this point in the history
…or (kyverno#147)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
  • Loading branch information
eddycharly authored Oct 25, 2024
1 parent f379a7d commit bce2fe4
Show file tree
Hide file tree
Showing 15 changed files with 326 additions and 375 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ jobs:
run: |
set -e
make kind-create-cluster
make install-kyverno-envoy-plugin
make install-kyverno-sidecar-injector
- name: Run Chainsaw Tests
run: chainsaw test tests/e2e-test
28 changes: 14 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ kind-load-image: ko-build
# ISTIO #
#########

.PHONY: istio-install
istio-install: ## Install ISTIO
istio-install: $(HELM)
.PHONY: install-istio
install-istio: ## Install istio
install-istio: $(HELM)
@echo Install istio... >&2
@$(HELM) upgrade --install istio-base --namespace istio-system --create-namespace --wait --repo https://istio-release.storage.googleapis.com/charts base
@$(HELM) upgrade --install istiod --namespace istio-system --create-namespace --wait --repo https://istio-release.storage.googleapis.com/charts istiod
Expand All @@ -203,17 +203,17 @@ istio-install: $(HELM)
# HELM #
########

.PHONY: install-kyverno-envoy-plugin
install-kyverno-envoy-plugin: ## Install kyverno-envoy-plugin chart
install-kyverno-envoy-plugin: kind-load-image
install-kyverno-envoy-plugin: $(HELM)
@echo Build kyverno-envoy-plugin dependecy... >&2
@$(HELM) dependency build --skip-refresh ./charts/kyverno-envoy-plugin
@echo Install kyverno-envoy-plugin chart... >&2
@$(HELM) upgrade --install kyverno-envoy-plugin --namespace kyverno --create-namespace --wait ./charts/kyverno-envoy-plugin \
--set sidecarInjector.containers.injector.image.registry=$(KO_REGISTRY) \
--set sidecarInjector.containers.injector.image.repository=$(PACKAGE) \
--set sidecarInjector.containers.injector.image.tag=$(GIT_SHA)
.PHONY: install-kyverno-sidecar-injector
install-kyverno-sidecar-injector: ## Install kyverno-sidecar-injector chart
install-kyverno-sidecar-injector: kind-load-image
install-kyverno-sidecar-injector: $(HELM)
@echo Build kyverno-sidecar-injector dependecy... >&2
@$(HELM) dependency build --skip-refresh ./charts/kyverno-sidecar-injector
@echo Install kyverno-sidecar-injector chart... >&2
@$(HELM) upgrade --install kyverno-sidecar-injector --namespace kyverno --create-namespace --wait ./charts/kyverno-sidecar-injector \
--set containers.injector.image.registry=$(KO_REGISTRY) \
--set containers.injector.image.repository=$(PACKAGE) \
--set containers.injector.image.tag=$(GIT_SHA)

.PHONY: install-kyverno-authz-server
install-kyverno-authz-server: ## Install kyverno-authz-server chart
Expand Down
45 changes: 0 additions & 45 deletions charts/kyverno-envoy-plugin/templates/sidecar-injector/rbac.yaml

This file was deleted.

This file was deleted.

255 changes: 0 additions & 255 deletions charts/kyverno-envoy-plugin/values.yaml

This file was deleted.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
name: kyverno-envoy-plugin
name: kyverno-sidecar-injector
description: Kyverno policies based authorization plugin for Envoy ❤️
icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png
home: https://kyverno.github.io/kyverno-envoy-plugin
Expand Down
Loading

0 comments on commit bce2fe4

Please sign in to comment.