Commit Graph

75 Commits

Author SHA1 Message Date
sharmapulkit04 e2ec2ea329 Updated unit tests, helm charts and validation logic 2021-08-18 05:57:28 +05:30
sharmapulkit04 5ca4e0a90c Updated Helm Charts
- Optimized the charts
- Made the webhook optional
- Added cert manager as dependency to be installed while running webhook
2021-08-16 04:24:24 +05:30
sharmapulkit04 9106582a9e Merge branch 'master' of github.com:jenkinsci/kubernetes-operator into security-validator
- Refactored code in webhook and main
- Merged changes from master
2021-08-10 15:27:37 +05:30
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
Szymon Fugas 858f0f4c72
Docs: add info on restricted volumeMounts other than jenkins-home(#612)
* Update note in installation docs

* Update Helm chart default values.yaml

* Update schema
2021-08-05 17:28:01 +02:00
Szymon Fugas dfd25e822c
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)
2021-08-02 15:52:10 +02:00
sharmapulkit04 52fe5fe95e 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.
2021-07-15 02:53:49 +05:30
sharmapulkit04 e87c7cac5f 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-06-30 20:34:51 +05:30
Tomasz Sęk b9059bc26b
Release 0.5.1 Helm Chart 2021-06-11 13:53:13 +02:00
Mateusz Korus 485abaad8d Release 0.5.0 Helm Chart 2021-06-10 11:29:09 +02:00
Mateusz Korus fbea1ed790 Bump version to v0.6.0 2021-06-10 08:10:50 +02:00
SylwiaBrant 38fcdf5d37
#555 Add nightly release of a snapshot (#566)
* #555 Add nightly release of a snapshot

* Update README

* Bump image and plugins

* Bump image and plugins in Helm Chart
2021-05-24 12:13:27 +02:00
MKajzik 59d522c5d2
#554 Remove Deprecated JVM opts (#569)
* Upgrade base plugins
* Upgrade Jenkins image
* Remove deprecated JVM opts
2021-05-20 17:22:00 +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
Piotr Ryba 0d118bf046
Fix WATCH_NAMESPACE in helm chart (#547)
* Fix WATCH_NAMESPACE in helm chart

When applying the chart, the operator will now watch the correct
namespace. This required changes in roles and role bindings so that
the operator has access to both namespaces.

* Use Role instead of ClusterRole

Mitigates the risk of restrictions in creating ClusterRole in
multitenant k8s clusters.

* Update configuration-as-code version to 1.47
2021-04-27 15:36:09 +02:00
Sylwia Brant 84b5499755 #548 Fix clearing /tmp dir in backup script 2021-04-26 15:57:13 +02:00
Sylwia Brant 892b2c8dd9 Release 0.4.3 Helm Chart 2021-02-19 12:44:08 +01:00
SylwiaBrant bf4bf4ecdd
Merge pull request #506 from emilkostadinov/feature/helm-backuprestore-last-action
Pass getLatestAction Helm value to the Jenkins instance
2021-02-19 11:28:11 +01:00
SylwiaBrant 652580c0a5
#507 Allow listing events (#514)
Added missing permissions for listing events by Jenkins
2021-02-12 15:38:23 +01:00
Sylwia Brant 5bbd1585af Release 0.4.2 Helm Chart 2021-02-04 08:37:33 +01:00
SylwiaBrant 5f1b28f539
#503 Added JenkinsImage crd to Helm Chart (#508) 2021-02-04 08:28:38 +01:00
Emil Kostadinov 545c7b99b3 Pass getLatestAction helm value to the Jenkins instance 2021-02-01 06:00:48 +02:00
Tomasz Sęk 5f45777554
Release 0.4.1 Helm Chart 2021-01-23 14:12:06 +01:00
Mitsufumi KIkyotani 73db2e0fc9
Make livenessProbe and readinessProbe configurable in Helm chart (#499) 2021-01-23 14:00:27 +01:00
Tomasz Sęk aa45c79c56
Release 0.4.0 Helm Chart 2021-01-18 16:18:04 +01:00
Tomasz Sęk ae0fe371ba
Update Helm Chart - 0.5.0 release 2021-01-18 16:13:27 +01:00
Tomasz Sęk fe81e5ab3d
Bump version to v0.5.0 2021-01-18 10:10:36 +01:00
Sylwia Brant 566ac9768f Grand Christmas Patch
Fixed helm not creating role permissions #424
Added ability to use custom k8s cluster domain #461
Fixed propagation of JENKINS_OPTS to seed-job agent #462
Fixed updating last backup #421
2020-12-15 10:18:40 +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
Tomasz Sęk ac91e5f19b
Release 0.3.4 Helm chart 2020-07-19 17:29:08 +02:00
Tomasz Sęk 5beff3b59a
Bump workflow-job plugin version to 2.39 2020-07-19 17:25:57 +02:00
Tomasz Sęk 285718156c
Bump workflow-job plugin version to 2.39 2020-07-17 17:17:55 +02:00
Jakub Al-Khalili d531146937 Add support in helm chart for Jenkins pod volume mounts 2020-06-18 11:49:38 +02:00
Tomasz Sęk 08d9c40fb6
Release 0.3.2 Helm chart 2020-06-07 15:20:44 +02:00
Tomasz Sęk 8c62b6909d
#349 Fix Helm upgrade issue with PVC 2020-06-07 14:56:22 +02:00
Tomasz Sęk 87ee491a74
#349 Fix Helm upgrade issue with PVC 2020-06-07 12:10:03 +02:00
Jakub Al-Khalili 5d0c6524d9 Bump version to 0.3.1 2020-05-29 13:02:14 +02:00
Jakub Al-Khalili afe2d41dcc Improve secret management in helm chart 2020-05-29 11:46:43 +02:00
Frederik Nordahl Jul Sabroe 0bb9fa8c1f
Change helm chart to helm 3 apiVersion
The chart is already in the format of a Helm 3 chart, however the `apiVersion` of the chart is set to `v1`, which is used for Helm 2 charts. Helm 3 charts should use `apiVersion: v2`.

This makes tools such as ArgoCD mistake the chart for a Helm 2 chart, and therefore template the chart using the wrong helm version. In ArgoCDs case, that means that the CRDs aren't deployed.

reference: https://helm.sh/docs/faq/#chartyaml-apiversion-bump
2020-05-19 17:05:25 +02:00
Tomasz Sęk 0d58add55f
Remove configuration-as-code-support plugin from website 2020-05-13 09:36:24 +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
Tomasz Sęk 94517c1886
Release 0.2.2 Helm chart 2020-05-07 21:31:08 +02:00
Tomasz Sęk 923c766996
Merge pull request #373 from jkhelil/fix_operator_role
add serviceaccounts update verb to opertor role in helm
2020-05-07 16:10:27 +02:00
Jakub Al-Khalili 24235a5fa6
Allow configure Jenkins labels in Helm chart (#372) 2020-05-07 15:03:53 +02:00
jkhelil f33014d892 add serviceaccounts update verb to opertor role 2020-05-07 15:03:29 +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 6b72b319df Fix helm chart 2020-04-29 16:52:37 +02:00
Jakub Al-Khalili 10d3f9b68c Improve helm chart configuration as code and groovy script section 2020-04-29 14:28:54 +02:00