Commit Graph

101 Commits

Author SHA1 Message Date
Vibhav Bobade b77592e9d1 Intermediate Commit for transition from Pod to Deployment based Jenkins Controller
Allows for using the annotation jenkins.io/use-deployment
and setting the value to true makes the operator use a
Deployment instead of Pod for serving Jenkins.

This is part of a temporary feature and has to be committed to avoid bigger PRs.
2020-05-15 12:44:54 +05:30
jkhelil e05c2d7a97 refactor log handeling 2020-05-13 14:14:33 +02:00
khelil eb8b2e32e8
Refactoring for jenkins client (#366) 2020-05-06 11:31:16 +02:00
Akram Ben Aissi ebfb38a9c4 fix 2020-05-05 15:13:36 +02:00
Akram Ben Aissi b6144b5559 Add Route pointing to the HTTP Service when the Route API is present 2020-05-05 14:06:10 +02:00
Jakub Al-Khalili fe9cb921bc
#263 Execute user scripts before seed jobs (#345) 2020-04-27 14:22:49 +02:00
Akram Ben Aissi 6e25b3fd3c Split reconcile.go into several files 2020-04-15 21:59:27 +02:00
Oleksandr Kovalchuk 68ffc69d41
Add possibility to set Jenkins master pod's priority
Allow to set priorityClassName for master pod. This will make possible
for jenkins master to either not be preempted on other's pod low
resources or to preempt lesser priority pods on resources shortage.

Ref: https://github.com/jenkinsci/kubernetes-operator/issues/321
2020-04-09 11:06:56 +03:00
Mikolaj Karebski 32ae0c58f4 #318 Fix code review issues 2020-04-03 10:59:01 +02:00
Mikolaj Karebski fe74f4074c #318 Fix running Jenkins-Operator locally 2020-04-03 10:23:26 +02:00
Shoubhik Bose 852d729018
Upgrade operator-sdk to 0.15.1 (#269)
Upgrade operator-sdk to 0.15.1
2020-02-12 21:58:28 +01:00
Tomasz Sęk be41ef44a8
#262 Allow configure Jenkins master pod labels 2020-01-30 23:14:06 +01:00
Tomasz Sęk 2c28755e90
Fix setting service account annotations 2020-01-23 13:11:50 +01:00
Tomasz Sęk fc06cabac8
#252 Handle Jenkins CR replace gracefully 2020-01-21 11:19:51 +01:00
Tomasz Sęk ba122db1f6
#249 Improve checking the NodeSelector 2020-01-20 22:02:38 +01:00
Tomasz Sęk 8941f746b8
#194 Allow unset resources.limits or resources.requests 2020-01-19 20:24:51 +01:00
Tomasz Sęk bf07fa59ef
#199 Generalize Jenkins container command validation 2020-01-18 19:11:27 +01:00
Tomasz Sęk ff2e76c977
Fix set operator version in Jenkins CR status 2020-01-15 15:01:32 +01:00
Tomasz Sęk 8e1d66de0f
#190 Allow set Jenkins API authorization strategy 2020-01-11 22:04:00 +01:00
Tomasz Sęk 7dd2ff1b1b
#190 Allow set Jenkins master service account annotations 2020-01-11 10:31:18 +01:00
Tomasz Sęk f9335df74c
#200 Allow for additional RBAC role bindings for Jenkins master 2020-01-06 18:03:01 +01:00
Tomasz Sęk 2dd6aa4a68
Minor fixes 2020-01-02 19:11:22 +01:00
Tomasz Sęk 90b450d8ef
#197 Handle Admission controllers changes for SecurityContext 2019-12-26 12:50:52 +01:00
Tomasz Sęk 33c3d47cee
#197 Improve checking the ImagePullSecret 2019-12-25 14:40:46 +01:00
Jakub Al-Khalili a612939f33 Add support for local development kubernetes cluster software (#207)
#203 Add support for local development kubernetes cluster
2019-12-19 13:54:31 +01:00
Tomasz Sęk e9f5df2eb3
#229 Handle extra Jenkins master pod annotations 2019-12-16 15:19:13 +01:00
Jakub Al-Khalili 728c36eab7 #163 Fix misleading messages 2019-12-02 14:17:21 +01:00
Tomasz Sęk 14e8667674
Add TODO 2019-11-29 11:55:04 +01:00
Tomasz Sęk ee4f4a3333
Add TODO 2019-11-29 11:41:00 +01:00
Tomasz Sęk a9fe3da564
#191 Overwrite the service selector 2019-11-13 09:58:42 +01:00
Tomasz Sęk 32a6245e0f
Fix minor issues 2019-11-12 09:32:18 +01:00
Jakub Al-Khalili dbf6184898 #176 Refactor backup restore mechanism 2019-11-06 15:46:19 +01:00
Jakub Al-Khalili 6d32ee71e4 Improve notification mechanism (#183)
Improve notification mechanism
2019-11-05 16:06:29 +01:00
Jakub Al-Khalili c249288a2d Pass Configuration struct to Base and User constructors 2019-10-29 09:20:31 +01:00
Jakub Al-Khalili c95108e3ac Extend kubernetes client, pod termination notification 2019-10-28 15:45:38 +01:00
Jakub Al-Khalili eaf19a70d8 #137 Remove waitForVolumes function 2019-10-17 16:17:47 +02:00
Tomasz Sęk 9e882d5853
Improve notifications 2019-10-04 17:34:41 +02:00
Jakub Al-Khalili b7c153f40c Improved notification messages 2019-10-01 09:50:38 +02:00
Tomasz Sęk d76a2b1906
Fix run operator with minikube 2019-09-23 20:07:52 +02:00
Tomasz Sęk 89c46a1720
Small code improvements 2019-08-19 16:56:17 +02:00
Jakub Al-Khalili e049218b78 #45 Add support for imagePullSecrets parameter 2019-07-12 13:11:42 +02:00
Jakub Al-Khalili 076b0aa453 #43 Add additional test scenarios 2019-07-10 15:49:53 +02:00
Jakub Al-Khalili 9e73be7a49 #43 Improve tests and fix GetJenkinsOpts 2019-07-10 15:19:26 +02:00
Jakub Al-Khalili 01655785b5 #43 Add support for JENKINS_OPTS, fix the --prefix bug 2019-07-10 13:58:18 +02:00
Tomasz Sęk 6a3a68bec0
#28 Use new API for groovy base configuration 2019-06-30 23:16:42 +02:00
Tomasz Sęk d0b02de429
#28 Mount secrets for groovy and CasC customization 2019-06-30 23:11:45 +02:00
Tomasz Sęk dda0a0075e
#29 Restart Jenkins pod when any seed job has been deleted 2019-06-29 12:19:35 +02:00
Tomasz Sęk 3b26e1c5ba
Allow configure SecurityContext and Jenkins master container command 2019-06-29 12:19:17 +02:00
Tomasz Sęk 3573b9acd6
Merge pull request #39 from akram/externalize-hardcoded-image-uid
Externalize hardcoded image uid and pod Security Context and removes default Command
2019-06-28 07:37:15 +02:00
Tomasz Sęk 84eb4575e1
Fix backup before pod deletion 2019-06-27 23:33:15 +02:00