Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cdk8s-jenkins

Package Overview
Dependencies
Maintainers
0
Versions
463
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdk8s-jenkins - npm Package Compare versions

Comparing version 0.0.451 to 0.0.452

139

API.md

@@ -1,140 +0,1 @@

# cdk8s-jenkins
`cdk8s-jenkins` is a library that lets you easily define a manifest for deploying a Jenkins instance to your Kubernetes cluster.
## Prerequisites
This library uses a Custom Resource Definition provided by jenkins, and thus requires both the CRD and the operator to be installed on the cluster.
You can set this up by,
1. Apply the Custom Resource Definition(CRD) for jenkins on your Kubernetes cluster.
```
kubectl apply -f https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/config/crd/bases/jenkins.io_jenkins.yaml
```
2. Install the Jenkins Operator on your Kubernetes cluster.
```
kubectl apply -f https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/deploy/all-in-one-v1alpha2.yaml
```
> For more information regarding applying jenkins crd and installing jenkins operator, please refer [jenkins official documentaion](https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/latest/installing-the-operator/).
## Usage
The library provides a high level `Jenkins` construct to provision a Jenkins instance.
You can just instantiate the Jenkins instance and that would add a Jenkins resource to the kubernetes manifest.
The library provide a set of defaults, so provisioning a basic Jenkins instance requires no configuration:
```ts
import { Jenkins } from 'cdk8s-jenkins';
// inside your chart:
const jenkins = new Jenkins(this, 'my-jenkins');
```
The library also enables configuring the following parmeters for the Jenkins instance:
### metadata
```ts
const jenkins = new Jenkins(this, 'my-jenkins', {
metadata: {
namespace: 'jenkins-namespace',
labels: { customApp: 'my-jenkins' },
},
});
```
### disableCsrfProtection
This allows you to toggle CSRF Protection for Jenkins.
```ts
const jenkins = new Jenkins(this, 'my-jenkins', {
disableCsrfProtection: true,
});
```
### basePlugins
These are the plugins required by the jenkins operator.
```ts
const jenkins = new Jenkins(this, 'my-jenkins', {
basePlugins: [{
name: 'configuration-as-code',
version: '1.55',
}],
});
```
You can also utilize `addBasePlugins` function to add base plugins to jenkins configuration after initialization.
```ts
const jenkins = new Jenkins(this, 'my-jenkins');
jenkins.addBasePlugins([{
name: 'workflow-api',
version: '2.76',
}]);
```
### plugins
These are the plugins that you can add to your jenkins instance.
```ts
const jenkins = new Jenkins(this, 'my-jenkins', {
plugins: [{
name: 'simple-theme-plugin',
version: '0.7',
}],
});
```
You can also utilize `addPlugins` function to add plugins to jenkins configuration after initialization.
```ts
const jenkins = new Jenkins(this, 'my-jenkins');
jenkins.addPlugins([{
name: 'simple-theme-plugin',
version: '0.7',
}]);
```
### seedJobs
You can define list of jenkins seed job configurations here. For more info you can take look at [jenkins documentation](https://jenkinsci.github.io/kubernetes-operator/docs/getting-started/latest/configuring-seed-jobs-and-pipelines/).
```ts
const jenkins = new Jenkins(this, 'my-jenkins', {
seedJobs: [{
id: 'jenkins-operator',
targets: 'cicd/jobs/*.jenkins',
description: 'Jenkins Operator repository',
repositoryBranch: 'master',
repositoryUrl: 'https://github.com/jenkinsci/kubernetes-operator.git',
}],
});
```
You can also utilize `addSeedJobs` function to add seed jobs to jenkins configuration after initialization.
```ts
const jenkins = new Jenkins(this, 'my-jenkins');
jenkins.addSeedJobs([{
id: 'jenkins-operator',
targets: 'cicd/jobs/*.jenkins',
description: 'Jenkins Operator repository',
repositoryBranch: 'master',
repositoryUrl: 'https://github.com/jenkinsci/kubernetes-operator.git',
}]);
```
## Using escape hatches
You can utilize escape hatches to make changes to the configurations that are not yet exposed by the library.
For instance, if you would like to update the version of a base plugin:
```ts
const jenkins = new Jenkins(this, 'my-jenkins');
const jenkinsApiObject = ApiObject.of(jenkins);
jenkinsApiObject.addJsonPatch(JsonPatch.replace('/spec/master/basePlugins/1', {
name: 'workflow-job',
version: '3.00',
}));
```
For more information regarding escape hatches, take a look at [cdk8s documentation](https://cdk8s.io/docs/latest/concepts/escape-hatches/).
## Security
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more
information.
## License
This project is licensed under the Apache-2.0 License.
# API Reference <a name="API Reference" id="api-reference"></a>

@@ -141,0 +2,0 @@

2

lib/jenkins.js

@@ -125,3 +125,3 @@ "use strict";

_a = JSII_RTTI_SYMBOL_1;
Jenkins[_a] = { fqn: "cdk8s-jenkins.Jenkins", version: "0.0.451" };
Jenkins[_a] = { fqn: "cdk8s-jenkins.Jenkins", version: "0.0.452" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiamVua2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9qZW5raW5zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsK0JBQStCO0FBQy9CLDJDQUF1QztBQUN2QyxnREFBZ0Q7QUEyR2hEOztHQUVHO0FBQ0gsTUFBYSxPQUFRLFNBQVEsc0JBQVM7SUFLcEMsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxRQUFzQixFQUFFO1FBQ2hFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFFakIsSUFBSSxDQUFDLFFBQVEsR0FBRyxLQUFLLENBQUMsT0FBTyxJQUFJLEVBQUUsQ0FBQztRQUNwQyxJQUFJLENBQUMsU0FBUyxHQUFHLEtBQUssQ0FBQyxRQUFRLElBQUksRUFBRSxDQUFDO1FBQ3RDLElBQUksQ0FBQyxZQUFZLEdBQUcsSUFBSSxHQUFHLENBQWlCO1lBQzFDLENBQUMsWUFBWSxFQUFFLFFBQVEsQ0FBQztZQUN4QixDQUFDLGNBQWMsRUFBRSxvQkFBb0IsQ0FBQztZQUN0QyxDQUFDLHFCQUFxQixFQUFFLEtBQUssQ0FBQztZQUM5QixDQUFDLEtBQUssRUFBRSxRQUFRLENBQUM7WUFDakIsQ0FBQyxTQUFTLEVBQUUsUUFBUSxDQUFDO1lBQ3JCLENBQUMsdUJBQXVCLEVBQ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LFxuICAgICAgc3BlYzoge1xuICAgICAgICBncm9vdnlTY3JpcHRzOiB7XG4gICAgICAgICAgY29uZmlndXJhdGlvbnM6IFtdLFxuICAgICAgICAgIHNlY3JldDoge1xuICAgICAgICAgICAgbmFtZTogJycsXG4gICAgICAgICAgfSxcbiAgICAgICAgfSxcbiAgICAgICAgY29uZmlndXJhdGlvbkFzQ29kZToge1xuICAgICAgICAgIGNvbmZpZ3VyYXRpb25zOiBbXSxcbiAgICAgICAgICBzZWNyZXQ6IHtcbiAgICAgICAgICAgIG5hbWU6ICcnLFxuICAgICAgICAgIH0sXG4gICAgICAgIH0sXG4gICAgICAgIGplbmtpbnNBcGlTZXR0aW5nczoge1xuICAgICAgICAgIGF1dGhvcml6YXRpb25TdHJhdGVneTogYXV0aG9yaXphdGlvblN0cmF0ZWd5LFxuICAgICAgICB9LFxuICAgICAgICBtYXN0ZXI6IHtcbiAgICAgICAgICBkaXNhYmxlQ3NyZlByb3RlY3Rpb246IGRpc2FibGVDU1JGUHJvdGVjdGlvbixcbiAgICAgICAgICBjb250YWluZXJzOiBjb250YWluZXJzLFxuICAgICAgICAgIGJhc2VQbHVnaW5zOiBjZGs4cy5MYXp5LmFueSh7XG4gICAgICAgICAgICBwcm9kdWNlOiAoKSA9PiB7XG4gICAgICAgICAgICAgIHJldHVybiBBcnJheS5mcm9tKHRoaXMuX2Jhc2VQbHVnaW5zLCAoW2tleSwgdmFsdWVdKSA9PiB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICAgIG5hbWU6IGtleSxcbiAgICAgICAgICAgICAgICAgIHZlcnNpb246IHZhbHVlLFxuICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSxcbiAgICAgICAgICB9KSxcbiAgICAgICAgICBwbHVnaW5zOiBjZGs4cy5MYXp5LmFueSh7XG4gICAgICAgICAgICBwcm9kdWNlOiAoKSA9PiB7XG4gICAgICAgICAgICAgIH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lZEpvYnMgTGlzdCBvZiBzZWVkIGpvYnMuXG4gICAqL1xuICBwdWJsaWMgYWRkU2VlZEpvYnMoLi4uc2VlZEpvYnM6IFNlZWRKb2JbXSk6IHZvaWQge1xuICAgIHRoaXMuX3NlZWRKb2JzLnB1c2goLi4uc2VlZEpvYnMpO1xuICB9XG59Il19

@@ -44,3 +44,3 @@ {

"devDependencies": {
"@cdk8s/projen-common": "^0.0.536",
"@cdk8s/projen-common": "^0.0.539",
"@types/jest": "^27",

@@ -50,3 +50,4 @@ "@types/node": "16.18.78",

"@typescript-eslint/parser": "^7",
"cdk8s": "2.68.4",
"cdk8s": "2.68.91",
"commit-and-tag-version": "^12",
"constructs": "10.3.0",

@@ -59,8 +60,7 @@ "eslint": "^8",

"jsii": "1.x",
"jsii-diff": "^1.102.0",
"jsii-docgen": "^7.2.9",
"jsii-pacmak": "^1.102.0",
"jsii-diff": "^1.103.0",
"jsii-docgen": "^10.5.0",
"jsii-pacmak": "^1.103.0",
"jsii-rosetta": "1.x",
"projen": "^0.84.13",
"standard-version": "^9",
"projen": "^0.86.5",
"ts-jest": "^27",

@@ -70,3 +70,3 @@ "typescript": "^4.9.5"

"peerDependencies": {
"cdk8s": "^2.68.4",
"cdk8s": "^2.68.91",
"constructs": "^10.3.0"

@@ -87,3 +87,3 @@ },

},
"version": "0.0.451",
"version": "0.0.452",
"jest": {

@@ -90,0 +90,0 @@ "coverageProvider": "v8",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc