Skip to content

xebialabs-community/xld-k8s-kubectl-plugin

Repository files navigation

XL Deploy K8S KUBECTL plugin v1.0.0

Build Status License: MIT Github All Releases

Preface

This plugin enhances the official & supported xld-kubernetes-plugin. It offers to interact with the k8s using the kubectl command line instead of the API on the k8s.Resources deployed CI. A dedicated types, `k8s.kubectl.Resources' exists to).

Sometimes, the direct connection using https is either complicated or impossible for security reasons (sometime both). By adding a such feature, it's possible to attach a kubectlHost to the k8s.Master and use this host to run the command. This host can be any kind of hosts, overthere.LocalHost or overthere.SshHost.

When manipulating resources, the plugin is lazier. It uses:

  • kubect apply for CREATE & MODIFY operation. (CREATE & REPLACE verbs are available as an option as well if needed)
  • kubect delete for DELETE without failing if it doesn't exit.
  • encode sensitive date in kubernetes secrets to use the encrypted entries in the udm.Dictionary

Sample Code

xl --config ./config.yaml apply -f xebialabs.yaml

Installation

Features

Infrastructure

Infrastructure

References

About

interact with the k8s using the kubectl command line instead of the API on the k8s.Resources deployed CI

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published