Skip to content

Releases: OpsLevel/kubectl-opslevel

v0.4.8

20 Sep 19:32
v0.4.8
d46a4de
Compare
Choose a tag to compare

Bugfix

  • skip over aliases that are empty strings as they are not valid to register

Docker images

  • docker pull public.ecr.aws/opslevel/kubectl-opslevel:v0.4.8

v0.4.7

09 Sep 19:59
v0.4.7
ca9a3cb
Compare
Choose a tag to compare

Docs

  • improve readme and add a troubleshooting section

Feature

  • add ability to specify a list of namespaces so the tool does not need permissions to list namespaces
  • add ability to override OpsLevel API URL
  • adds support for reading api tokens from the filesystem using the argument --api-token-path

Refactor

  • convert prefered environment variable prefix from OL_ to OPSLEVEL_ but still support old prefix

Docker images

  • docker pull public.ecr.aws/opslevel/kubectl-opslevel:v0.4.7

v0.4.6

08 Aug 15:38
v0.4.6
5f5f7a7
Compare
Choose a tag to compare

Bugfix

  • JSON-Schema has incorrect case on fields because of missing JSON struct tags

Feature

  • improve performance of service import by using goroutines for all followon API calls (assign tags, assign tools, etc) after service create/update
  • improve performance of service import by switching TagAssign to use the batch call rather then 1 by 1
  • improve service import performance by applying concurrency to processing service data into API calls

Docker images

  • docker pull public.ecr.aws/opslevel/kubectl-opslevel:v0.4.6

v0.4.5-rc.1

01 Aug 21:22
v0.4.5-rc.1
1d1180e
Compare
Choose a tag to compare

Bugfix

  • bubble up k8s client errors

Feature

  • add command to generate shell completion scripts for [bash|zsh|fish|powershell]
  • add command config schema for generating the jsonschema for the configuration file
  • allow specifying a sample count on service preview to limit the amount of data returned

Refactor

  • change release process to use goreleaser for docker images too

Docker images

  • docker pull public.ecr.aws/opslevel/kubectl-opslevel:herev0.4.5-rc.1

v0.4.5

01 Aug 21:44
v0.4.5
d890d51
Compare
Choose a tag to compare

Bugfix

  • bubble up k8s client errors

Feature

  • add command to generate shell completion scripts for [bash|zsh|fish|powershell]
  • add command config schema for generating the jsonschema for the configuration file
  • allow specifying a sample count on service preview to limit the amount of data returned

Refactor

  • change release process to use goreleaser for docker images too

Docker images

  • docker pull public.ecr.aws/opslevel/kubectl-opslevel:v0.4.5

v0.4.4

23 Jul 01:36
Compare
Choose a tag to compare

Bugfix

  • fix index lookup error when a service field is not configured in a selector resulting in a empty lookup array
  • fix logic around aggregating services so that multiple import selectors work

v0.4.3

21 Jul 15:00
Compare
Choose a tag to compare
cut release 0.4.3

v0.4.2

14 Jul 19:24
Compare
Choose a tag to compare

Docs

  • simplify install instructions to use homebrew

Feature

  • switch exclude filters to use JQ multiParser to increase performance on filtering resources
  • use new multiParse JQ processing when processing the service fields to increase performance when working with 100’s of resources in Kubernetes
  • implement ability to run JQ statements on arrays of resources to speed up processing when retrieving 100’s of resources from Kubernetes

v0.4.1

10 Jul 23:49
Compare
Choose a tag to compare
cut release 0.4.1 which auto publishes homebrew

0.4.0 Breaking Change - Config Version 1.1.0

25 Jun 21:51
Compare
Choose a tag to compare

Breaking Change

This release contains a breaking change to the configuration file to support 2 new features:

  • Ability to query for any kind of resources in your Kubernetes cluster #51
  • Ability to filter resources found by using jq expressions that return truthy #50

Specifically the selector portion of the configuration file has been changed with 2 new fields apiVersion and excludes and 2 fields being deprecated namespace and labels as the function of these can now be handled solely with the excludes expressions.

You can also run the new version of the tool against the old configuration file and it will validate it as well as give helpful messages on how to convert it to the new format.

Here is an example of the old default selector converted to the new format

version: "1.1.0"
service:
  import:
    - selector: # This limits what data we look at in Kubernetes
        apiVersion: apps/v1 # only supports resources found in 'kubectl api-resources --verbs="get,list"'
        kind: Deployment
        excludes: # filters out resources if any expression returns truthy
          - .metadata.namespace == "kube-system"
          - .metadata.annotations."opslevel.com/ignore"

Changelog

Docs

  • update readme to use new opslevel AWS ECR alias
  • update sample configuration file in readme to reflect config version 1.1.0
  • switch demo to asciinema
  • move readme documentation to OpsLevel website

Feature

  • add ability to filter resources based on jq expressions that return truthy
  • add config validation messages for new selector excludes format
  • add config selector validation to help user upgrade from 1.0.0 -> 1.1.0 with helpful messages
  • support targeting ANY k8s resource in the cluster

Refactor

  • bump config version to support query any resource kind in the cluster