KubeSphere is an enterprise-grade multi-tenant container management platform that built on Kubernetes.
In the DevOps section we use Jenkins as our engine.
This plugin will extend some of the features that kubesphere uses in Jenkins, such as adding event transitions, extending the Blueocan API, etc.
The following types of events are supported.
Note that the pipeline input event requires the RC version of the pipeline input plugin to be installed
If you want to know the specific structure of the event, please read EventExample
You can configure this plugin using CasC. Currently, the configuration of Event Custom Endpoint is still not supported.
unclassified:
kubeSphereNotification:
endpoints:
- webHook:
timeout: 300
url: "http://127.0.0.1:30123/event"
Currently the plugin supports interpolate notification configuration.
For Example: When sending an event, $ {type} will be replaced with the specific event type.
unclassified:
kubeSphereNotification:
endpoints:
- webHook:
timeout: 300
url: "http://127.0.0.1:30123/event/^${type}"
This plugin extends BasicHeaderAuthenticator, allowing users to request Jenkins' API through KubeSphere's API Token.
Configure Basic Header Auth with CasC Plugin:
unclassified:
kubespheretokenauthglobalconfiguration:
cacheConfiguration: // enabel auth cache
size: 20 // cache size
ttl: 300 // cache object's ttl
enabled: true
server: "http://127.0.0.1:30123/" // ks-apigateway url