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

Getting errors regarding "component" and "CRDs" when trying to install PushProxy with helm chart #161

Open
moovs opened this issue Nov 29, 2023 · 1 comment

Comments

@moovs
Copy link

moovs commented Nov 29, 2023

Hi, I have tried to install pushproxy to my k8s cluster wiht helm chart but I received couple of errors:
Error: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "pushprox-etcd-client" namespace: "prom-proxy" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1" ensure CRDs are installed first, resource mapping not found for name: "pushprox-etcd-proxy" namespace: "prom-proxy" from "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1" ensure CRDs are installed first, resource mapping not found for name: "prom-proxy-etcd" namespace: "prom-proxy" from "": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1" ensure CRDs are installed first]

I was changing component in Values.yaml to kube-proxy, etcd and others but received below error.

Also I received CRDs errors.. Which CDRs I should install before isntalling helm chart?

Thanks!

@ashishgupta-in
Copy link

ashishgupta-in commented Dec 12, 2023

It seems you are using Kubernetes version which is >= 1.25.
The error is corresponding to "PodSecurityPolicy" in version "policy/v1beta" of CRD. It has been removed in K8s version 1.25 as mentioned in their documentation.

Link for reference: K8s Pod Security Policy Documentation

You should follow step mentioned under this repository documentation by cloning the repo and installing the components instead of using 3rd party helm charts.

You can also create your own helm charts with a script defined in your pod initialization step for installation of push proxy components.

@SuperQ Let us know your thoughts on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants