Closed chirangaalwis closed 4 years ago
Added PR #73 to remove unwanted plugins.
Just to update on the progress, we managed to update the Jenkins version to 2.235.2
Docker image which is the latest at the time (2020-07-25) and its plugins.
But it has to be noted that, Spinnaker's interaction with Jenkins as the CI engine fails (when running integration tests in Jenkins - value.yaml) since, Jenkins no longer supports basic authentication with password based support, by default.
Using an API token which is the most recommended approach for API calls requires a user to manually intervene and create the API token once Jenkins starts up. Thus, in an automated setup such as the default WSO2 Kubernetes Pipeline, this is not an option.
Furthermore, we can use Jenkins crumbs but we need to separately evaluate this support on Spinnaker's side. As per the official documentation for Halyard, this also requires manual intervention.
Thus, as of now I suggest disabling CSRF protection by default in Jenkins, though this is not the recommended approach suggested by Jenkins. Testing with this feature disabled is currently in-progress.
Your thoughts, suggestions and concerns are appreciated.
@chirangaalwis I think we can go with disabling CSRF protection for Jenkins as it is required for providing the expected first-hand user experience. At the same time, we will have to highlight the fact that, once the set is up and running, Enable disabling CSRF protection.
@chirangaalwis I think we can go with disabling CSRF protection for Jenkins as it is required for providing the expected first-hand user experience. At the same time, we will have to highlight the fact that, once the set is up and running, Enable disabling CSRF protection.
@ThilinaManamgoda +1. And we may also have to provide the users the option to provide an API token for API calls (API token instead of the password for basic authentication) going forward which is the recommended approach. This will need the UI to be accessed which means this is possible once the initial setup is done. WDYT?
Fixed.
Description: It was noticed that the base Jenkins Docker Image used in the Jenkins Docker image for WSO2 Kubernetes Pipeline is outdated, as of 2020/05/25.
Further, the Jenkins plugin versions are outdated, as well. The following error logs are observed during the Jenkins Server startup.
These need to be updated.
Affected Product Version: WSO2 Product Kubernetes Pipeline version
1.0.0