autotls feature doesn't work with OpenShift 3.9 (Kubernetes 1.8+) due to InitContainer annotation deprecation
See original GitHub issueThe autotls feature uses initContainer alpha annotations (https://github.com/fabric8io/fabric8-maven-plugin/blob/bd414f1ad94fdf48e8de05f25e3e09998b3f7508/enricher/api/src/main/java/io/fabric8/maven/enricher/api/util/InitContainerHandler.java) but this has been deprecated as of Kubernetes 1.8.0 (https://kubernetes.io/docs/concepts/workloads/pods/init-containers/#support-and-compatibility).
We need to replace the annotation with the spec.initContainers field.
-
f-m-p version : 3.5.38
-
Maven version (
mvn -v
) : 3.3.9 -
Kubernetes / OpenShift setup and version : openshift v3.9.0+191fece kubernetes v1.9.1+a0ce1bc657
-
If it’s a bug, how to reproduce : Enable and use autotls feature. Initcontainer will not be created.
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (1 by maintainers)
Top Results From Across the Web
CI/CD OpenShift Container Platform 4.11
OpenShift Pipelines provides a Kubernetes-native CI/CD framework to design and run each step of the CI/CD pipeline in its own container.
Read more >fabric8io/fabric8-maven-plugin
This plugin focus on two tasks: Building Docker images and creating Kubernetes and OpenShift resource descriptors. It can be configured very ...
Read more >Using Init Containers to perform tasks before a pod is deployed
An Init Container can: Contain and run utilities that are not desirable to include in the app Container image for security reasons. Contain...
Read more >Learn Kubernetes Security.pdf
Kubernetes is not only the de facto platform to run modern, service-based applications. With cloud vendors quickly embracing it, it's also becoming the ......
Read more >Troubleshooting Guide for OpenShift Container Platform
Pod related issues. Router/Registry Not deploying to correct node · Issues with Nodes. Nodes being reported as ready, but builds failing · Registry...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry for responding late, will take a look soon.
@rohanKanojia Cool. Thanks for your efforts!