Skip to content
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

Closed
ayen-tibco opened this issue Jun 14, 2017 · 3 comments
Closed
Assignees
Labels
cat/feature Feature request cat/starter Easy issue, ideally for starting with fabric-maven-plugin prio/p1 Normal priority size/s Small

Comments

@ayen-tibco
Copy link

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.9

  • Kubernetes / 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]

  • If it's a feature request, what is your use case :
    Either fix to include -pod.yml or document to use some other resource type.
@rhuss
Copy link
Contributor

rhuss commented Jun 15, 2017

agreed that we should a pod for the resources as well. The fix should be trivial. @ayen-tibco fancy about doing a PR ?

@stale
Copy link

stale bot commented Oct 4, 2018

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

@stale stale bot added the status/stale Issue/PR considered to be stale label Oct 4, 2018
@rhuss
Copy link
Contributor

rhuss commented Oct 6, 2018

@stale stale bot removed the status/stale Issue/PR considered to be stale label Oct 6, 2018
@rhuss rhuss added cat/feature Feature request cat/starter Easy issue, ideally for starting with fabric-maven-plugin prio/p1 Normal priority size/s Small status/stale Issue/PR considered to be stale labels Oct 6, 2018
@stale stale bot removed the status/stale Issue/PR considered to be stale label Oct 6, 2018
@devang-gaur devang-gaur self-assigned this Nov 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cat/feature Feature request cat/starter Easy issue, ideally for starting with fabric-maven-plugin prio/p1 Normal priority size/s Small
Projects
None yet
Development

No branches or pull requests

3 participants