jx-charter

module
v0.0.29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2023 License: Apache-2.0

README

jx-charter

Documentation Go Report Card Releases Apache Slack Status

jx-charter is a small command line tool and microservice for creating Helm Chart CRDs from helm releases for better metadata and reporting of what is running inside kubernetes without needing access to Secret resources.

To be able to helm list in any namespace you need access to the secrets in whatever namespaces you are looking. The Chart CRD allows developers and microservices to query the installed charts without requiring read access to secrets.

Also if you are using Jenkins X then helm releases are not created since it uses helm template and checks all resources into git for better versioning - so installing the jx-charter chart will create the Chart CRD and then Jenkins X will create a Chart CRD for each chart

Using the Chart CRD

Whether you use helm install or use Jenkins X (which uses helm template) you can list all of the charts in a namespace via...

kubectl get chart

or

kubectl get chart --all-namespaces

Commands

See the jx-charter command reference

Installation

To install the chart use the following:

  • Add jx3 helm charts repo
helm repo add jx3 https://storage.googleapis.com/jenkinsxio/charts

helm repo update
  • Install (or upgrade)
# This will install or upgrade the jx-charter chart in the current namespace (with a jx-charter release name)

helm upgrade --install jx-charter jx3/jx-charter

Uninstalling

To uninstall the chart, simply delete the release.

# This will uninstall jx-charter in the current namespace (assuming a jx-charter release name)

# Helm v3
helm uninstall jx-charter

Directories

Path Synopsis
cmd
app
pkg
apis/chart/v1alpha1
Package v1alpha1 contains Chart +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/jenkins-x-plugins/jx-charter/pkg/apis/chart +k8s:defaulter-gen=TypeMeta +groupName=chart.jenkins-x.io
Package v1alpha1 contains Chart +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/jenkins-x-plugins/jx-charter/pkg/apis/chart +k8s:defaulter-gen=TypeMeta +groupName=chart.jenkins-x.io
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/chart/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/chart/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL