Skip to content

Commit fa1e5bb

Browse files
Merge pull request #1 from torstenwalter/add-readme
First release of helm chart in new location
2 parents 86a3094 + 8c8556d commit fa1e5bb

File tree

9 files changed

+712
-602
lines changed

9 files changed

+712
-602
lines changed

.github/workflows/linter.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Lint Code Base
2+
3+
# Documentation:
4+
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
5+
6+
on: pull_request
7+
8+
jobs:
9+
build:
10+
name: Lint Code Base
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Code
14+
uses: actions/checkout@v2
15+
- name: Lint Code Base
16+
uses: github/super-linter@v3
17+
env:
18+
VALIDATE_ALL_CODEBASE: false
19+
VALIDATE_YAML: false
20+
DEFAULT_BRANCH: main
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CODE_OF_CONDUCT.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Code of Conduct
2+
3+
Jenkins Code of Conduct can be found [here](https://www.jenkins.io/project/conduct/).

CONTRIBUTING.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Contributing Guidelines
2+
3+
Contributions are welcome via GitHub pull requests. This document outlines the process to help get your contribution accepted.
4+
5+
## Sign off Your Work
6+
7+
The Developer Certificate of Origin (DCO) is a lightweight way for contributors to certify that they wrote or otherwise have the right to submit the code they are contributing to the project. Here is the full text of the [DCO](http://developercertificate.org/). Contributors must sign-off that they adhere to these requirements by adding a `Signed-off-by` line to commit messages.
8+
9+
```text
10+
This is my commit message
11+
12+
Signed-off-by: Random J Developer <[email protected]>
13+
```
14+
15+
See `git help commit`:
16+
17+
```text
18+
-s, --signoff
19+
Add Signed-off-by line by the committer at the end of the commit log
20+
message. The meaning of a signoff depends on the project, but it typically
21+
certifies that committer has the rights to submit this work under the same
22+
license and agrees to a Developer Certificate of Origin (see
23+
http://developercertificate.org/ for more information).
24+
```
25+
26+
## How to Contribute
27+
28+
1. Fork this repository, develop, and test your changes
29+
1. Remember to sign off your commits as described above
30+
1. Submit a pull request
31+
32+
***NOTE***: In order to make testing and merging of PRs easier, please submit changes to multiple charts in separate PRs.
33+
34+
### Technical Requirements
35+
36+
* Must pass [DCO check](#sign-off-your-work)
37+
* Must follow [Charts best practices](https://helm.sh/docs/topics/chart_best_practices/)
38+
* Must pass CI jobs for linting and installing changed charts with the [chart-testing](https://github.com/helm/chart-testing) tool
39+
* Any change to a chart requires a version bump following [semver](https://semver.org/) principles. See [Immutability](#immutability) and [Versioning](#versioning) below
40+
41+
Once changes have been merged, the release job will automatically run to package and release changed charts.
42+
43+
### Immutability
44+
45+
Chart releases must be immutable. Any change to a chart warrants a chart version bump even if it is only a change to the documentation.
46+
47+
### Versioning
48+
49+
The chart `version` should follow [semver](https://semver.org/).
50+
51+
Charts should start at `1.0.0`. Any breaking (backwards incompatible) changes to a chart should:
52+
53+
1. Bump the MAJOR version
54+
2. In the README, under a section called "Upgrading", describe the manual steps necessary to upgrade to the new (specified) MAJOR version
55+
56+
### Community Requirements
57+
58+
This project is released with a [Contributor Covenant](https://www.contributor-covenant.org).
59+
By participating in this project you agree to abide by its terms.
60+
See [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md).

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Jenkins Community Kubernetes Helm Charts
2+
3+
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
4+
5+
The code is provided as-is with no warranties.
6+
7+
## Usage
8+
9+
[Helm](https://helm.sh) must be installed to use the charts.
10+
Please refer to Helm's [documentation](https://helm.sh/docs/) to get started.
11+
12+
Once Helm is set up properly, add the repo as follows:
13+
14+
```console
15+
helm repo add jenkinsci https://charts.jenkins.io
16+
```
17+
18+
You can then run `helm search repo jenkinsci` to see the charts.
19+
20+
Chart documentation is available in [jenkins directory](./charts/jenkins/README.md).
21+
22+
## Contributing
23+
24+
We'd love to have you contribute! Please refer to our [contribution guidelines](CONTRIBUTING.md) for details.
25+
26+
## License
27+
28+
[Apache 2.0 License](./LICENSE).

charts/jenkins/CHANGELOG.md

Lines changed: 29 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
# Change Log
22

3-
This file documents all notable changes to Jenkins Helm Chart. The release
4-
numbering uses [semantic versioning](http://semver.org).
3+
This file documents all notable changes to the Jenkins Helm Chart.
4+
The release numbering uses [semantic versioning](http://semver.org).
55

6-
NOTE: The change log until version 1.5.7 is auto generated based on git commits. Those include a reference to the git commit to be able to get more details.
6+
Use the following links to reference issues, PRs, and commits prior to v2.6.0.
7+
* Issue: `https://github.com/helm/charts/issues/[issue#]`
8+
* PR: `https://github.com/helm/charts/pull/[pr#]`
9+
* Commit: `https://github.com/helm/charts/commit/[commit]/stable/jenkins`
10+
11+
The change log until v1.5.7 was auto-generated based on git commits. Those entries include a reference to the git commit to be able to get more details.
12+
13+
## 2.6.0 First release in jenkinsci GitHub org
14+
15+
Updated README for new location
716

817
## 2.5.2
918

@@ -49,7 +58,7 @@ Add an option to specify pod based on labels that can connect to master if Netwo
4958
## 2.2.0 increase retry for config auto reload
5059

5160
Configure `REQ_RETRY_CONNECT` to `10` to give Jenkins more time to start up.
52-
https://github.com/kiwigrid/k8s-sidecar
61+
<https://github.com/kiwigrid/k8s-sidecar>
5362

5463
Value can be configured via `master.sidecars.configAutoReload.reqRetryConnect`
5564

@@ -127,13 +136,13 @@ Add support for overriding Ingress paths via `master.ingress.paths`
127136

128137
## 1.20.0
129138

130-
Add the following options for configuring the Kubernetes plugin.
139+
Add the following options for configuring the Kubernetes plugin.
131140

132-
- master.slaveDefaultsProviderTemplate
133-
- master.slaveJenkinsUrl
134-
- master.slaveJenkinsTunnel
135-
- master.slaveConnectTimeout
136-
- master.slaveReadTimeout
141+
- master.slaveDefaultsProviderTemplate
142+
- master.slaveJenkinsUrl
143+
- master.slaveJenkinsTunnel
144+
- master.slaveConnectTimeout
145+
- master.slaveReadTimeout
137146

138147
## 1.19.0
139148

@@ -265,7 +274,7 @@ Update docs for Helm 3
265274

266275
Make `jenkins-home` attachable to Azure Disks without pvc
267276

268-
```
277+
```yaml
269278
volumes:
270279
- name: jenkins-home
271280
azureDisk:
@@ -313,7 +322,7 @@ configuration-as-code | 1.27 | 1.32
313322

314323
## 1.9.6
315324

316-
Enables jenkins to use keystore inorder to have native ssl support [#17790](https: https://wiki.jenkins.io/pages/viewpage.action?pageId=135468777)
325+
Enables jenkins to use keystore inorder to have native ssl support #17790 <https://wiki.jenkins.io/pages/viewpage.action?pageId=135468777>
317326

318327
## 1.9.5 Enable remoting security
319328

@@ -323,7 +332,7 @@ Enables jenkins to use keystore inorder to have native ssl support [#17790](http
323332

324333
Google application credentials are kept in a file, which has to be mounted to a pod. You can set `gcpcredentials` in `existingSecret` as follows:
325334

326-
```
335+
```yaml
327336
existingSecret:
328337
jenkins-service-account:
329338
gcpcredentials: application_default_credentials.json
@@ -472,7 +481,7 @@ JCasC default configuration includes:
472481

473482
Example `values.yaml` which enables JCasC, it's default config and configAutoReload:
474483

475-
```
484+
```yaml
476485
master:
477486
JCasC:
478487
enabled: true
@@ -742,24 +751,24 @@ commit: 48c58a430
742751
helm chart best practices (#13136)
743752
commit: b02ae3f48
744753

745-
### Breaking changes:
754+
### Breaking changes
746755

747756
- values have been renamed to follow helm chart best practices for naming conventions so
748757
that all variables start with a lowercase letter and words are separated with camelcase
749-
https://helm.sh/docs/chart_best_practices/#naming-conventions
758+
<https://helm.sh/docs/chart_best_practices/#naming-conventions>
750759
- all resources are now using recommended standard labels
751-
https://helm.sh/docs/chart_best_practices/#standard-labels
760+
<https://helm.sh/docs/chart_best_practices/#standard-labels>
752761

753762
As a result of the label changes also the selectors of the deployment have been updated.
754763
Those are immutable so trying an updated will cause an error like:
755764

756-
```
765+
```text
757766
Error: Deployment.apps "jenkins" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/component":"jenkins-master", "app.kubernetes.io/instance":"jenkins"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable
758767
```
759768

760769
In order to upgrade, delete the Jenkins Deployment before upgrading:
761770

762-
```
771+
```console
763772
kubectl delete deploy jenkins
764773
```
765774

@@ -1328,13 +1337,9 @@ commit: e3e617a0b
13281337
Merge branch 'master' into jenkins-test-timeout
13291338
commit: 9a230a6b1
13301339

1331-
## 0.8.1
1332-
13331340
Double retry count for Jenkins test
13341341
commit: 129c8e824
13351342

1336-
## 0.10.1
1337-
13381343
Jenkins: Update README | Master.ServiceAnnotations (#2757)
13391344
commit: 6571810bc
13401345

@@ -1358,8 +1363,6 @@ commit: d044f99be
13581363
Review jenkins networkpolicy docs (#2618)
13591364
commit: 49911e458
13601365

1361-
## 0.9.2
1362-
13631366
Add image pull secrets to jenkins templates (#1389)
13641367
commit: 4dfae21fd
13651368

@@ -1368,23 +1371,19 @@ commit: 4dfae21fd
13681371
Added persistent volume claim annotations (#2619)
13691372
commit: ac9e5306e
13701373

1371-
## 0.9.1
1372-
13731374
Fix failing CI lint (#2758)
13741375
commit: 26f709f0e
13751376

13761377
## 0.9.0
13771378

1378-
#1785 namespace defined templates with chart name (#2140)
1379+
namespace defined templates with chart name (#2140)
13791380
commit: 408ae0b3f
13801381

13811382
## 0.8.9
13821383

13831384
added useSecurity and adminUser to params (#1903)
13841385
commit: 39d2a03cd
13851386

1386-
## 0.8.9
1387-
13881387
Use storageClassName for jenkins. (#1997)
13891388
commit: 802f6449b
13901389

@@ -1393,8 +1392,6 @@ commit: 802f6449b
13931392
Remove old plugin locks before installing plugins (#1746)
13941393
commit: 6cd7b8ff4
13951394

1396-
## 0.8.8
1397-
13981395
promote initContainrs to podspec (#1740)
13991396
commit: fecc804fc
14001397

@@ -1428,8 +1425,6 @@ commit: 0dc349b44
14281425
Remove path from ingress specification to allow other paths (#1599)
14291426
commit: e727f6b32
14301427

1431-
## 0.8.2
1432-
14331428
Update git plugin to 3.4.0 for CVE-2017-1000084 (#1505)
14341429
commit: 03482f995
14351430

@@ -1438,8 +1433,6 @@ commit: 03482f995
14381433
Use consistent whitespace in template placeholders (#1437)
14391434
commit: 912f50c71
14401435

1441-
## 0.8.1
1442-
14431436
add configurable service annotations #1234 (#1244)
14441437
commit: 286861ca8
14451438

@@ -1558,8 +1551,6 @@ commit: 6fc0ff242
15581551
Changed default value of Kubernetes Cloud name to match one in kubernetes plugin (#404)
15591552
commit: 68351304a
15601553

1561-
## 0.1.10
1562-
15631554
Add support for overriding the Jenkins ConfigMap (#524)
15641555
commit: f97ca53b1
15651556

@@ -1573,18 +1564,12 @@ commit: d76a09588
15731564
Change description (#553)
15741565
commit: 91f5c24e1
15751566

1576-
## 0.1.8
1577-
15781567
Removed default Persistence.StorageClass: generic (#530)
15791568
commit: c87494c10
15801569

1581-
## 0.1.8
1582-
15831570
Update to the recommended pvc patterns. (#448)
15841571
commit: a7fc595aa
15851572

1586-
## 0.1.8
1587-
15881573
Remove helm.sh/created annotations (#505)
15891574
commit: f380da2fb
15901575

@@ -1593,13 +1578,9 @@ commit: f380da2fb
15931578
add support for explicit NodePort on jenkins chart (#342)
15941579
commit: f63c188da
15951580

1596-
## 0.1.7
1597-
15981581
Add configurable loadBalancerSourceRanges for jenkins chart (#360)
15991582
commit: 44007c50e
16001583

1601-
## 0.1.7
1602-
16031584
Update Jenkins version to current LTS (2.19.4) and Kubernetes Plugin to 0.10 (#341)
16041585
commit: 6c8678167
16051586

@@ -1618,18 +1599,12 @@ commit: 4aa9cf5b1
16181599
removed `*` from `jenkins/templates/NOTES.txt`
16191600
commit: 76212230b
16201601

1621-
## 0.1.4
1622-
16231602
apply standard metadata labels to PVC's
16241603
commit: 58b730836
16251604

1626-
## 0.1.4
1627-
16281605
specify namespace in `kubectl get svc` commands in NOTES.txt
16291606
commit: 7d3287e81
16301607

1631-
## 0.1.4
1632-
16331608
Update Jenkins version to current LTS (#194)
16341609
commit: 2c0404049
16351610

@@ -1638,23 +1613,15 @@ commit: 2c0404049
16381613
escape fixed
16391614
commit: 2026e1d15
16401615

1641-
## 0.1.1
1642-
16431616
.status.loadBalancer.ingress[0].ip is empty in AWS
16441617
commit: 1810e37f4
16451618

1646-
## 0.1.1
1647-
16481619
.status.loadBalancer.ingress[0].ip is empty in AWS
16491620
commit: 3cbd3ced6
16501621

1651-
## 0.1.1
1652-
16531622
Remove 'Getting Started:' from various NOTES.txt. (#181)
16541623
commit: 2f63fd524
16551624

1656-
## 0.1.1
1657-
16581625
docs(\*): update READMEs to reference chart repos (#119)
16591626
commit: c7d1bff05
16601627

0 commit comments

Comments
 (0)