Skip to content

Commit

Permalink
Fix java template
Browse files Browse the repository at this point in the history
Java template require maven-settings workspace
in order to run maven task

Signed-off-by: Savita Ashture <[email protected]>
  • Loading branch information
savitaashture authored and chmouel committed Sep 21, 2023
1 parent 1da7790 commit 31d1b65
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/cmd/tknpac/generate/templates/java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ spec:
workspaces:
- name: source
- name: basic-auth
- name: maven-settings
tasks:
- name: fetch-repository
taskRef:
Expand All @@ -67,7 +68,11 @@ spec:
workspaces:
- name: source
workspace: source
- name: maven-settings
workspace: maven-settings
workspaces:
- name: maven-settings
emptyDir: {}
- name: source
volumeClaimTemplate:
spec:
Expand Down

0 comments on commit 31d1b65

Please sign in to comment.