UNPKG

@lbrlabs/pulumi-eks

Version:

This repo provides a [multi-language](https://www.pulumi.com/blog/pulumiup-pulumi-packages-multi-language-components/) component that creates a "batteries included" cluster ready for you to attach your EKS nodes to.

22 lines 1.61 kB
"use strict"; // *** WARNING: this file was generated by Pulumi SDK Generator. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.ingressConfigArgsProvideDefaults = exports.disruptionConfigArgsProvideDefaults = void 0; /** * disruptionConfigArgsProvideDefaults sets the appropriate defaults for DisruptionConfigArgs */ function disruptionConfigArgsProvideDefaults(val) { var _a, _b; return Object.assign(Object.assign({}, val), { consolidateAfter: (_a = (val.consolidateAfter)) !== null && _a !== void 0 ? _a : "10m", consolidationPolicy: (_b = (val.consolidationPolicy)) !== null && _b !== void 0 ? _b : "WhenEmpty" }); } exports.disruptionConfigArgsProvideDefaults = disruptionConfigArgsProvideDefaults; /** * ingressConfigArgsProvideDefaults sets the appropriate defaults for IngressConfigArgs */ function ingressConfigArgsProvideDefaults(val) { var _a, _b, _c, _d, _e; return Object.assign(Object.assign({}, val), { allowSnippetAnnotations: (_a = (val.allowSnippetAnnotations)) !== null && _a !== void 0 ? _a : false, controllerReplicas: (_b = (val.controllerReplicas)) !== null && _b !== void 0 ? _b : 1, enableMetrics: (_c = (val.enableMetrics)) !== null && _c !== void 0 ? _c : false, enableServiceMonitor: (_d = (val.enableServiceMonitor)) !== null && _d !== void 0 ? _d : false, nlbTargetType: (_e = (val.nlbTargetType)) !== null && _e !== void 0 ? _e : "ip" }); } exports.ingressConfigArgsProvideDefaults = ingressConfigArgsProvideDefaults; //# sourceMappingURL=input.js.map