This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
Plugin should support POD resource type for yml configuration file #963
Labels
cat/feature
Feature request
cat/starter
Easy issue, ideally for starting with fabric-maven-plugin
prio/p1
Normal priority
size/s
Small
Description
According tp kubernets and openshift, there exists a resource type 'pod'. But fabric8 maven plugin does not recognize it when generating yml files using /src/main/fabric8/*-pod.yml.
Info
https://kubernetes.io/docs/user-guide/kubectl-overview/
https://docs.openshift.org/latest/dev_guide/templates.html
f-m-p version : 3.4.1:
Maven version (
mvn -v
) : 3.3.9Kubernetes / OpenShift setup and version :
openshift v1.5.1+7b451fc
kubernetes v1.5.2+43a9be4
If it's a bug, how to reproduce :
Example: src/main/fabric8/node1-pod.yml
[INFO] F8: Using resource templates from C:\cygwin\home\someuser\dtmexamples\cloud\openshift\src\main\fabric8
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.328 s
[INFO] Finished at: 2017-06-14T14:13:36-04:00
[INFO] Final Memory: 38M/394M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.4.1:resource (template) on project openshift: Execution template of goal io.fabric8:fabric8-maven-plugin:3.4.1:resource failed: Unknown type 'pod' for file node1-pod.yml. Must be one of : template, rs, bc, pr, role, rbr, ns, oauthclient, lr, pv, project, resourcequota, secret, istag, cronjob, sa, ds, crb, clusterrb, deploymentconfig, configmap, statefulset, pvc, deployment, limitrange, svc, rolebindingrestriction, cj, cm, is, daemonset, cr, rb, crole, rc, pb, clusterrole, route, service, namespace, rolebinding, rq, dc -> [Help 1]
Either fix to include -pod.yml or document to use some other resource type.
The text was updated successfully, but these errors were encountered: