{"action":"opened","issue":{"url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/issues/1410","repository_url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin","labels_url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/issues/1410/labels{/name}","comments_url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/issues/1410/comments","events_url":"https://api.github.com/repos/fabric8io/fabric8-maven-plugin/issues/1410/events","html_url":"https://github.com/fabric8io/fabric8-maven-plugin/issues/1410","id":368051732,"node_id":"MDU6SXNzdWUzNjgwNTE3MzI=","number":1410,"title":"Unknown type 'persistentvolumeclaim' ","user":{"login":"TobiasRath","id":9047460,"node_id":"MDQ6VXNlcjkwNDc0NjA=","avatar_url":"https://avatars1.githubusercontent.com/u/9047460?v=4","gravatar_id":"","url":"https://api.github.com/users/TobiasRath","html_url":"https://github.com/TobiasRath","followers_url":"https://api.github.com/users/TobiasRath/followers","following_url":"https://api.github.com/users/TobiasRath/following{/other_user}","gists_url":"https://api.github.com/users/TobiasRath/gists{/gist_id}","starred_url":"https://api.github.com/users/TobiasRath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TobiasRath/subscriptions","organizations_url":"https://api.github.com/users/TobiasRath/orgs","repos_url":"https://api.github.com/users/TobiasRath/repos","events_url":"https://api.github.com/users/TobiasRath/events{/privacy}","received_events_url":"https://api.github.com/users/TobiasRath/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-09T05:58:09Z","updated_at":"2018-10-09T05:58:09Z","closed_at":null,"author_association":"NONE","body":"docker-compose.yaml:\r\n```\r\nversion: '3.2'\r\n\r\nservices:\r\n\r\n  elasticsearch:\r\n    image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.2.3\r\n    container_name: elasticsearch-1\r\n    ports:\r\n      - \"9200:9200\"\r\n      - \"9300:9300\"  \r\n    networks:\r\n      - network\r\n\r\n  logstash:\r\n    image: docker.elastic.co/logstash/logstash-oss:6.2.3\r\n    container_name: logstash-1\r\n    volumes:\r\n      - type: volume\r\n        source: logfile\r\n        target: /logfile\r\n    ports:\r\n      - \"5000:5000\"      \r\n    networks:\r\n      - network\r\n    depends_on:\r\n      - elasticsearch\r\n\r\n  kibana:\r\n    image: docker.elastic.co/kibana/kibana-oss:6.2.3\r\n    container_name: kibana-1\r\n    ports:\r\n      - \"5601:5601\"\r\n    networks:\r\n      - network\r\n    depends_on:\r\n      - elasticsearch\r\n\r\nnetworks:\r\n  network:\r\n      driver: bridge\r\n\r\nvolumes:\r\n  logfile: \r\n```\r\n\r\npom.xml\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<project xmlns=\"http://maven.apache.org/POM/4.0.0\"\r\n         xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n         xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\">\r\n    <modelVersion>4.0.0</modelVersion>\r\n\r\n    <groupId>de.itm.test</groupId>\r\n    <artifactId>kompse</artifactId>\r\n    <version>1.0-SNAPSHOT</version>\r\n\r\n\r\n    <build>\r\n        <plugins>\r\n            <plugin>\r\n                <groupId>io.fabric8</groupId>\r\n                <artifactId>fabric8-maven-plugin</artifactId>\r\n                <version>3.5.41</version>\r\n                \r\n                <configuration>\r\n                    <mode>kubernetes</mode>\r\n                    <composeFile>docker-compose.yaml</composeFile>\r\n                </configuration>\r\n\r\n                <executions>\r\n                    <execution>\r\n                        <goals>\r\n                            <goal>resource</goal>\r\n                            <goal>build</goal>\r\n                        </goals>\r\n                    </execution>\r\n                </executions>\r\n            </plugin>\r\n        </plugins>\r\n    </build>\r\n</project>\r\n```\r\n\r\n### Description\r\nOn maven goal fabric8:ressource the validation failed with stacktrace. I can' skip the validation with parameter fabric8.skipResourceValidation.\r\n\r\n* What is the reason for the failed validation?\r\n* Why the skipValidation is ignored?\r\n\r\n### Info\r\n\r\n* Maven version (`mvn -v`) : 3.3.9\r\n* Kubernetes / OpenShift setup and version :\r\n```\r\nkubectl version\r\nClient Version: version.Info{Major:\"1\", Minor:\"10\", GitVersion:\"v1.10.3\", GitCommit:\"2bba0127d85d5a46ab4b778548be28623b32d0b0\", GitTreeState:\"clean\", BuildDate:\"2018-05-21T09:17:39Z\", GoVersion:\"go1.9.3\", Compiler:\"gc\", Platform:\"darwin/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"10\", GitVersion:\"v1.10.3\", GitCommit:\"2bba0127d85d5a46ab4b778548be28623b32d0b0\", GitTreeState:\"clean\", BuildDate:\"2018-05-21T09:05:37Z\", GoVersion:\"go1.9.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n```\r\n\r\n```\r\nINFO] Scanning for projects...\r\n[INFO]                                                                         \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building kompse 1.0-SNAPSHOT\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] \r\n[INFO] --- fabric8-maven-plugin:3.5.41:resource (default-cli) @ kompse ---\r\n[INFO] F8: Running in Kubernetes mode\r\n[INFO] F8: converting docker compose file /Users/tobiasrath/Documents/workspaces/temp/kompose/docker-compose.yaml to kubernetes resource descriptors\r\n[INFO] F8: conversion completed successfully : 7 resource descriptors generated\r\n[INFO] F8: using resource templates generated from compose file\r\nTrying internal type for name:Deployment\r\nTrying internal type for name:Service\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 2.688 s\r\n[INFO] Finished at: 2018-10-09T07:46:06+02:00\r\n[INFO] Final Memory: 28M/387M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.5.41:resource (default-cli) on project kompse: Execution default-cli of goal io.fabric8:fabric8-maven-plugin:3.5.41:resource failed: Unknown type 'persistentvolumeclaim' for file logfile-persistentvolumeclaim.yaml. Must be one of : template, rs, bc, pr, role, rbr, ns, oauthclient, lr, pv, project, resourcequota, secret, istag, cronjob, sa, ds, crb, crd, clusterrb, deploymentconfig, configmap, statefulset, pvc, deployment, limitrange, svc, rolebindingrestriction, cj, cm, is, daemonset, cr, rb, crole, rc, pb, clusterrole, route, service, namespace, job, rolebinding, rq, dc -> [Help 1]\r\n[ERROR] \r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR] \r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException\r\n\r\nProcess finished with exit code 1\r\n```\r\n"}}
{"actor":{"display_login":"TobiasRath"}}