Commit Graph

38 Commits

Author SHA1 Message Date
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
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
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
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
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 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
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 87ee491a74
#349 Fix Helm upgrade issue with PVC 2020-06-07 12:10:03 +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
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
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 307847dbc8
#327 Fix create configuration config maps 2020-04-14 09:30:18 +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
Seshu Kumar Alluvada 959aa17c30 configure kubernetes with FQDNs for jenkins http and slave services 2020-03-22 23:39:39 -04:00
Riccardo Biraghi c16ca15521
Move Jenkins CRD to crds dir (#266)
* Move Jenkins CRD to crds dir

* Update helm chart version + package

* Update helm repo index

* Revert "Update helm repo index"

This reverts commit 1fffe74e42.

* Run make helm-deploy
2020-02-05 13:33:41 +01:00
Tomasz Sęk dbe8c1ae2e
#147 Release 0.0.3 version of Helm Chart 2019-10-21 14:41:04 +02:00
Endre Karlson eeb8b5cf89 helm: Make namespace configurable and CR opt out 2019-10-20 20:46:19 +02:00
Jakub Al-Khalili 4c18d315a4 Improve helm CR, add helm goals to Makefile 2019-09-18 12:09:25 +02:00
Jakub Al-Khalili f8b502f393 Regenerate index.yaml, add namespace to NOTES, fix Jenkins CR 2019-09-18 11:29:42 +02:00
Jakub Al-Khalili dc59674cd4 Add helm chart 2019-09-18 09:47:17 +02:00