Skip to content

Commit

Permalink
Added new AppDir at a couple of places
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzduchardt committed Oct 1, 2023
1 parent 1692ece commit 4bbc051
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/myks/plugin_argocd.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (a *Application) renderArgoCD() (err error) {
// 4. Collection of environment argocd-specific data values and schemas, and overlays
yttFiles = append(yttFiles, a.e.collectBySubpath(filepath.Join("_env", a.e.g.ArgoCDDataDirName))...)
// 5. Collection of application argocd-specific data values and schemas, and overlays
yttFiles = append(yttFiles, a.e.collectBySubpath(filepath.Join("_apps", a.Name, a.e.g.ArgoCDDataDirName))...)
yttFiles = append(yttFiles, a.e.collectBySubpath(filepath.Join(a.e.g.AppsDir, a.Name, a.e.g.ArgoCDDataDirName))...)

res, err := a.yttS(
"argocd",
Expand Down
4 changes: 2 additions & 2 deletions internal/myks/smart_mode.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ func (g *Globe) runSmartMode(changedFiles ChangedFiles) EnvAppMap {
},
// Env path and app name are the submatches
"app": {
e("(" + g.EnvironmentBaseDir + ".*)/_apps/([^/]+)/" + pluginsPattern + "/.*"),
e("(" + g.EnvironmentBaseDir + ".*)/_apps/([^/]+)/" + g.ApplicationDataFileName),
e("(" + g.EnvironmentBaseDir + ".*)/" + g.AppsDir + "/([^/]+)/" + pluginsPattern + "/.*"),
e("(" + g.EnvironmentBaseDir + ".*)/" + g.AppsDir + "/([^/]+)/" + g.ApplicationDataFileName),
},
}

Expand Down

0 comments on commit 4bbc051

Please sign in to comment.