kubernetes-cd-plugin icon indicating copy to clipboard operation
kubernetes-cd-plugin copied to clipboard

Plugin is not available on jenkins

Open hamzanasir443 opened this issue 3 years ago • 12 comments

Describe your use-case which is not covered by existing documentation.

Hi

Could you please suggest the alternate method for which the plugin is used now for deployment ?

Regards: Hamza

Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.

No response

hamzanasir443 avatar Oct 21 '22 08:10 hamzanasir443

https://www.jenkins.io/security/advisory/2022-08-23/#SECURITY-2448 any alternative solutions?

jumping avatar Nov 28 '22 11:11 jumping

https://www.jenkins.io/security/advisory/2022-08-23/#SECURITY-2448 any alternative solutions?

You can download the older version of plugin and manually installed on jenkins

hamzanasir443 avatar Nov 28 '22 11:11 hamzanasir443

2.3.1 from other place doesnt' work, it's dont like apiv1 in deployment.yaml It's bad the project is abandoned

emoxam avatar Dec 01 '22 12:12 emoxam

An updated version is available here: https://github.com/byo-software/kubernetes-cd-plugin

Note: none of the security advisories have been addressed.

Trojaner avatar Dec 20 '22 15:12 Trojaner

An updated version is available here: https://github.com/byo-software/kubernetes-cd-plugin

Note: none of the security advisories have been addressed.

Thanks, i will give it a try!

emoxam avatar Dec 21 '22 13:12 emoxam

I've got a problem, tabs at source java code doesn't supported ?

Loading configuration: /var/lib/jenkins/workspace/demo-app/Dockerfile
No resource loaded from: /var/lib/jenkins/workspace/demo-app/Dockerfile
Loading configuration: /var/lib/jenkins/workspace/demo-app/pom.xml
No resource loaded from: /var/lib/jenkins/workspace/demo-app/pom.xml
Loading configuration: /var/lib/jenkins/workspace/demo-app/src/main/java/ru/integris/demo/DemoApplication.java
ERROR: ERROR: while scanning for the next token
found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
 in 'reader', line 9, column 1:
    	public static void main(String[ ... 
    ^

hudson.remoting.ProxyException: while scanning for the next token
found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
 in 'reader', line 9, column 1:
    	public static void main(String[ ... 
    ^

	at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:453)
	at org.yaml.snakeyaml.scanner.ScannerImpl.peekToken(ScannerImpl.java:273)
	at org.yaml.snakeyaml.parser.ParserImpl$ParseDocumentEnd.produce(ParserImpl.java:279)
	at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:166)
	at org.yaml.snakeyaml.comments.CommentEventsCollector$1.peek(CommentEventsCollector.java:59)

String 9 is public static void main(String[] args) { And it's really begins with TAB

emoxam avatar Dec 21 '22 14:12 emoxam

Config file setting should be **/*.yaml Pardon, and thanks. All working

emoxam avatar Dec 22 '22 08:12 emoxam

https://www.jenkins.io/security/advisory/2022-08-23/#SECURITY-2448 any alternative solutions?

You can download the older version of plugin and manually installed on jenkins

Are you able to download the old version ?

sitaorg2022 avatar Jan 29 '23 10:01 sitaorg2022

https://www.jenkins.io/security/advisory/2022-08-23/#SECURITY-2448 any alternative solutions?

Did you find the Solution

sitaorg2022 avatar Jan 29 '23 11:01 sitaorg2022

Unfortunately, after digging into it, the work needed to fix that is more than just updating the deps version. Some Kubernetes schemas got deprecated and removed from the java client. Now to update the version (which will get rid of that CVE) one need to update all the referenced wrappers. And that's not that easy.

Evengard avatar Feb 08 '23 09:02 Evengard

Unfortunately, after digging into it, the work needed to fix that is more than just updating the deps version. Some Kubernetes schemas got deprecated and removed from the java client. Now to update the version (which will get rid of that CVE) one need to update all the referenced wrappers. And that's not that easy.

One guy fixed it, but it's not support ingresses, so i use kubectl apply -f and then i think i get do all the stuf this way, without any jenkins plugins..)

emoxam avatar Feb 08 '23 10:02 emoxam

The plugin is up for adoption. If your organization needs this plugin, then you should persuade your organization to let you adopt the plugin, fix the security issue, modernize the plugin, and release a new version with the fix.

MarkEWaite avatar Mar 02 '24 08:03 MarkEWaite