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.

49 lines 2.18 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.nginxIngressConfigArgsProvideDefaults = exports.ingressConfigArgsProvideDefaults = exports.disruptionConfigArgsProvideDefaults = void 0; /** * disruptionConfigArgsProvideDefaults sets the appropriate defaults for DisruptionConfigArgs */ function disruptionConfigArgsProvideDefaults(val) { return { ...val, consolidateAfter: (val.consolidateAfter) ?? "10m", consolidationPolicy: (val.consolidationPolicy) ?? "WhenEmpty", }; } exports.disruptionConfigArgsProvideDefaults = disruptionConfigArgsProvideDefaults; /** * ingressConfigArgsProvideDefaults sets the appropriate defaults for IngressConfigArgs */ function ingressConfigArgsProvideDefaults(val) { return { ...val, allowSnippetAnnotations: (val.allowSnippetAnnotations) ?? false, controllerReplicas: (val.controllerReplicas) ?? 1, enableExternal: (val.enableExternal) ?? true, enableInternal: (val.enableInternal) ?? true, enableMetrics: (val.enableMetrics) ?? false, enableServiceMonitor: (val.enableServiceMonitor) ?? false, nlbTargetType: (val.nlbTargetType) ?? "ip", }; } exports.ingressConfigArgsProvideDefaults = ingressConfigArgsProvideDefaults; /** * nginxIngressConfigArgsProvideDefaults sets the appropriate defaults for NginxIngressConfigArgs */ function nginxIngressConfigArgsProvideDefaults(val) { return { ...val, allowSnippetAnnotations: (val.allowSnippetAnnotations) ?? false, controllerReplicas: (val.controllerReplicas) ?? 1, enableExternal: (val.enableExternal) ?? true, enableInternal: (val.enableInternal) ?? true, enableMetrics: (val.enableMetrics) ?? false, enableServiceMonitor: (val.enableServiceMonitor) ?? false, nlbTargetType: (val.nlbTargetType) ?? "ip", }; } exports.nginxIngressConfigArgsProvideDefaults = nginxIngressConfigArgsProvideDefaults; //# sourceMappingURL=input.js.map