Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Trivial] Remove obsolete fix, add --server-side to deploy-kind #658

Merged
merged 1 commit into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .mk/development.mk
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,6 @@ undeploy-kafka: ## Undeploy kafka.
kubectl delete kafka kafka-cluster -n $(NAMESPACE) --ignore-not-found=true
kubectl delete -f "https://strimzi.io/install/latest?namespace="$(NAMESPACE) -n $(NAMESPACE) --ignore-not-found=true

.PHONY: fix-ebpf-kafka-tls
fix-ebpf-kafka-tls:
@echo -e "\n==> Fix eBPF with Kafka on TLS: copying secrets to privileged namespace"
kubectl get secret flp-kafka -n $(NAMESPACE) -o yaml | yq 'del(.metadata)' | yq '.metadata.name = "flp-kafka"' | kubectl apply -n "$(NAMESPACE)-privileged" -f -
kubectl get secret kafka-cluster-cluster-ca-cert -n $(NAMESPACE) -o yaml | yq 'del(.metadata)' | yq '.metadata.name = "kafka-cluster-cluster-ca-cert"' | kubectl apply -n "$(NAMESPACE)-privileged" -f -
@echo -e "\n===> Restarting eBPF pods"
kubectl delete pods -n "$(NAMESPACE)-privileged" --all --force

.PHONY: deploy-grafana
deploy-grafana: ## Deploy grafana.
@echo -e "\n==> Deploy grafana"
Expand Down
2 changes: 1 addition & 1 deletion .mk/local.mk
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ deploy-kind: install-cert-manager kustomize ## Deploy controller to the K8s clus
$(SED) -i -r 's~ebpf-agent:.+~ebpf-agent:main~' ./config/manager/manager.yaml
$(SED) -i -r 's~flowlogs-pipeline:.+~flowlogs-pipeline:main~' ./config/manager/manager.yaml
$(SED) -i -r 's~console-plugin:.+~console-plugin:main~' ./config/manager/manager.yaml
$(KUSTOMIZE) build config/k8s-olm/default | kubectl apply -f -
$(KUSTOMIZE) build config/k8s-olm/default | kubectl apply --server-side -f -

.PHONY: undeploy-kind
undeploy-kind: ## Undeploy controller from the K8s cluster specified in ~/.kube/config.
Expand Down
Loading