Commit Graph

1189 Commits

Author SHA1 Message Date
github-actions[bot] 39ec91da29
Auto-updated docs (#630)
Co-authored-by: prryb <prryb@users.noreply.github.com>
2021-08-16 10:56:48 +02:00
Sig00rd 4e046280a3
Workflow: Release Helm chart (#626)
* Add Makefile target to release latest version of Helm chart

* Add workflow that packages Helm chart release and creates PR with it

* Remove old Helm targets
2021-08-16 10:54:12 +02:00
Piotr Ryba 16b4723b79
Fix links on Installation page (#629) 2021-08-16 10:51:11 +02:00
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
Sig00rd ff6e03539c
Add step to update 'last modified' date in docs autogen workflow (#627) 2021-08-13 16:55:58 +02:00
sharmapulkit04 b11ca32d1a Added unit test cases for webhook 2021-08-13 02:33:23 +05:30
Sig00rd 058ea61d70
Update project and repo documents (#621)
* Removed Contributor Covenant version from Code of Conduct doc

* Added a note on PRs with changes to Helm Chart to CONTRIBUTING doc

* Mentioned Discourse as current main channel of communication in README

* Updated ROADMAP
2021-08-12 10:58:54 +02:00
sharmapulkit04 90b685db9b Merge branch 'security-validator' of github.com:jenkinsci/kubernetes-operator into security-validator 2021-08-12 13:13:39 +05:30
Sig00rd 851fb0d3e9
Release 0.5.3 Helm Chart 2021-08-11 16:57:24 +02:00
Sig00rd 65bc574cb8
Helm chart: Fix role and rb templates for case with jenkins ns being empty string (#624) 2021-08-11 14:49:53 +02:00
Sig00rd ba78896ea6
Stale bot: configure time to close to 30 days after stale (#622) 2021-08-10 12:15:46 +02:00
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
Oleksandr Kovalchuk aedc2aff59
Add handling of empty WATCH_NAMESPACE value of jenkins.namespace (#609)
* Add note that jenkins.namespace also affects jenkins-operator resources

* Add handling of empty WATCH_NAMESPACE value of jenkins.namespace

If jenkins.namespace is set to "", it leads to WATCH_NAMESPACE
environment value of Jenkins Operator itself to be set to "", which
leads that operator watches all namespaces (see
https://github.com/jenkinsci/kubernetes-operator/issues/77#issuecomment-523727092).
This case requires custom handling: instead of creating role and
role_binding we need to create clusterrole and clusterrolebinding with
the required permissions.

* Bump chart version

* Fix grammar as suggested by @Sig00rd

Co-authored-by: Sig00rd <sz.fugas@gmail.com>
2021-08-10 11:36:53 +02:00
Mateusz Korus 3e5d80269d
Merge master (#620)
* 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

* 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>

* 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>

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

Also bump Helm Chart version to v0.5.2

* Fix bad identation in chart/index.yaml (#619)

Co-authored-by: Szymon Fugas <sz.fugas@gmail.com>
Co-authored-by: Piotr Ryba <55996264+prryb@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: prryb <prryb@users.noreply.github.com>
Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>
Co-authored-by: Cosnita Radu Viorel <radu.cosnita@gmail.com>
Co-authored-by: Morten Birkelund <mbi@salecto.com>
Co-authored-by: Ernestas <ernetas@gmail.com>
2021-08-10 09:58:24 +02:00
Ernestas 2d1a67afb9
Fix bad identation in chart/index.yaml (#619) 2021-08-09 18:40:59 +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
sharmapulkit04 1d2651d43f 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
2021-08-06 19:12:09 +05:30
github-actions[bot] b400a420e5
Auto-updated docs (#617)
Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>
2021-08-06 13:06:12 +02:00
github-actions[bot] b82fc7c764
Auto-updated docs (#616)
Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>
2021-08-06 10:03:57 +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 8453b3e9fe
Add an issue template for documentation (#613) 2021-08-05 17:27:19 +02:00
sharmapulkit04 37d0eac4e3 Reimplemented the validation logic with caching the security warnings
- Reimplemented the validator interface
- Updated manifests to allocate more resources
2021-08-05 04:39:27 +05:30
github-actions[bot] 17dba087b8
Auto-updated docs (#610)
Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>
2021-08-02 16:22:29 +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
Cosnita Radu Viorel 935b60b6d8
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
2021-07-29 11:44:51 +02:00
Szymon Fugas 9d5c525ace
Bump seedjobs agent image version to 4.9-1 (#604) 2021-07-23 10:29:04 +02:00
github-actions[bot] bd32624fe1
Auto-updated docs (#602)
Co-authored-by: Sig00rd <Sig00rd@users.noreply.github.com>
2021-07-21 09:54:59 +02:00
Szymon Fugas 463cad3b07
Docs: clarification of description of get latest command in backup (#601) 2021-07-20 14:58:04 +02:00
github-actions[bot] 7ce9d1f077
Auto-updated docs (#600)
Co-authored-by: prryb <prryb@users.noreply.github.com>
2021-07-20 14:56:36 +02:00
Piotr Ryba 35dfd47ec7
Docs: explanation what is backed up and why (#599)
* Explanation what's backed up and why
2021-07-20 12:06:25 +02:00
Szymon Fugas 800c1a7d5d
Configure bot for managing stale issues (#598) 2021-07-19 16:04:45 +02:00
Szymon Fugas db0978c4d4
Configure bot for labelling new issues as needing triage (#597) 2021-07-16 11:45:43 +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
Szymon Fugas b407e51bba
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
2021-07-07 13:18:18 +02:00
SylwiaBrant 16a1ad8314
Merge pull request #585 from sharmapulkit04/security-validator
Added validation webhook,cert-manager,and updated Makefile.
2021-07-01 09:48:50 +02:00
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
github-actions[bot] 63370a55cc
Auto-updated docs (#583) 2021-06-16 14:20:45 +02:00
Szymon Fugas eb256fec76
Update Minikube and Kubernetes versions in Minikube env config (#582)
* Update minikube and kubernetes version in minikube env config

* Update minikube version in docs' developer's guide
2021-06-16 14:01:25 +02:00
Michael Schmid 222af51cb9
Update Kubernetes to 1.30.0 (#579) 2021-06-16 11:23:04 +02:00
Szymon Fugas 6cc53704e8
Makefile goal to run docs locally (#578)
* Add makefile goal to run docs locally
2021-06-15 16:32:43 +02:00
Szymon Fugas ec6e288673
Regerate docs (#577)
Co-authored-by: Sig00rd <sfugas@virtuslab.com>
2021-06-11 15:44:14 +02:00
Szymon Fugas 040fbbfea5
Separate instructions on YAML vs Helm installation in docs (#576)
* Fix link to Installation on Getting started index

* Separate instructions on installing via YAML and Helm more clearly

* Link deploy jenkins section in instructions on installing via YAML

Co-authored-by: Sig00rd <sfugas@virtuslab.com>
2021-06-11 15:34:02 +02:00
Tomasz Sęk b9059bc26b
Release 0.5.1 Helm Chart 2021-06-11 13:53:13 +02:00
Mateusz Korus 27213fdc48 Regenerate docs 2021-06-10 16:26:11 +02:00
Mateusz Korus 985517b04f
Copy sample cr to docs with new required values && fix urls (#575) 2021-06-10 16:21:49 +02:00
Mateusz Korus 485abaad8d Release 0.5.0 Helm Chart 2021-06-10 11:29:09 +02:00
Mateusz Korus 46ee392a7c Generate website - 0.5.0 history 2021-06-10 10:53:40 +02:00
Mateusz Korus 20b1bb7169 Generate website - 0.6.0 release 2021-06-10 10:49:11 +02:00
Mateusz Korus cd3dbeb0a5 Update website - 0.6.0 release 2021-06-10 10:39:12 +02:00
Mateusz Korus fbea1ed790 Bump version to v0.6.0 2021-06-10 08:10:50 +02:00