@kilic.dev/pulumi-k8s-crds 2.0.9 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gateway/v1/index.d.ts +9 -0
- package/dist/gateway/v1/index.js +13 -1
- package/dist/gateway/v1/listenerSet.d.ts +91 -0
- package/dist/gateway/v1/listenerSet.js +123 -0
- package/dist/gateway/v1/listenerSetList.d.ts +69 -0
- package/dist/gateway/v1/listenerSetList.js +97 -0
- package/dist/gateway/v1/listenerSetPatch.d.ts +97 -0
- package/dist/gateway/v1/listenerSetPatch.js +129 -0
- package/dist/types/input.d.ts +10236 -2165
- package/dist/types/output.d.ts +10661 -2293
- package/package.json +5 -5
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.ListenerSetPatch = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
43
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
44
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
45
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
46
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
47
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
48
|
+
* ListenerSet defines a set of additional listeners to attach to an existing Gateway.
|
|
49
|
+
* This resource provides a mechanism to merge multiple listeners into a single Gateway.
|
|
50
|
+
*
|
|
51
|
+
* The parent Gateway must explicitly allow ListenerSet attachment through its
|
|
52
|
+
* AllowedListeners configuration. By default, Gateways do not allow ListenerSet
|
|
53
|
+
* attachment.
|
|
54
|
+
*
|
|
55
|
+
* Routes can attach to a ListenerSet by specifying it as a parentRef, and can
|
|
56
|
+
* optionally target specific listeners using the sectionName field.
|
|
57
|
+
*
|
|
58
|
+
* Policy Attachment:
|
|
59
|
+
* - Policies that attach to a ListenerSet apply to all listeners defined in that resource
|
|
60
|
+
* - Policies do not impact listeners in the parent Gateway
|
|
61
|
+
* - Different ListenerSets attached to the same Gateway can have different policies
|
|
62
|
+
* - If an implementation cannot apply a policy to specific listeners, it should reject the policy
|
|
63
|
+
*
|
|
64
|
+
* ReferenceGrant Semantics:
|
|
65
|
+
* - ReferenceGrants applied to a Gateway are not inherited by child ListenerSets
|
|
66
|
+
* - ReferenceGrants applied to a ListenerSet do not grant permission to the parent Gateway's listeners
|
|
67
|
+
* - A ListenerSet can reference secrets/backends in its own namespace without a ReferenceGrant
|
|
68
|
+
*
|
|
69
|
+
* Gateway Integration:
|
|
70
|
+
* - The parent Gateway's status will include "AttachedListenerSets"
|
|
71
|
+
* which is the count of ListenerSets that have successfully attached to a Gateway
|
|
72
|
+
* A ListenerSet is successfully attached to a Gateway when all the following conditions are met:
|
|
73
|
+
* - The ListenerSet is selected by the Gateway's AllowedListeners field
|
|
74
|
+
* - The ListenerSet has a valid ParentRef selecting the Gateway
|
|
75
|
+
* - The ListenerSet's status has the condition "Accepted: true"
|
|
76
|
+
*/
|
|
77
|
+
class ListenerSetPatch extends pulumi.CustomResource {
|
|
78
|
+
/**
|
|
79
|
+
* Get an existing ListenerSetPatch resource's state with the given name, ID, and optional extra
|
|
80
|
+
* properties used to qualify the lookup.
|
|
81
|
+
*
|
|
82
|
+
* @param name The _unique_ name of the resulting resource.
|
|
83
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
84
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
85
|
+
*/
|
|
86
|
+
static get(name, id, opts) {
|
|
87
|
+
return new ListenerSetPatch(name, undefined, { ...opts, id: id });
|
|
88
|
+
}
|
|
89
|
+
/** @internal */
|
|
90
|
+
static __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:ListenerSetPatch';
|
|
91
|
+
/**
|
|
92
|
+
* Returns true if the given object is an instance of ListenerSetPatch. This is designed to work even
|
|
93
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
94
|
+
*/
|
|
95
|
+
static isInstance(obj) {
|
|
96
|
+
if (obj === undefined || obj === null) {
|
|
97
|
+
return false;
|
|
98
|
+
}
|
|
99
|
+
return obj['__pulumiType'] === ListenerSetPatch.__pulumiType;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Create a ListenerSetPatch resource with the given unique name, arguments, and options.
|
|
103
|
+
*
|
|
104
|
+
* @param name The _unique_ name of the resource.
|
|
105
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
106
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
107
|
+
*/
|
|
108
|
+
constructor(name, args, opts) {
|
|
109
|
+
let resourceInputs = {};
|
|
110
|
+
opts = opts || {};
|
|
111
|
+
if (!opts.id) {
|
|
112
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
|
113
|
+
resourceInputs["kind"] = "ListenerSet";
|
|
114
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
115
|
+
resourceInputs["spec"] = args?.spec;
|
|
116
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
120
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
121
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
123
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
124
|
+
}
|
|
125
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
126
|
+
super(ListenerSetPatch.__pulumiType, name, resourceInputs, opts);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
exports.ListenerSetPatch = ListenerSetPatch;
|