dekorateio / dekorate

Tools for generating Kubernetes related manifests.
Apache License 2.0
471 stars 101 forks source link

Dekorate option output-path doesn't generate the files in the desired location #1244

Closed ammbra closed 11 months ago

ammbra commented 11 months ago

Hello everyone,

I recently tried running Dekorate over a maven project having the option -Ddekorate.output-path=/Users/ammbra/crafty-goblin/k8s directory. The files were not generated in the expected directory.

The generator.yml looks like this:


project: root: file:///Users/ammbra/crafty-goblin dekorateInputDir: null dekorateOutputDir: META-INF/dekorate dekorateMetaDir: ../.dekorate buildInfo: name: task-pal version: 1.0-SNAPSHOT packaging: jar buildTool: maven buildToolVersion: 3.9.1 outputFile: file:/Users/ammbra/crafty-goblin/target/task-pal-1.0-SNAPSHOT.jar classOutputDir: file:/Users/ammbra/crafty-goblin/target/classes/ resourceDir: file:///Users/ammbra/crafty-goblin/target/classes/ scmInfo: null inputPath: "" outputPath: /Users/ammbra/crafty-goblin/k8s verbose: false propertiesProfile: "" build: false push: false deploy: false

ammbra commented 11 months ago

Nvm me :) I understood how I can point to the right folder... Above configuration creates the files under target :D