import YAML from 'yaml';

const generateYAMLCode = (yamlCodeData) => {
  const yamlCode = {
    limits: {
      cpu: yamlCodeData.limits.cpu,
      memory: yamlCodeData.limits.memory
    },
    requests: {
      cpu: yamlCodeData.requests.cpu,
      memory: yamlCodeData.requests.memory
    }
  };
  const yamlCodeString = YAML.stringify(yamlCode).replace(/"/g, "");
  return yamlCodeString;
};

export { generateYAMLCode };
//# sourceMappingURL=generateYAMLCode.esm.js.map
