question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

autotls feature doesn't work with OpenShift 3.9 (Kubernetes 1.8+) due to InitContainer annotation deprecation

See original GitHub issue

The 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:closed
  • Created 5 years ago
  • Comments:17 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
rohanKanojiacommented, Jun 18, 2018

Sorry for responding late, will take a look soon.

0reactions
mojshacommented, Aug 9, 2018

@rohanKanojia Cool. Thanks for your efforts!

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found