appvia / krane

Kubernetes RBAC static analysis & visualisation tool
Apache License 2.0
677 stars 34 forks source link

[BUG] Helm-chart installation support for k8s version >= 1.25 #349

Open oleksandr-shkovyra opened 1 year ago

oleksandr-shkovyra commented 1 year ago

Short issue description

Helm-chart installation support for k8s version >= 1.25

Kubernetes version: 1.27 Kubernetes distribution: EKS

How can we reproduce the issue?

helm install krane appvia/krane --namespace krane --create-namespace

Suggestions on how to fix the issue (OPTIONAL)

The helm chart should be fixed. The installation with plain k8s resources works fine:

kubectl apply -f https://raw.githubusercontent.com/appvia/krane/master/k8s/one-time/prerequisites.yaml
kubectl apply -f https://raw.githubusercontent.com/appvia/krane/master/k8s/one-time/prerequisites.yaml -n krane
kubectl apply -f https://github.com/appvia/krane/tree/master/k8s -n krane
kubectl apply -f https://raw.githubusercontent.com/appvia/krane/master/k8s/krane-deployment.yaml -n krane
kubectl apply -f https://raw.githubusercontent.com/appvia/krane/master/k8s/redisgraph-deployment.yaml -n krane
kubectl apply -f https://raw.githubusercontent.com/appvia/krane/master/k8s/redisgraph-service.yaml -n krane
kubectl apply -f https://raw.githubusercontent.com/appvia/krane/master/k8s/krane-service.yaml -n krane