code: func NewStrategy(pspAnnotations map[string]string) Strategy {
  	var allowedProfiles map[string]bool
  	allowAnyProfile := false
  	if allowed, ok := pspAnnotations[AllowedProfilesAnnotationKey]; ok {
  		profiles := strings.Split(allowed, ",")
  		allowedProfiles = make(map[string]bool, len(profiles))
  		for _, p := range profiles {
  			if p == AllowAny {
  				allowAnyProfile = true
  				continue
  			}
  			allowedProfiles[p] = true
  		}
  	}
  	return &strategy{
  		defaultProfile:        pspAnnotations[DefaultProfileAnnotationKey],
  		allowedProfiles:       allowedProfiles,
  		allowedProfilesString: pspAnnotations[AllowedProfilesAnnotationKey],
  		allowAnyProfile:       allowAnyProfile,
  	}
  }
docs: // NewStrategy creates a new strategy that enforces seccomp profile constraints.