@@ -24,14 +24,6 @@ import (
2424 "github.com/sirupsen/logrus"
2525)
2626
27- var warnBaseIsExperimental = sync .OnceFunc (func () {
28- logrus .Warn ("`base` is experimental" )
29- })
30-
31- var warnFileIsExperimental = sync .OnceFunc (func () {
32- logrus .Warn ("`provision[*].file` and `probes[*].file` are experimental" )
33- })
34-
3527// Embed will recursively resolve all "base" dependencies and update the
3628// template with the merged result. It also inlines all external provisioning
3729// and probe scripts.
@@ -114,7 +106,6 @@ func (tmpl *Template) embedAllBases(ctx context.Context, embedAll, defaultBase b
114106}
115107
116108func (tmpl * Template ) embedBase (ctx context.Context , baseLocator limayaml.LocatorWithDigest , embedAll bool , seen map [string ]bool ) error {
117- warnBaseIsExperimental ()
118109 logrus .Debugf ("Embedding base %q in template %q" , baseLocator .URL , tmpl .Locator )
119110 if err := tmpl .Unmarshal (); err != nil {
120111 return err
@@ -632,7 +623,6 @@ func (tmpl *Template) embedAllScripts(ctx context.Context, embedAll bool) error
632623 if p .File == nil {
633624 continue
634625 }
635- warnFileIsExperimental ()
636626 // Don't overwrite existing script. This should throw an error during validation.
637627 if p .Script != "" {
638628 continue
@@ -650,7 +640,6 @@ func (tmpl *Template) embedAllScripts(ctx context.Context, embedAll bool) error
650640 if p .File == nil {
651641 continue
652642 }
653- warnFileIsExperimental ()
654643 newName := "script"
655644 switch p .Mode {
656645 case limayaml .ProvisionModeData :
0 commit comments