We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d358d2 + cb07dc2 commit c7f7aa6Copy full SHA for c7f7aa6
pkg/controller/installation/products/monitoring/templateHelper.go
@@ -36,7 +36,10 @@ func NewTemplateHelper(extraParams map[string]string) *TemplateHelper {
36
if _, err := os.Stat(templatePath); os.IsNotExist(err) {
37
templatePath = "../../../../../templates/monitoring"
38
39
- panic("cannot find templates")
+ templatePath = "/usr/local/bin/templates/monitoring"
40
+ if _, err := os.Stat(templatePath); os.IsNotExist(err) {
41
+ panic("cannot find templates")
42
+ }
43
}
44
45
0 commit comments