Comments (4)
Hello @ParthaI !
Thanks you very much for your very quick support on this request, it works like a charm !!
from steampipe-plugin-kubernetes.
@ParthaI the PR is not working for me. Please see:
$ steampipe query
Welcome to Steampipe v0.21.2
For more information, type .help
> select name, resource_annotations from conn_example.kubernetes_mycrd where namespace = 'foo';
+------------+----------------------+
| name | resource_annotations |
+------------+----------------------+
| bar | <null> |
+------------+----------------------+
>
$ k get mycrd/bar -o json | jq '.metadata.annotations' | wc -l
10
I've redacted some values. Let me know if you need more info.
from steampipe-plugin-kubernetes.
Hello @seiyar81, I have raised a PR by adding a common column to the Custom Resource tables. It would be great if you could try it in the PR branch issue-195
and let us know your feedback.
Steps for querying the custom resource tables from the branch issue-195
:
- git clone https://github.com/turbot/steampipe-plugin-kubernetes.git
- cd steampipe-plugin-kubernetes
- git checkout
issue-195
- run
make
- Run the query for custom resources
If you need anything else, please let us know.
Thanks you!
from steampipe-plugin-kubernetes.
@sebastianwebber, we appreciate your valuable feedback on Steampipe!
- We've introduced a common column for CRD resources called annotations (this column will be present for each custom resource), not the column
resource_annotations
. - All annotations associated with a custom resource will now be populated in the
annotations
column. - Kindly attempt to retrieve the value of the
annotations
column for the custom resource. - If you encounter any issues or are unable to fetch the annotation value, could you please share the configuration file for the Kubernetes plugin located in
~/.steampipe/config/kubernetes.spc
. Additionally, provide the*.yml
file for the specific custom resource and its custom resource definition file? (This will help us dig into the issue more)
Kindly ensure that any sensitive information is redacted before sharing.
Thank You!
from steampipe-plugin-kubernetes.
Related Issues (20)
- Add config arg to allow filtering of which CRDs to create tables for
- Plugin times out on startup HOT 2
- Want to hard code credentials directly into "kubernetes plugin spc file" instead of giving absolute path to the kubeconfig file inside the spc file HOT 7
- Improve error messaging on connection error or timeout HOT 4
- Getting error `Error: the server could not find the requested resource (SQLSTATE HV000)` HOT 1
- Table `kubernetes_replication_controller` fails with an error `Error: failed to populate column 'selector_query': rpc error: code = Internal desc = transform labelSelectorToString failed with panic interface conversion: interface {} is map[string]string, not *v1.LabelSelector (SQLSTATE HV000)`
- Add support to read resources from kubernetes manifests
- SQLSTATE HV000 error when selecting kubernetes_cronjob HOT 16
- Add support to parse Helm charts and templates
- Add table kubernetes_version HOT 3
- Remove deprecated config arg and env vars from the plugin HOT 2
- Empty returned `data` field in configmap and secret tables HOT 1
- Using manifest path comes up with multple folders (single file is fine) or YAML comes up with an ERROR: failed to start plugin 'hub.steampipe.io/plugins/turbot/kubernetes@latest': timed out waiting for hub.steampipe.io/plugins/turbot/kubernetes@latest to s HOT 17
- When `source_type = "all"` (default or explicitly set), if I only have helm or manifest config args, query fails with invalid configuration HOT 1
- Add table kubernetes_deployment_config HOT 2
- Add table kubernetes_pod_template
- Private certificates from an "unknown authority" on the k8s API server are not supported HOT 6
- current-context is not being honoured in queries HOT 8
- `current_metrics` and `metrics` in the table `kubernetes_horizontal_pod_autoscaler` return NULL 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 steampipe-plugin-kubernetes.