Commit Graph

35 Commits

Author SHA1 Message Date
Tobia De Koninck 69bdd916d5
Add option to skip install of plugins (#1065)
Co-authored-by: Luigi Operoso <40476330+brokenpip3@users.noreply.github.com>
2025-04-21 11:38:28 +02:00
DionJones615 d919a2a11c
fix(master): pass lifecycle configuration to master container (#1062) 2024-11-22 01:03:01 +01:00
DionJones615 18197e66b7
feat: expose jenkins master terminationGracePeriodSeconds (#1012)
Co-authored-by: brokenpip3 <brokenpip3@gmail.com>
2024-06-11 23:57:48 +02:00
Yuedong Wu 50c7217daa
Fix: use consistent imagePullPolicy when enable Jenkins backup (#939) 2023-11-28 09:48:07 +01:00
Luigi Operoso 00bb04745b
Fix: add tollerations again (#842)
Signed-off-by: tombokombo <tombo@sysart.tech>
Co-authored-by: Tomas Hulata <tombo@sysart.tech>
2023-05-30 09:36:55 +02:00
Luigi Operoso 9fd053b784
feat(operator): several updates (#806)
- prepare to switch from `master` to `main`
- avoid to run workflow in case is not needed
- add a way to bump the lts via make
- use latest jenkins lts 2.387.1
- add the docker labels
- update base plugins
- fix #797 
- Add more tests with bats
- Update base plugin to latest version
- Temporary revert #807 
- Better nightly job
2023-03-23 00:04:57 +01:00
Tomas Hulata e36441a4a2
Add tolerations for jenkis pod (#807)
Signed-off-by: tombokombo <tombo@sysart.tech>
2023-03-17 18:56:29 +01:00
twildber a8065cc038
adding seedjobagentimage to jenkins chart (#771)
Co-authored-by: Thorsten Wildberger <thorsten.wildberger@capgemini.com>
2023-01-08 19:34:56 +01:00
ywang-psee b734b6d74f
Customize jenkins-operator helmchart with adding 'nodeSelector' (#723)
* Customize jenkins-operator helmchart with adding 'nodeSelector'

* Fix nindent in chart template

* Fix nodeSelector position in helm jenkins template
2022-06-20 21:25:37 +02:00
Tomas Hulata 3362aae2a3
helmchart: hostAliases support (#720)
Signed-off-by: tombokombo <tombo@sysart.tech>
2022-06-20 21:22:17 +02:00
thecooldrop 0f507409cc
Fixes #687 (#688)
This is necessary in order to be able to provide the annotations attached to the
service account associated with the Jenkins master instance.

Co-authored-by: Vanio Begic <vanio.begic@capgemini.com>
2021-12-23 13:37:08 +01:00
Andre 2724ec2f70
#685 Do not strip leading whitespace from priorityClassName in helm template (#686) 2021-12-22 08:16:11 +01:00
maslakov e2f19454b1
#674 move imagePullSecrets in template (#675)
* Update jenkins.yaml

fix https://github.com/jenkinsci/kubernetes-operator/issues/674

* Fix nindent to be 4
2021-12-07 11:59:54 +01:00
SylwiaBrant 7e94bc623f
Prepare for Security Validator release (#680)
* Tidy up k8s events logging
* Increase memory and decrease CPU in resources
* Standarize API fields
* Refactor tests
* Change image and resources for e2e tests
* Increase readability
2021-12-07 08:23:58 +01:00
sharmapulkit04 51f7ec8248 Implemented validation logic for the webhook (#593)
* Fix workflow for autogenerating docs (#592)

* Use grep -c flag in check for changes step to fix case when more than 1 website file was modified

* Implemented validation logic for the webhook
- Created a single Validate() function to validate both updating and creating Jenkins CR.
- Implemented the Validate function to fetch warnings from the API and do security check if
  being enabled.
- Updated the helm charts and helm-e2e target to run the helm tests.

* Configure bot for labelling new issues as needing triage (#597)

* Configure bot for managing stale issues (#598)

* Docs: explanation what is backed up and why (#599)

* Explanation what's backed up and why

* Auto-updated docs (#600)

Co-authored-by: prryb <prryb@users.noreply.github.com>

* Docs: clarification of description of get latest command in backup (#601)

* Auto-updated docs (#602)

Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>

* Bump seedjobs agent image version to 4.9-1 (#604)

* Add GitLFS pull after checkout behaviour to SeedJob GroovyScript Template (#483)

Add GitLFS pull after checkout behaviour to support also repositories which are relying on Git LFS

Close #482

* Docs: minor fixes (#608)

* Link to project's DockerHub in README's section on nightly builds, add paragraph about nightly builds in installation docs

* Fix repositoryURL in sample seedJob configuration with SSH auth

* Slightly expand on #348

* Fix formatting in docs on Jenkins' customization, update plugin versions

* Add notes on Jenkins home Volume in Helm chart values.yaml and docs (#589)

* Auto-updated docs (#610)

Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>

* Reimplemented the validation logic with caching the security warnings
- Reimplemented the validator interface
- Updated manifests to allocate more resources

* Add an issue template for documentation (#613)

* Docs: add info on restricted volumeMounts other than jenkins-home(#612)

* Update note in installation docs

* Update Helm chart default values.yaml

* Update schema

* Auto-updated docs (#616)

Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>

* Auto-updated docs (#617)

Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>

* Updated Validation logic
- Defined a security manager struct to cache all the plugin data
- Added flag to make validating security warnings optional while deploying the operator

* Helm Chart: Remove empty priorityClassName from Jenkins template (#618)

Also bump Helm Chart version to v0.5.2

* Added unit test cases for webhook

* Updated Helm Charts
- Optimized the charts
- Made the webhook optional
- Added cert manager as dependency to be installed while running webhook

* Updated unit tests, helm charts and validation logic

* Completed helm e2e tests and updated helm charts
- Completed helm tests for various scenarios
- Disabled startupapi check for cert manager webhook, defined a secret and updated templates
- Made the webhook completely optional

* Code optimization and cleanup

* Modified helm tests

* code cleanup and optimization
2021-08-30 08:21:52 +02:00
sharmapulkit04 626246ac4d Added validation webhook,cert-manager,and updated Makefile.
- Scaffolded a new validation webhook using operator-sdk
- Added manifests for webhook.
- Added manifests for self signed issuer and certificates
- Added a new spec named ValidateSecurityWarnings to the Jenkins custom resource definition to enable/disable security check.
- Updated Makefile to deploy the operator locally.
- Updated helm template and default values.yaml
2021-08-27 14:29:50 +02:00
Morten Birkelund 853f485746
Helm Chart: Remove empty priorityClassName from Jenkins template (#618)
Also bump Helm Chart version to v0.5.2
2021-08-09 14:57:00 +02:00
Tomasz Sęk b9059bc26b
Release 0.5.1 Helm Chart 2021-06-11 13:53:13 +02:00
SylwiaBrant c74606a2ee
Migrate Helm Chart to OSDK v1.3.0 (#551)
Migrate Helm Chart to OSDK v1.3.0
2021-04-29 13:50:06 +02:00
Emil Kostadinov 545c7b99b3 Pass getLatestAction helm value to the Jenkins instance 2021-02-01 06:00:48 +02:00
Mitsufumi KIkyotani 73db2e0fc9
Make livenessProbe and readinessProbe configurable in Helm chart (#499) 2021-01-23 14:00:27 +01:00
Sylwia Brant 7c823a763c Added labels and annotations to Helm Chart
Added configuration option for the user to specify annotations and labels for Jenkins pod via helm. Updated installation guide with information about this feature.
2020-09-28 12:47:23 +02:00
Sylwia Brant 7a7564f76b Added labels and annotations to Helm Chart
Added configuration option for a user to specify annotations and labels for Jenkins CR and pod.
2020-09-23 15:25:45 +02:00
Jakub Al-Khalili d531146937 Add support in helm chart for Jenkins pod volume mounts 2020-06-18 11:49:38 +02:00
Jakub Al-Khalili afe2d41dcc Improve secret management in helm chart 2020-05-29 11:46:43 +02:00
Jakub Al-Khalili 78948440f4 Improve helm chart labels 2020-05-12 11:41:18 +02:00
Jakub Al-Khalili 7aa7e0ab2a Add jenkins container envs to helm chart 2020-05-08 15:20:58 +02:00
Jakub Al-Khalili 24235a5fa6
Allow configure Jenkins labels in Helm chart (#372) 2020-05-07 15:03:53 +02:00
Jakub Al-Khalili 116cb49857 #355 Add priorityClassName and bump to 0.2.0 2020-04-30 09:53:21 +02:00
Jakub Al-Khalili 10d3f9b68c Improve helm chart configuration as code and groovy script section 2020-04-29 14:28:54 +02:00
Tomasz Sęk 9715217f1d
#344 Fix operator notifications in Helm Chart 2020-04-22 20:41:43 +02:00
Jakub Al-Khalili e73f6de424
Fix securityContext for jenkins (#342) 2020-04-22 14:38:14 +02:00
Jakub Al-Khalili 6a6fc7a094
Update jenkins.yaml 2020-04-22 13:24:19 +02:00
Tomasz Sęk 5ab1984be9
#324 Allow set services in Helm Chart 2020-04-14 09:28:33 +02:00
Jakub Al-Khalili 52fd4f7f7b
Refactor the Helm chart (#300) 2020-04-01 18:54:27 +02:00