mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
fix(gitapp): set manifest in git settings [EE-4734] (#8190)
This commit is contained in:
parent
0ddcad66f3
commit
ac6f52ab76
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ func (b *GitMethodStackBuilder) SetGitRepository(payload *StackPayload) GitMetho
|
||||||
if payload.ComposeFile == "" {
|
if payload.ComposeFile == "" {
|
||||||
repoConfig.ConfigFilePath = filesystem.ComposeFileDefaultName
|
repoConfig.ConfigFilePath = filesystem.ComposeFileDefaultName
|
||||||
}
|
}
|
||||||
|
// If a manifest file is specified (for kube git apps), then use it instead of the default compose file name
|
||||||
|
if payload.ManifestFile != "" {
|
||||||
|
repoConfig.ConfigFilePath = payload.ManifestFile
|
||||||
|
}
|
||||||
|
|
||||||
stackFolder := strconv.Itoa(int(b.stack.ID))
|
stackFolder := strconv.Itoa(int(b.stack.ID))
|
||||||
// Set the project path on the disk
|
// Set the project path on the disk
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue