Drone plugins > Kubevious
kubevious.svg

Kubevious

by kubevious


The Kubevious plugin detects and prevents errors(typos, misconfigurations, conflicts, inconsistencies) and violations of best practices for Kubernetes applications and clusters.

Example

kind: pipeline
name: default
steps:
- name: deploy
  image: kubevious/cli
  settings:
    helm_repo_url: https://charts.konghq.com
    helm_repo_name: kong
    helm_chart: kong
    helm_namespace: kong-system
    helm_include_crds: true
    helm_override: overrides/overrides-dev.yaml
    manifests: additional-manifests/
    crds: additional-crds/
    mocks: additional-mock-manifests/
    k8s_version: 1.20
    live_k8s: true
    ignore_unknown: true
    ignore_non_k8s: true
    detailed_output: true
    json_output: true

Properties

  • helm_repo_url

    stringoptional

    Helm repository URL

    Default: none

  • helm_repo_name

    stringoptional

    Name alias for Helm repository URL

    Default: none

  • helm_chart

    stringoptional

    Helm repository chart name

    Default: none

  • helm_namespace

    stringoptional

    Helm release namespace

    Default: none

  • helm_include_crds

    booleanoptional

    Indicates whether or not to include CRDs in Helm release

    Default: false

  • helm_override

    stringoptional

    Helm overrides

    Default: none

  • manifests

    stringoptional

    Path to manifest files, directories or URLs to validate

    Default: none

  • crds

    stringoptional

    Path to CRDs to include in validation

    Default: none

  • mocks

    stringoptional

    Path to mocked manifests to include in validation

    Default: none

  • k8s_version

    stringoptional

    Version of Kubernetes to validate againts

    Default: none

  • live_k8s

    booleanoptional

    Validate againts live Kubernetes version

    Default: false

  • ignore_unknown

    booleanoptional

    Ignore unknown Kubernetes resources

    Default: false

  • ignore_non_k8s

    booleanoptional

    Ignore non-Kubernetes YAML files

    Default: false

  • skip_rules

    stringoptional

    Skip rules by name

    Default: none

  • only_rules

    stringoptional

    Run only specified rules

    Default: none

  • skip_rule_categories

    stringoptional

    Skip rules by category

    Default: none

  • only_rule_categories

    stringoptional

    Run only specified rules by category

    Default: none

  • detailed_output

    booleanoptional

    Output in details

    Default: false

  • json_output

    booleanoptional

    Output in JSON format

    Default: false

  • other_args

    stringoptional

    Additional arguments

    Default: none