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
xl --config ./config.yaml apply -f xebialabs.yaml
- Copy the latest JAR file from the releases page into the
XL_DEPLOY_SERVER/plugins
directory - Add https://github.com/xebialabs-community/overthere-pylib/releases/tag/v0.0.4 to your plugin directory
- Restart the XL Deploy server.