renamed pod to application in the templates directory.
This commit is contained in:
parent
c696c24e31
commit
b41c92112e
@ -120,11 +120,11 @@ func (t *PolicyTemplates) NamespaceTemplates(policyType string, capabilities []s
|
||||
}
|
||||
|
||||
func (t *PolicyTemplates) ApplicationTemplate(policyType string) *template.Template {
|
||||
tmpl := t.templates.Lookup(fmt.Sprintf("templates/%s/pod/pod.yaml", policyType))
|
||||
tmpl := t.templates.Lookup(fmt.Sprintf("templates/%s/application/pod.yaml", policyType))
|
||||
return tmpl
|
||||
}
|
||||
|
||||
func (t *PolicyTemplates) PredefineApplicationPolicyTemplate(policyType string, predefined string) *template.Template {
|
||||
tmpl := t.templates.Lookup(fmt.Sprintf("templates/%s/pod/%s.yaml", policyType, predefined))
|
||||
tmpl := t.templates.Lookup(fmt.Sprintf("templates/%s/application/%s.yaml", policyType, predefined))
|
||||
return tmpl
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user