Comments (3)
Can you share more details of how you are logging in via service account, and which service account you are trying to use in your command? I am not familiar with kubelogin, and we do not login with service accounts.
from nova.
We tried to login without kubelogin also, just getting admin credentials using the following command:
az aks get-credentials --resource-group <rg_name> --name <cluster_name> --file <k8s_config_path> --admin
This is executed inside gitlab runner. And unfortunately getting the same error:
F0707 15:48:55.093188 134 root.go:272] error getting helm releases: could not detect helm 3 charts: list: failed to list: secrets is forbidden: User "system:serviceaccount:gitlab:default" cannot list resource "secrets" in API group "" at the cluster scope: Azure does not have opinion for this user.
Also tried to specify the name of the k8s context in nova’s config file. Got the exact same error.
from nova.
ok, looks like this is something between Docker file config and nova. If I set something like this:
USER user
WORKDIR /home/user
CMD ["nova"]
this isn't work, I have previously mentioned error, but if I explicitly set KUBECONFIG with full path, like
KUBECONFIG=/home/user/.kube/config
it works as expected
from nova.
Related Issues (20)
- Find containers - timeout HOT 1
- Find always outputs in json HOT 2
- Release name pattern change causes dynamic downloads to fail
- Ability to scan helm charts located in local file system HOT 2
- Allow to configure an ignore list of charts that don't need checking HOT 5
- Sometimes Nova fails to complete running because of not finding private Charts in ArtifactHub HOT 3
- Add a sort option to Nova, so that we would --include-all and sort all outdated packages to the start or end HOT 2
- Artifact Hub API rate limit HOT 33
- Can't scan private Helm registries and it completely fails HOT 6
- Nova times out when fetching ridiculous number of tags HOT 3
- Expose kubeVersion in Chart.yaml
- New release? HOT 2
- Support running Nova in-cluster? HOT 3
- Incorrect Nova Version Output for Latest Helm Chart Version HOT 1
- Add name of the repo from which the chart is installed to nova find Output
- Support OCI chart repositories HOT 2
- Nova showing a dev version of teleport-kube-agent as an update
- format `table` is not working
- Add a "--kubeconfig" global flag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nova.