@mcpg-dev/pulumi-crds 0.1.0-beta.8

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.
Files changed (171) hide show
  1. package/.gitattributes +1 -0
  2. package/.github/ISSUE_TEMPLATE/config.yml +8 -0
  3. package/.github/workflows/ci.yml +29 -0
  4. package/.github/workflows/release.yml +18 -0
  5. package/CONTRIBUTING.md +24 -0
  6. package/README.md +63 -0
  7. package/bin/index.d.ts +7 -0
  8. package/bin/index.d.ts.map +1 -0
  9. package/bin/index.js +47 -0
  10. package/bin/index.js.map +1 -0
  11. package/bin/mcpg/index.d.ts +3 -0
  12. package/bin/mcpg/index.d.ts.map +1 -0
  13. package/bin/mcpg/index.js +32 -0
  14. package/bin/mcpg/index.js.map +1 -0
  15. package/bin/mcpg/v1alpha1/index.d.ts +73 -0
  16. package/bin/mcpg/v1alpha1/index.d.ts.map +1 -0
  17. package/bin/mcpg/v1alpha1/index.js +137 -0
  18. package/bin/mcpg/v1alpha1/index.js.map +1 -0
  19. package/bin/mcpg/v1alpha1/mcpgcluster.d.ts +63 -0
  20. package/bin/mcpg/v1alpha1/mcpgcluster.d.ts.map +1 -0
  21. package/bin/mcpg/v1alpha1/mcpgcluster.js +87 -0
  22. package/bin/mcpg/v1alpha1/mcpgcluster.js.map +1 -0
  23. package/bin/mcpg/v1alpha1/mcpgclusterList.d.ts +68 -0
  24. package/bin/mcpg/v1alpha1/mcpgclusterList.d.ts.map +1 -0
  25. package/bin/mcpg/v1alpha1/mcpgclusterList.js +88 -0
  26. package/bin/mcpg/v1alpha1/mcpgclusterList.js.map +1 -0
  27. package/bin/mcpg/v1alpha1/mcpgclusterPatch.d.ts +69 -0
  28. package/bin/mcpg/v1alpha1/mcpgclusterPatch.d.ts.map +1 -0
  29. package/bin/mcpg/v1alpha1/mcpgclusterPatch.js +93 -0
  30. package/bin/mcpg/v1alpha1/mcpgclusterPatch.js.map +1 -0
  31. package/bin/mcpg/v1alpha1/mcpggateway.d.ts +63 -0
  32. package/bin/mcpg/v1alpha1/mcpggateway.d.ts.map +1 -0
  33. package/bin/mcpg/v1alpha1/mcpggateway.js +87 -0
  34. package/bin/mcpg/v1alpha1/mcpggateway.js.map +1 -0
  35. package/bin/mcpg/v1alpha1/mcpggatewayList.d.ts +68 -0
  36. package/bin/mcpg/v1alpha1/mcpggatewayList.d.ts.map +1 -0
  37. package/bin/mcpg/v1alpha1/mcpggatewayList.js +88 -0
  38. package/bin/mcpg/v1alpha1/mcpggatewayList.js.map +1 -0
  39. package/bin/mcpg/v1alpha1/mcpggatewayPatch.d.ts +69 -0
  40. package/bin/mcpg/v1alpha1/mcpggatewayPatch.d.ts.map +1 -0
  41. package/bin/mcpg/v1alpha1/mcpggatewayPatch.js +93 -0
  42. package/bin/mcpg/v1alpha1/mcpggatewayPatch.js.map +1 -0
  43. package/bin/mcpg/v1alpha1/mcpgplugin.d.ts +63 -0
  44. package/bin/mcpg/v1alpha1/mcpgplugin.d.ts.map +1 -0
  45. package/bin/mcpg/v1alpha1/mcpgplugin.js +87 -0
  46. package/bin/mcpg/v1alpha1/mcpgplugin.js.map +1 -0
  47. package/bin/mcpg/v1alpha1/mcpgpluginList.d.ts +68 -0
  48. package/bin/mcpg/v1alpha1/mcpgpluginList.d.ts.map +1 -0
  49. package/bin/mcpg/v1alpha1/mcpgpluginList.js +88 -0
  50. package/bin/mcpg/v1alpha1/mcpgpluginList.js.map +1 -0
  51. package/bin/mcpg/v1alpha1/mcpgpluginMirror.d.ts +63 -0
  52. package/bin/mcpg/v1alpha1/mcpgpluginMirror.d.ts.map +1 -0
  53. package/bin/mcpg/v1alpha1/mcpgpluginMirror.js +87 -0
  54. package/bin/mcpg/v1alpha1/mcpgpluginMirror.js.map +1 -0
  55. package/bin/mcpg/v1alpha1/mcpgpluginMirrorList.d.ts +68 -0
  56. package/bin/mcpg/v1alpha1/mcpgpluginMirrorList.d.ts.map +1 -0
  57. package/bin/mcpg/v1alpha1/mcpgpluginMirrorList.js +88 -0
  58. package/bin/mcpg/v1alpha1/mcpgpluginMirrorList.js.map +1 -0
  59. package/bin/mcpg/v1alpha1/mcpgpluginMirrorPatch.d.ts +69 -0
  60. package/bin/mcpg/v1alpha1/mcpgpluginMirrorPatch.d.ts.map +1 -0
  61. package/bin/mcpg/v1alpha1/mcpgpluginMirrorPatch.js +93 -0
  62. package/bin/mcpg/v1alpha1/mcpgpluginMirrorPatch.js.map +1 -0
  63. package/bin/mcpg/v1alpha1/mcpgpluginPatch.d.ts +69 -0
  64. package/bin/mcpg/v1alpha1/mcpgpluginPatch.d.ts.map +1 -0
  65. package/bin/mcpg/v1alpha1/mcpgpluginPatch.js +93 -0
  66. package/bin/mcpg/v1alpha1/mcpgpluginPatch.js.map +1 -0
  67. package/bin/mcpg/v1alpha1/mcpgpluginSet.d.ts +63 -0
  68. package/bin/mcpg/v1alpha1/mcpgpluginSet.d.ts.map +1 -0
  69. package/bin/mcpg/v1alpha1/mcpgpluginSet.js +87 -0
  70. package/bin/mcpg/v1alpha1/mcpgpluginSet.js.map +1 -0
  71. package/bin/mcpg/v1alpha1/mcpgpluginSetList.d.ts +68 -0
  72. package/bin/mcpg/v1alpha1/mcpgpluginSetList.d.ts.map +1 -0
  73. package/bin/mcpg/v1alpha1/mcpgpluginSetList.js +88 -0
  74. package/bin/mcpg/v1alpha1/mcpgpluginSetList.js.map +1 -0
  75. package/bin/mcpg/v1alpha1/mcpgpluginSetPatch.d.ts +69 -0
  76. package/bin/mcpg/v1alpha1/mcpgpluginSetPatch.d.ts.map +1 -0
  77. package/bin/mcpg/v1alpha1/mcpgpluginSetPatch.js +93 -0
  78. package/bin/mcpg/v1alpha1/mcpgpluginSetPatch.js.map +1 -0
  79. package/bin/mcpg/v1alpha1/mcpgrevocationList.d.ts +63 -0
  80. package/bin/mcpg/v1alpha1/mcpgrevocationList.d.ts.map +1 -0
  81. package/bin/mcpg/v1alpha1/mcpgrevocationList.js +87 -0
  82. package/bin/mcpg/v1alpha1/mcpgrevocationList.js.map +1 -0
  83. package/bin/mcpg/v1alpha1/mcpgrevocationListList.d.ts +68 -0
  84. package/bin/mcpg/v1alpha1/mcpgrevocationListList.d.ts.map +1 -0
  85. package/bin/mcpg/v1alpha1/mcpgrevocationListList.js +88 -0
  86. package/bin/mcpg/v1alpha1/mcpgrevocationListList.js.map +1 -0
  87. package/bin/mcpg/v1alpha1/mcpgrevocationListPatch.d.ts +69 -0
  88. package/bin/mcpg/v1alpha1/mcpgrevocationListPatch.d.ts.map +1 -0
  89. package/bin/mcpg/v1alpha1/mcpgrevocationListPatch.js +93 -0
  90. package/bin/mcpg/v1alpha1/mcpgrevocationListPatch.js.map +1 -0
  91. package/bin/mcpg/v1alpha1/mcpgroute.d.ts +63 -0
  92. package/bin/mcpg/v1alpha1/mcpgroute.d.ts.map +1 -0
  93. package/bin/mcpg/v1alpha1/mcpgroute.js +87 -0
  94. package/bin/mcpg/v1alpha1/mcpgroute.js.map +1 -0
  95. package/bin/mcpg/v1alpha1/mcpgrouteList.d.ts +68 -0
  96. package/bin/mcpg/v1alpha1/mcpgrouteList.d.ts.map +1 -0
  97. package/bin/mcpg/v1alpha1/mcpgrouteList.js +88 -0
  98. package/bin/mcpg/v1alpha1/mcpgrouteList.js.map +1 -0
  99. package/bin/mcpg/v1alpha1/mcpgroutePatch.d.ts +69 -0
  100. package/bin/mcpg/v1alpha1/mcpgroutePatch.d.ts.map +1 -0
  101. package/bin/mcpg/v1alpha1/mcpgroutePatch.js +93 -0
  102. package/bin/mcpg/v1alpha1/mcpgroutePatch.js.map +1 -0
  103. package/bin/mcpg/v1alpha1/mcpgtenant.d.ts +63 -0
  104. package/bin/mcpg/v1alpha1/mcpgtenant.d.ts.map +1 -0
  105. package/bin/mcpg/v1alpha1/mcpgtenant.js +87 -0
  106. package/bin/mcpg/v1alpha1/mcpgtenant.js.map +1 -0
  107. package/bin/mcpg/v1alpha1/mcpgtenantList.d.ts +68 -0
  108. package/bin/mcpg/v1alpha1/mcpgtenantList.d.ts.map +1 -0
  109. package/bin/mcpg/v1alpha1/mcpgtenantList.js +88 -0
  110. package/bin/mcpg/v1alpha1/mcpgtenantList.js.map +1 -0
  111. package/bin/mcpg/v1alpha1/mcpgtenantPatch.d.ts +69 -0
  112. package/bin/mcpg/v1alpha1/mcpgtenantPatch.d.ts.map +1 -0
  113. package/bin/mcpg/v1alpha1/mcpgtenantPatch.js +93 -0
  114. package/bin/mcpg/v1alpha1/mcpgtenantPatch.js.map +1 -0
  115. package/bin/package.json +36 -0
  116. package/bin/provider.d.ts +22 -0
  117. package/bin/provider.d.ts.map +1 -0
  118. package/bin/provider.js +61 -0
  119. package/bin/provider.js.map +1 -0
  120. package/bin/types/index.d.ts +4 -0
  121. package/bin/types/index.d.ts.map +1 -0
  122. package/bin/types/index.js +34 -0
  123. package/bin/types/index.js.map +1 -0
  124. package/bin/types/input.d.ts +2965 -0
  125. package/bin/types/input.d.ts.map +1 -0
  126. package/bin/types/input.js +5 -0
  127. package/bin/types/input.js.map +1 -0
  128. package/bin/types/output.d.ts +3538 -0
  129. package/bin/types/output.d.ts.map +1 -0
  130. package/bin/types/output.js +5 -0
  131. package/bin/types/output.js.map +1 -0
  132. package/bin/utilities.d.ts +5 -0
  133. package/bin/utilities.d.ts.map +1 -0
  134. package/bin/utilities.js +115 -0
  135. package/bin/utilities.js.map +1 -0
  136. package/index.ts +30 -0
  137. package/mcpg/index.ts +11 -0
  138. package/mcpg/v1alpha1/index.ts +186 -0
  139. package/mcpg/v1alpha1/mcpgcluster.ts +99 -0
  140. package/mcpg/v1alpha1/mcpgclusterList.ts +105 -0
  141. package/mcpg/v1alpha1/mcpgclusterPatch.ts +105 -0
  142. package/mcpg/v1alpha1/mcpggateway.ts +99 -0
  143. package/mcpg/v1alpha1/mcpggatewayList.ts +105 -0
  144. package/mcpg/v1alpha1/mcpggatewayPatch.ts +105 -0
  145. package/mcpg/v1alpha1/mcpgplugin.ts +99 -0
  146. package/mcpg/v1alpha1/mcpgpluginList.ts +105 -0
  147. package/mcpg/v1alpha1/mcpgpluginMirror.ts +99 -0
  148. package/mcpg/v1alpha1/mcpgpluginMirrorList.ts +105 -0
  149. package/mcpg/v1alpha1/mcpgpluginMirrorPatch.ts +105 -0
  150. package/mcpg/v1alpha1/mcpgpluginPatch.ts +105 -0
  151. package/mcpg/v1alpha1/mcpgpluginSet.ts +99 -0
  152. package/mcpg/v1alpha1/mcpgpluginSetList.ts +105 -0
  153. package/mcpg/v1alpha1/mcpgpluginSetPatch.ts +105 -0
  154. package/mcpg/v1alpha1/mcpgrevocationList.ts +99 -0
  155. package/mcpg/v1alpha1/mcpgrevocationListList.ts +105 -0
  156. package/mcpg/v1alpha1/mcpgrevocationListPatch.ts +105 -0
  157. package/mcpg/v1alpha1/mcpgroute.ts +99 -0
  158. package/mcpg/v1alpha1/mcpgrouteList.ts +105 -0
  159. package/mcpg/v1alpha1/mcpgroutePatch.ts +105 -0
  160. package/mcpg/v1alpha1/mcpgtenant.ts +99 -0
  161. package/mcpg/v1alpha1/mcpgtenantList.ts +105 -0
  162. package/mcpg/v1alpha1/mcpgtenantPatch.ts +105 -0
  163. package/meta/v1.ts +4 -0
  164. package/package.json +36 -0
  165. package/provider.ts +44 -0
  166. package/scripts/postinstall.js +20 -0
  167. package/tsconfig.json +55 -0
  168. package/types/index.ts +13 -0
  169. package/types/input.ts +3030 -0
  170. package/types/output.ts +3622 -0
  171. package/utilities.ts +98 -0
package/types/input.ts ADDED
@@ -0,0 +1,3030 @@
1
+ // *** WARNING: this file was generated by crd2pulumi. ***
2
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
3
+
4
+ import * as pulumi from "@pulumi/pulumi";
5
+ import * as inputs from "../types/input";
6
+ import * as outputs from "../types/output";
7
+
8
+ export namespace mcpg {
9
+ export namespace v1alpha1 {
10
+ /**
11
+ * Auto-generated derived type for MCPGClusterSpec via `CustomResource`
12
+ */
13
+ export interface MCPGCluster {
14
+ /**
15
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
16
+ */
17
+ apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
18
+ /**
19
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
20
+ */
21
+ kind?: pulumi.Input<"MCPGCluster" | undefined>;
22
+ /**
23
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
24
+ */
25
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta | undefined>;
26
+ spec?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGClusterSpec | undefined>;
27
+ status?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGClusterStatus | undefined>;
28
+ }
29
+
30
+ /**
31
+ * Cluster-coordination backend binding.
32
+ * Cluster-scoped coordination-backend binding. Gateways reference
33
+ * it via `spec.clusterRef`; the operator injects the rendered
34
+ * `cluster:` config block (and the matching cluster cdylib entry)
35
+ * into each bound gateway's config.
36
+ */
37
+ export interface MCPGClusterSpec {
38
+ /**
39
+ * Which coordination backend this cluster provides.
40
+ */
41
+ backend?: pulumi.Input<string | undefined>;
42
+ /**
43
+ * Per-backend configuration, rendered verbatim into the
44
+ * gateway's `cluster:` block alongside `kind:` (the gateway
45
+ * flattens these — e.g. `url`, `key_prefix` for redis;
46
+ * `servers`, `bucket` for nats). Schema-blind: the gateway's
47
+ * own validator is the source of truth. Ignored for
48
+ * `single_node`.
49
+ */
50
+ config?: pulumi.Input<{[key: string]: any} | undefined>;
51
+ /**
52
+ * Optional secret references whose keys are surfaced to the
53
+ * gateway as `${cluster.<key>}` config-substitution values —
54
+ * e.g. a Redis password or NATS credentials file. The operator
55
+ * projects these into the gateway pod the same way plugin
56
+ * Secrets are projected; the gateway resolves the `cred://`
57
+ * reference at config-load time. Keeps backend credentials out
58
+ * of the (world-readable) `MCPGCluster` spec.
59
+ */
60
+ credentialRefs?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGClusterSpecCredentialRefs>[] | undefined>;
61
+ pluginRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGClusterSpecPluginRef | undefined>;
62
+ }
63
+
64
+ /**
65
+ * A backend credential projected into bound gateway pods. The
66
+ * `secretName` lives in the operator's namespace (same trust
67
+ * boundary as plugin signing keys); `key` selects the entry.
68
+ */
69
+ export interface MCPGClusterSpecCredentialRefs {
70
+ /**
71
+ * Key within the Secret. Defaults to `name`.
72
+ */
73
+ key?: pulumi.Input<string | undefined>;
74
+ /**
75
+ * Logical name the gateway config references (e.g. `password`).
76
+ * Surfaced as `cred://cluster/<name>` to the gateway.
77
+ */
78
+ name?: pulumi.Input<string | undefined>;
79
+ /**
80
+ * Secret name in the operator namespace.
81
+ */
82
+ secretName?: pulumi.Input<string | undefined>;
83
+ }
84
+
85
+ /**
86
+ * A backend credential projected into bound gateway pods. The
87
+ * `secretName` lives in the operator's namespace (same trust
88
+ * boundary as plugin signing keys); `key` selects the entry.
89
+ */
90
+ export interface MCPGClusterSpecCredentialRefsPatch {
91
+ /**
92
+ * Key within the Secret. Defaults to `name`.
93
+ */
94
+ key?: pulumi.Input<string | undefined>;
95
+ /**
96
+ * Logical name the gateway config references (e.g. `password`).
97
+ * Surfaced as `cred://cluster/<name>` to the gateway.
98
+ */
99
+ name?: pulumi.Input<string | undefined>;
100
+ /**
101
+ * Secret name in the operator namespace.
102
+ */
103
+ secretName?: pulumi.Input<string | undefined>;
104
+ }
105
+
106
+ /**
107
+ * Cluster-coordination backend binding.
108
+ * Cluster-scoped coordination-backend binding. Gateways reference
109
+ * it via `spec.clusterRef`; the operator injects the rendered
110
+ * `cluster:` config block (and the matching cluster cdylib entry)
111
+ * into each bound gateway's config.
112
+ */
113
+ export interface MCPGClusterSpecPatch {
114
+ /**
115
+ * Which coordination backend this cluster provides.
116
+ */
117
+ backend?: pulumi.Input<string | undefined>;
118
+ /**
119
+ * Per-backend configuration, rendered verbatim into the
120
+ * gateway's `cluster:` block alongside `kind:` (the gateway
121
+ * flattens these — e.g. `url`, `key_prefix` for redis;
122
+ * `servers`, `bucket` for nats). Schema-blind: the gateway's
123
+ * own validator is the source of truth. Ignored for
124
+ * `single_node`.
125
+ */
126
+ config?: pulumi.Input<{[key: string]: any} | undefined>;
127
+ /**
128
+ * Optional secret references whose keys are surfaced to the
129
+ * gateway as `${cluster.<key>}` config-substitution values —
130
+ * e.g. a Redis password or NATS credentials file. The operator
131
+ * projects these into the gateway pod the same way plugin
132
+ * Secrets are projected; the gateway resolves the `cred://`
133
+ * reference at config-load time. Keeps backend credentials out
134
+ * of the (world-readable) `MCPGCluster` spec.
135
+ */
136
+ credentialRefs?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGClusterSpecCredentialRefsPatch>[] | undefined>;
137
+ pluginRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGClusterSpecPluginRefPatch | undefined>;
138
+ }
139
+
140
+ /**
141
+ * Optional reference to the cluster cdylib's OCI source via a
142
+ * cluster-scoped `MCPGPlugin`. When set, the operator requires
143
+ * the named plugin to be `Ready` (verified + not revoked)
144
+ * before binding — so a coordinator can't come up against an
145
+ * unverified cluster plugin. When unset, the operator assumes
146
+ * the gateway's `pluginSetRef` already supplies the
147
+ * `dev.mcpg.cluster.<backend>` cdylib and only renders the
148
+ * `cluster:` config block.
149
+ */
150
+ export interface MCPGClusterSpecPluginRef {
151
+ name?: pulumi.Input<string | undefined>;
152
+ }
153
+
154
+ /**
155
+ * Optional reference to the cluster cdylib's OCI source via a
156
+ * cluster-scoped `MCPGPlugin`. When set, the operator requires
157
+ * the named plugin to be `Ready` (verified + not revoked)
158
+ * before binding — so a coordinator can't come up against an
159
+ * unverified cluster plugin. When unset, the operator assumes
160
+ * the gateway's `pluginSetRef` already supplies the
161
+ * `dev.mcpg.cluster.<backend>` cdylib and only renders the
162
+ * `cluster:` config block.
163
+ */
164
+ export interface MCPGClusterSpecPluginRefPatch {
165
+ name?: pulumi.Input<string | undefined>;
166
+ }
167
+
168
+ /**
169
+ * Observed state for `MCPGCluster`.
170
+ */
171
+ export interface MCPGClusterStatus {
172
+ /**
173
+ * Count of `MCPGGateway`s currently bound to this cluster via
174
+ * `spec.clusterRef`. Lets ops see blast radius before editing.
175
+ */
176
+ boundGateways?: pulumi.Input<number | undefined>;
177
+ /**
178
+ * Standard `metav1.Condition[]`. The operator sets `Ready=True`
179
+ * when the backend is bindable (plugin verified when
180
+ * `pluginRef` is set; always for `single_node`).
181
+ */
182
+ conditions?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGClusterStatusConditions>[] | undefined>;
183
+ /**
184
+ * SHA-256 of the rendered `cluster:` config block. Bound
185
+ * gateways fold this into their pod-roll hash, so a cluster
186
+ * config edit rolls every bound gateway.
187
+ */
188
+ configHash?: pulumi.Input<string | undefined>;
189
+ lastReconcileTime?: pulumi.Input<string | undefined>;
190
+ observedGeneration?: pulumi.Input<number | undefined>;
191
+ /**
192
+ * The resolved cluster cdylib plugin id (`None`/absent for
193
+ * `single_node`). Surfaced so ops can confirm the backend
194
+ * mapping without reading the spec enum.
195
+ */
196
+ pluginId?: pulumi.Input<string | undefined>;
197
+ }
198
+
199
+ /**
200
+ * One status condition. Serde shape matches K8s
201
+ * `metav1.Condition` exactly so generic tooling (kubectl,
202
+ * kustomize, Argo CD) interprets it correctly.
203
+ */
204
+ export interface MCPGClusterStatusConditions {
205
+ /**
206
+ * RFC3339 timestamp of the most recent transition.
207
+ */
208
+ lastTransitionTime?: pulumi.Input<string | undefined>;
209
+ /**
210
+ * Free-text human-readable detail. May be empty.
211
+ */
212
+ message?: pulumi.Input<string | undefined>;
213
+ /**
214
+ * `metadata.generation` the controller had observed when
215
+ * it set this condition. Lets clients detect stale status.
216
+ */
217
+ observedGeneration?: pulumi.Input<number | undefined>;
218
+ /**
219
+ * CamelCase enum the operator defines per controller.
220
+ * E.g. `AllReplicasAvailable`, `DependencyPending`,
221
+ * `SignatureMismatch`.
222
+ */
223
+ reason?: pulumi.Input<string | undefined>;
224
+ /**
225
+ * `"True"`, `"False"`, or `"Unknown"`. K8s convention is to
226
+ * keep this as a string (not a bool) so `Unknown` is
227
+ * representable.
228
+ */
229
+ status?: pulumi.Input<string | undefined>;
230
+ /**
231
+ * `Ready`, `Reconciling`, `Available`, `Degraded`,
232
+ * `Progressing`, `Failed`, plus per-CRD types.
233
+ */
234
+ type?: pulumi.Input<string | undefined>;
235
+ }
236
+
237
+ /**
238
+ * Auto-generated derived type for MCPGGatewaySpec via `CustomResource`
239
+ */
240
+ export interface MCPGGateway {
241
+ /**
242
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
243
+ */
244
+ apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
245
+ /**
246
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
247
+ */
248
+ kind?: pulumi.Input<"MCPGGateway" | undefined>;
249
+ /**
250
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
251
+ */
252
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta | undefined>;
253
+ spec?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpec | undefined>;
254
+ status?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewayStatus | undefined>;
255
+ }
256
+
257
+ /**
258
+ * Desired state for a tenant's `MCPGGateway`.
259
+ *
260
+ * The operator's gateway controller renders this into a
261
+ * Deployment + Service + ConfigMap (+ optional Ingress,
262
+ * NetworkPolicy, PDB, ServiceMonitor) and reconciles them into
263
+ * the gateway's namespace. Every field maps either directly to
264
+ * a Kubernetes shape or to a gateway-config key that lands in
265
+ * the rendered ConfigMap.
266
+ *
267
+ * Cross-cutting fields (`pluginSetRef`, `revocationListRef`)
268
+ * pull in resources from the cluster-level plugin lifecycle —
269
+ * see [`crate::v1alpha1::MCPGPluginSet`] and
270
+ * [`crate::v1alpha1::MCPGRevocationList`].
271
+ */
272
+ export interface MCPGGatewaySpec {
273
+ /**
274
+ * Soft-tenancy allow-list: namespaces permitted to attach an
275
+ * `MCPGRoute` to this gateway. A route in a namespace NOT listed
276
+ * here is rejected at admission (and ignored by the route
277
+ * controller). Empty/unset ⇒ this gateway accepts no external
278
+ * routes (routes in the gateway's own namespace are always
279
+ * allowed). This is the platform team's explicit opt-in to which
280
+ * tenant namespaces may share the gateway.
281
+ */
282
+ acceptedRouteNamespaces?: pulumi.Input<pulumi.Input<string>[] | undefined>;
283
+ autoscaling?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecAutoscaling | undefined>;
284
+ cloud?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecCloud | undefined>;
285
+ clusterRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecClusterRef | undefined>;
286
+ config?: pulumi.Input<{[key: string]: any} | undefined>;
287
+ image?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecImage | undefined>;
288
+ imagePullSecrets?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecImagePullSecrets>[] | undefined>;
289
+ ingress?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecIngress | undefined>;
290
+ monitoring?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecMonitoring | undefined>;
291
+ networkPolicy?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecNetworkPolicy | undefined>;
292
+ pluginSetRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecPluginSetRef | undefined>;
293
+ podAnnotations?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
294
+ podDisruptionBudget?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecPodDisruptionBudget | undefined>;
295
+ podLabels?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
296
+ probes?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecProbes | undefined>;
297
+ replicas?: pulumi.Input<number | undefined>;
298
+ resources?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecResources | undefined>;
299
+ revocationListRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecRevocationListRef | undefined>;
300
+ scheduling?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecScheduling | undefined>;
301
+ service?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecService | undefined>;
302
+ workloadIdentity?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecWorkloadIdentity | undefined>;
303
+ }
304
+
305
+ /**
306
+ * Optional HPA shape. When `enabled = true` the operator renders
307
+ * an `autoscaling/v2.HorizontalPodAutoscaler` targeting the
308
+ * gateway Deployment. Disabled by default — `replicas` is the
309
+ * canonical knob for most users.
310
+ */
311
+ export interface MCPGGatewaySpecAutoscaling {
312
+ enabled?: pulumi.Input<boolean | undefined>;
313
+ maxReplicas?: pulumi.Input<number | undefined>;
314
+ metrics?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecAutoscalingMetrics>[] | undefined>;
315
+ minReplicas?: pulumi.Input<number | undefined>;
316
+ }
317
+
318
+ export interface MCPGGatewaySpecAutoscalingMetrics {
319
+ external?: pulumi.Input<{[key: string]: any} | undefined>;
320
+ object?: pulumi.Input<{[key: string]: any} | undefined>;
321
+ pods?: pulumi.Input<{[key: string]: any} | undefined>;
322
+ resource?: pulumi.Input<{[key: string]: any} | undefined>;
323
+ type?: pulumi.Input<string | undefined>;
324
+ }
325
+
326
+ export interface MCPGGatewaySpecAutoscalingMetricsPatch {
327
+ external?: pulumi.Input<{[key: string]: any} | undefined>;
328
+ object?: pulumi.Input<{[key: string]: any} | undefined>;
329
+ pods?: pulumi.Input<{[key: string]: any} | undefined>;
330
+ resource?: pulumi.Input<{[key: string]: any} | undefined>;
331
+ type?: pulumi.Input<string | undefined>;
332
+ }
333
+
334
+ /**
335
+ * Optional HPA shape. When `enabled = true` the operator renders
336
+ * an `autoscaling/v2.HorizontalPodAutoscaler` targeting the
337
+ * gateway Deployment. Disabled by default — `replicas` is the
338
+ * canonical knob for most users.
339
+ */
340
+ export interface MCPGGatewaySpecAutoscalingPatch {
341
+ enabled?: pulumi.Input<boolean | undefined>;
342
+ maxReplicas?: pulumi.Input<number | undefined>;
343
+ metrics?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecAutoscalingMetricsPatch>[] | undefined>;
344
+ minReplicas?: pulumi.Input<number | undefined>;
345
+ }
346
+
347
+ /**
348
+ * Managed-fleet (mcpg.cloud) routing + identity. Present only on
349
+ * Cloud-provisioned gateways; absent for self-host, where a CR renders
350
+ * byte-identical to before. Consumed by the deploy-spine HTTPRoute
351
+ * renderer + the resource-metadata injector.
352
+ */
353
+ export interface MCPGGatewaySpecCloud {
354
+ /**
355
+ * Additional customer-owned hostnames (CNAME -> the instance edge); each
356
+ * gets its own HTTPRoute host match + TLS certificate.
357
+ */
358
+ customDomains?: pulumi.Input<pulumi.Input<string>[] | undefined>;
359
+ /**
360
+ * Canonical external URL (`https://{instanceSlug}.mcpg.cloud/mcp`). The
361
+ * operator injects this into `governance.access.resource_metadata.resource`
362
+ * so OAuth resource-indicator validation works; never trusted from a
363
+ * published config.
364
+ */
365
+ externalUrl?: pulumi.Input<string | undefined>;
366
+ /**
367
+ * Globally-unique instance slug — the public DNS label addressing the
368
+ * gateway at `{instanceSlug}.mcpg.cloud/mcp`. Drives the HTTPRoute host
369
+ * match + per-instance resource naming.
370
+ */
371
+ instanceSlug?: pulumi.Input<string | undefined>;
372
+ /**
373
+ * Tenant/org slug — billing + console grouping.
374
+ */
375
+ orgSlug?: pulumi.Input<string | undefined>;
376
+ }
377
+
378
+ /**
379
+ * Managed-fleet (mcpg.cloud) routing + identity. Present only on
380
+ * Cloud-provisioned gateways; absent for self-host, where a CR renders
381
+ * byte-identical to before. Consumed by the deploy-spine HTTPRoute
382
+ * renderer + the resource-metadata injector.
383
+ */
384
+ export interface MCPGGatewaySpecCloudPatch {
385
+ /**
386
+ * Additional customer-owned hostnames (CNAME -> the instance edge); each
387
+ * gets its own HTTPRoute host match + TLS certificate.
388
+ */
389
+ customDomains?: pulumi.Input<pulumi.Input<string>[] | undefined>;
390
+ /**
391
+ * Canonical external URL (`https://{instanceSlug}.mcpg.cloud/mcp`). The
392
+ * operator injects this into `governance.access.resource_metadata.resource`
393
+ * so OAuth resource-indicator validation works; never trusted from a
394
+ * published config.
395
+ */
396
+ externalUrl?: pulumi.Input<string | undefined>;
397
+ /**
398
+ * Globally-unique instance slug — the public DNS label addressing the
399
+ * gateway at `{instanceSlug}.mcpg.cloud/mcp`. Drives the HTTPRoute host
400
+ * match + per-instance resource naming.
401
+ */
402
+ instanceSlug?: pulumi.Input<string | undefined>;
403
+ /**
404
+ * Tenant/org slug — billing + console grouping.
405
+ */
406
+ orgSlug?: pulumi.Input<string | undefined>;
407
+ }
408
+
409
+ /**
410
+ * Reference to a cluster-scoped `MCPGCluster`. When set, the
411
+ * operator renders that backend's `cluster:` config block into
412
+ * this gateway's config (and folds the cluster's config-hash
413
+ * into the pod-roll trigger), so every replica binds the same
414
+ * coordinator. When unset the gateway runs `single_node`
415
+ * (in-process) — correct only for a single replica.
416
+ */
417
+ export interface MCPGGatewaySpecClusterRef {
418
+ /**
419
+ * Cluster-scoped `MCPGCluster` resource name.
420
+ */
421
+ name?: pulumi.Input<string | undefined>;
422
+ }
423
+
424
+ /**
425
+ * Reference to a cluster-scoped `MCPGCluster`. When set, the
426
+ * operator renders that backend's `cluster:` config block into
427
+ * this gateway's config (and folds the cluster's config-hash
428
+ * into the pod-roll trigger), so every replica binds the same
429
+ * coordinator. When unset the gateway runs `single_node`
430
+ * (in-process) — correct only for a single replica.
431
+ */
432
+ export interface MCPGGatewaySpecClusterRefPatch {
433
+ /**
434
+ * Cluster-scoped `MCPGCluster` resource name.
435
+ */
436
+ name?: pulumi.Input<string | undefined>;
437
+ }
438
+
439
+ /**
440
+ * Container image coordinates for the rendered gateway pod.
441
+ * All three fields default at reconcile time — `repository`
442
+ * from operator config, `tag` from the chart's appVersion,
443
+ * `pullPolicy` to `IfNotPresent`.
444
+ */
445
+ export interface MCPGGatewaySpecImage {
446
+ pullPolicy?: pulumi.Input<string | undefined>;
447
+ repository?: pulumi.Input<string | undefined>;
448
+ tag?: pulumi.Input<string | undefined>;
449
+ }
450
+
451
+ /**
452
+ * Container image coordinates for the rendered gateway pod.
453
+ * All three fields default at reconcile time — `repository`
454
+ * from operator config, `tag` from the chart's appVersion,
455
+ * `pullPolicy` to `IfNotPresent`.
456
+ */
457
+ export interface MCPGGatewaySpecImagePatch {
458
+ pullPolicy?: pulumi.Input<string | undefined>;
459
+ repository?: pulumi.Input<string | undefined>;
460
+ tag?: pulumi.Input<string | undefined>;
461
+ }
462
+
463
+ /**
464
+ * Same shape as `core/v1.LocalObjectReference`. Used wherever
465
+ * the spec needs to point at another in-namespace resource —
466
+ * imagePullSecrets, plugin refs, etc.
467
+ */
468
+ export interface MCPGGatewaySpecImagePullSecrets {
469
+ name?: pulumi.Input<string | undefined>;
470
+ }
471
+
472
+ /**
473
+ * Same shape as `core/v1.LocalObjectReference`. Used wherever
474
+ * the spec needs to point at another in-namespace resource —
475
+ * imagePullSecrets, plugin refs, etc.
476
+ */
477
+ export interface MCPGGatewaySpecImagePullSecretsPatch {
478
+ name?: pulumi.Input<string | undefined>;
479
+ }
480
+
481
+ export interface MCPGGatewaySpecIngress {
482
+ annotations?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
483
+ hosts?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecIngressHosts>[] | undefined>;
484
+ ingressClassName?: pulumi.Input<string | undefined>;
485
+ tls?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecIngressTls>[] | undefined>;
486
+ }
487
+
488
+ export interface MCPGGatewaySpecIngressHosts {
489
+ host?: pulumi.Input<string | undefined>;
490
+ paths?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecIngressHostsPaths>[] | undefined>;
491
+ }
492
+
493
+ export interface MCPGGatewaySpecIngressHostsPatch {
494
+ host?: pulumi.Input<string | undefined>;
495
+ paths?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecIngressHostsPathsPatch>[] | undefined>;
496
+ }
497
+
498
+ export interface MCPGGatewaySpecIngressHostsPaths {
499
+ path?: pulumi.Input<string | undefined>;
500
+ pathType?: pulumi.Input<string | undefined>;
501
+ }
502
+
503
+ export interface MCPGGatewaySpecIngressHostsPathsPatch {
504
+ path?: pulumi.Input<string | undefined>;
505
+ pathType?: pulumi.Input<string | undefined>;
506
+ }
507
+
508
+ export interface MCPGGatewaySpecIngressPatch {
509
+ annotations?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
510
+ hosts?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecIngressHostsPatch>[] | undefined>;
511
+ ingressClassName?: pulumi.Input<string | undefined>;
512
+ tls?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecIngressTlsPatch>[] | undefined>;
513
+ }
514
+
515
+ export interface MCPGGatewaySpecIngressTls {
516
+ hosts?: pulumi.Input<pulumi.Input<string>[] | undefined>;
517
+ secretName?: pulumi.Input<string | undefined>;
518
+ }
519
+
520
+ export interface MCPGGatewaySpecIngressTlsPatch {
521
+ hosts?: pulumi.Input<pulumi.Input<string>[] | undefined>;
522
+ secretName?: pulumi.Input<string | undefined>;
523
+ }
524
+
525
+ /**
526
+ * Toggles ServiceMonitor + PrometheusRule rendering. Both
527
+ * require the cluster to have the Prometheus Operator CRDs
528
+ * installed; the operator will skip rendering if the API
529
+ * group is absent (and surface a degraded status).
530
+ */
531
+ export interface MCPGGatewaySpecMonitoring {
532
+ prometheusRule?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecMonitoringPrometheusRule | undefined>;
533
+ serviceMonitor?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecMonitoringServiceMonitor | undefined>;
534
+ }
535
+
536
+ /**
537
+ * Toggles ServiceMonitor + PrometheusRule rendering. Both
538
+ * require the cluster to have the Prometheus Operator CRDs
539
+ * installed; the operator will skip rendering if the API
540
+ * group is absent (and surface a degraded status).
541
+ */
542
+ export interface MCPGGatewaySpecMonitoringPatch {
543
+ prometheusRule?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecMonitoringPrometheusRulePatch | undefined>;
544
+ serviceMonitor?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecMonitoringServiceMonitorPatch | undefined>;
545
+ }
546
+
547
+ /**
548
+ * Knobs for the rendered PrometheusRule. `severity` is
549
+ * stamped on every alert in the rendered group; defaults to
550
+ * `warning`.
551
+ */
552
+ export interface MCPGGatewaySpecMonitoringPrometheusRule {
553
+ enabled?: pulumi.Input<boolean | undefined>;
554
+ severity?: pulumi.Input<string | undefined>;
555
+ }
556
+
557
+ /**
558
+ * Knobs for the rendered PrometheusRule. `severity` is
559
+ * stamped on every alert in the rendered group; defaults to
560
+ * `warning`.
561
+ */
562
+ export interface MCPGGatewaySpecMonitoringPrometheusRulePatch {
563
+ enabled?: pulumi.Input<boolean | undefined>;
564
+ severity?: pulumi.Input<string | undefined>;
565
+ }
566
+
567
+ /**
568
+ * Knobs for the rendered ServiceMonitor. `interval` /
569
+ * `scrapeTimeout` follow Prometheus duration syntax (`30s`,
570
+ * `1m`).
571
+ */
572
+ export interface MCPGGatewaySpecMonitoringServiceMonitor {
573
+ enabled?: pulumi.Input<boolean | undefined>;
574
+ interval?: pulumi.Input<string | undefined>;
575
+ labels?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
576
+ scrapeTimeout?: pulumi.Input<string | undefined>;
577
+ }
578
+
579
+ /**
580
+ * Knobs for the rendered ServiceMonitor. `interval` /
581
+ * `scrapeTimeout` follow Prometheus duration syntax (`30s`,
582
+ * `1m`).
583
+ */
584
+ export interface MCPGGatewaySpecMonitoringServiceMonitorPatch {
585
+ enabled?: pulumi.Input<boolean | undefined>;
586
+ interval?: pulumi.Input<string | undefined>;
587
+ labels?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
588
+ scrapeTimeout?: pulumi.Input<string | undefined>;
589
+ }
590
+
591
+ /**
592
+ * Toggles whether the operator renders a NetworkPolicy alongside
593
+ * the gateway Deployment. The default policy denies all
594
+ * ingress/egress except the gateway listen port +
595
+ * management traffic; `extraIngressFrom` / `extraEgressTo`
596
+ * supply caller-specific exceptions (e.g. database egress).
597
+ */
598
+ export interface MCPGGatewaySpecNetworkPolicy {
599
+ enabled?: pulumi.Input<boolean | undefined>;
600
+ extraEgressTo?: pulumi.Input<pulumi.Input<{[key: string]: any}>[] | undefined>;
601
+ extraIngressFrom?: pulumi.Input<pulumi.Input<{[key: string]: any}>[] | undefined>;
602
+ }
603
+
604
+ /**
605
+ * Toggles whether the operator renders a NetworkPolicy alongside
606
+ * the gateway Deployment. The default policy denies all
607
+ * ingress/egress except the gateway listen port +
608
+ * management traffic; `extraIngressFrom` / `extraEgressTo`
609
+ * supply caller-specific exceptions (e.g. database egress).
610
+ */
611
+ export interface MCPGGatewaySpecNetworkPolicyPatch {
612
+ enabled?: pulumi.Input<boolean | undefined>;
613
+ extraEgressTo?: pulumi.Input<pulumi.Input<{[key: string]: any}>[] | undefined>;
614
+ extraIngressFrom?: pulumi.Input<pulumi.Input<{[key: string]: any}>[] | undefined>;
615
+ }
616
+
617
+ /**
618
+ * Desired state for a tenant's `MCPGGateway`.
619
+ *
620
+ * The operator's gateway controller renders this into a
621
+ * Deployment + Service + ConfigMap (+ optional Ingress,
622
+ * NetworkPolicy, PDB, ServiceMonitor) and reconciles them into
623
+ * the gateway's namespace. Every field maps either directly to
624
+ * a Kubernetes shape or to a gateway-config key that lands in
625
+ * the rendered ConfigMap.
626
+ *
627
+ * Cross-cutting fields (`pluginSetRef`, `revocationListRef`)
628
+ * pull in resources from the cluster-level plugin lifecycle —
629
+ * see [`crate::v1alpha1::MCPGPluginSet`] and
630
+ * [`crate::v1alpha1::MCPGRevocationList`].
631
+ */
632
+ export interface MCPGGatewaySpecPatch {
633
+ /**
634
+ * Soft-tenancy allow-list: namespaces permitted to attach an
635
+ * `MCPGRoute` to this gateway. A route in a namespace NOT listed
636
+ * here is rejected at admission (and ignored by the route
637
+ * controller). Empty/unset ⇒ this gateway accepts no external
638
+ * routes (routes in the gateway's own namespace are always
639
+ * allowed). This is the platform team's explicit opt-in to which
640
+ * tenant namespaces may share the gateway.
641
+ */
642
+ acceptedRouteNamespaces?: pulumi.Input<pulumi.Input<string>[] | undefined>;
643
+ autoscaling?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecAutoscalingPatch | undefined>;
644
+ cloud?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecCloudPatch | undefined>;
645
+ clusterRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecClusterRefPatch | undefined>;
646
+ config?: pulumi.Input<{[key: string]: any} | undefined>;
647
+ image?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecImagePatch | undefined>;
648
+ imagePullSecrets?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecImagePullSecretsPatch>[] | undefined>;
649
+ ingress?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecIngressPatch | undefined>;
650
+ monitoring?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecMonitoringPatch | undefined>;
651
+ networkPolicy?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecNetworkPolicyPatch | undefined>;
652
+ pluginSetRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecPluginSetRefPatch | undefined>;
653
+ podAnnotations?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
654
+ podDisruptionBudget?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecPodDisruptionBudgetPatch | undefined>;
655
+ podLabels?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
656
+ probes?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecProbesPatch | undefined>;
657
+ replicas?: pulumi.Input<number | undefined>;
658
+ resources?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecResourcesPatch | undefined>;
659
+ revocationListRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecRevocationListRefPatch | undefined>;
660
+ scheduling?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecSchedulingPatch | undefined>;
661
+ service?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecServicePatch | undefined>;
662
+ workloadIdentity?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecWorkloadIdentityPatch | undefined>;
663
+ }
664
+
665
+ /**
666
+ * Reference to a `MCPGPluginSet` in the same namespace.
667
+ * When set, the gateway pod's projected volume includes the
668
+ * resolved per-plugin Secrets, and `plugins[]` in the
669
+ * rendered config is sourced from the set. Optional —
670
+ * gateways without a plugin set boot with whatever lives in
671
+ * `spec.config.plugins[]`.
672
+ */
673
+ export interface MCPGGatewaySpecPluginSetRef {
674
+ /**
675
+ * `MCPGPluginSet` resource name, in the same namespace as
676
+ * the gateway.
677
+ */
678
+ name?: pulumi.Input<string | undefined>;
679
+ }
680
+
681
+ /**
682
+ * Reference to a `MCPGPluginSet` in the same namespace.
683
+ * When set, the gateway pod's projected volume includes the
684
+ * resolved per-plugin Secrets, and `plugins[]` in the
685
+ * rendered config is sourced from the set. Optional —
686
+ * gateways without a plugin set boot with whatever lives in
687
+ * `spec.config.plugins[]`.
688
+ */
689
+ export interface MCPGGatewaySpecPluginSetRefPatch {
690
+ /**
691
+ * `MCPGPluginSet` resource name, in the same namespace as
692
+ * the gateway.
693
+ */
694
+ name?: pulumi.Input<string | undefined>;
695
+ }
696
+
697
+ /**
698
+ * Wraps `policy/v1.PodDisruptionBudgetSpec`. Both threshold
699
+ * fields are int-or-string to mirror the upstream API; pass
700
+ * either `"50%"` or `2`.
701
+ */
702
+ export interface MCPGGatewaySpecPodDisruptionBudget {
703
+ enabled?: pulumi.Input<boolean | undefined>;
704
+ maxUnavailable?: pulumi.Input<number | string | undefined>;
705
+ minAvailable?: pulumi.Input<number | string | undefined>;
706
+ }
707
+
708
+ /**
709
+ * Wraps `policy/v1.PodDisruptionBudgetSpec`. Both threshold
710
+ * fields are int-or-string to mirror the upstream API; pass
711
+ * either `"50%"` or `2`.
712
+ */
713
+ export interface MCPGGatewaySpecPodDisruptionBudgetPatch {
714
+ enabled?: pulumi.Input<boolean | undefined>;
715
+ maxUnavailable?: pulumi.Input<number | string | undefined>;
716
+ minAvailable?: pulumi.Input<number | string | undefined>;
717
+ }
718
+
719
+ /**
720
+ * Optional per-probe overrides. When `None`, the operator's
721
+ * rendered Deployment uses the chart defaults (which target
722
+ * `/healthz` + `/readyz` on the management port).
723
+ */
724
+ export interface MCPGGatewaySpecProbes {
725
+ liveness?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecProbesLiveness | undefined>;
726
+ readiness?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecProbesReadiness | undefined>;
727
+ startup?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecProbesStartup | undefined>;
728
+ }
729
+
730
+ /**
731
+ * Per-probe knobs. Maps directly to `core/v1.Probe` minus the
732
+ * handler — handler is always HTTP GET on the management port
733
+ * for the gateway (see the rendered Deployment template).
734
+ */
735
+ export interface MCPGGatewaySpecProbesLiveness {
736
+ failureThreshold?: pulumi.Input<number | undefined>;
737
+ initialDelaySeconds?: pulumi.Input<number | undefined>;
738
+ path?: pulumi.Input<string | undefined>;
739
+ periodSeconds?: pulumi.Input<number | undefined>;
740
+ successThreshold?: pulumi.Input<number | undefined>;
741
+ timeoutSeconds?: pulumi.Input<number | undefined>;
742
+ }
743
+
744
+ /**
745
+ * Per-probe knobs. Maps directly to `core/v1.Probe` minus the
746
+ * handler — handler is always HTTP GET on the management port
747
+ * for the gateway (see the rendered Deployment template).
748
+ */
749
+ export interface MCPGGatewaySpecProbesLivenessPatch {
750
+ failureThreshold?: pulumi.Input<number | undefined>;
751
+ initialDelaySeconds?: pulumi.Input<number | undefined>;
752
+ path?: pulumi.Input<string | undefined>;
753
+ periodSeconds?: pulumi.Input<number | undefined>;
754
+ successThreshold?: pulumi.Input<number | undefined>;
755
+ timeoutSeconds?: pulumi.Input<number | undefined>;
756
+ }
757
+
758
+ /**
759
+ * Optional per-probe overrides. When `None`, the operator's
760
+ * rendered Deployment uses the chart defaults (which target
761
+ * `/healthz` + `/readyz` on the management port).
762
+ */
763
+ export interface MCPGGatewaySpecProbesPatch {
764
+ liveness?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecProbesLivenessPatch | undefined>;
765
+ readiness?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecProbesReadinessPatch | undefined>;
766
+ startup?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecProbesStartupPatch | undefined>;
767
+ }
768
+
769
+ /**
770
+ * Per-probe knobs. Maps directly to `core/v1.Probe` minus the
771
+ * handler — handler is always HTTP GET on the management port
772
+ * for the gateway (see the rendered Deployment template).
773
+ */
774
+ export interface MCPGGatewaySpecProbesReadiness {
775
+ failureThreshold?: pulumi.Input<number | undefined>;
776
+ initialDelaySeconds?: pulumi.Input<number | undefined>;
777
+ path?: pulumi.Input<string | undefined>;
778
+ periodSeconds?: pulumi.Input<number | undefined>;
779
+ successThreshold?: pulumi.Input<number | undefined>;
780
+ timeoutSeconds?: pulumi.Input<number | undefined>;
781
+ }
782
+
783
+ /**
784
+ * Per-probe knobs. Maps directly to `core/v1.Probe` minus the
785
+ * handler — handler is always HTTP GET on the management port
786
+ * for the gateway (see the rendered Deployment template).
787
+ */
788
+ export interface MCPGGatewaySpecProbesReadinessPatch {
789
+ failureThreshold?: pulumi.Input<number | undefined>;
790
+ initialDelaySeconds?: pulumi.Input<number | undefined>;
791
+ path?: pulumi.Input<string | undefined>;
792
+ periodSeconds?: pulumi.Input<number | undefined>;
793
+ successThreshold?: pulumi.Input<number | undefined>;
794
+ timeoutSeconds?: pulumi.Input<number | undefined>;
795
+ }
796
+
797
+ /**
798
+ * Per-probe knobs. Maps directly to `core/v1.Probe` minus the
799
+ * handler — handler is always HTTP GET on the management port
800
+ * for the gateway (see the rendered Deployment template).
801
+ */
802
+ export interface MCPGGatewaySpecProbesStartup {
803
+ failureThreshold?: pulumi.Input<number | undefined>;
804
+ initialDelaySeconds?: pulumi.Input<number | undefined>;
805
+ path?: pulumi.Input<string | undefined>;
806
+ periodSeconds?: pulumi.Input<number | undefined>;
807
+ successThreshold?: pulumi.Input<number | undefined>;
808
+ timeoutSeconds?: pulumi.Input<number | undefined>;
809
+ }
810
+
811
+ /**
812
+ * Per-probe knobs. Maps directly to `core/v1.Probe` minus the
813
+ * handler — handler is always HTTP GET on the management port
814
+ * for the gateway (see the rendered Deployment template).
815
+ */
816
+ export interface MCPGGatewaySpecProbesStartupPatch {
817
+ failureThreshold?: pulumi.Input<number | undefined>;
818
+ initialDelaySeconds?: pulumi.Input<number | undefined>;
819
+ path?: pulumi.Input<string | undefined>;
820
+ periodSeconds?: pulumi.Input<number | undefined>;
821
+ successThreshold?: pulumi.Input<number | undefined>;
822
+ timeoutSeconds?: pulumi.Input<number | undefined>;
823
+ }
824
+
825
+ /**
826
+ * Maps directly to `core/v1.ResourceRequirements`. We carry our
827
+ * own type rather than depending on `k8s-openapi` here because
828
+ * `operator-api` is `k8s-openapi`-version-agnostic — see the
829
+ * crate-level docs.
830
+ */
831
+ export interface MCPGGatewaySpecResources {
832
+ limits?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
833
+ requests?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
834
+ }
835
+
836
+ /**
837
+ * Maps directly to `core/v1.ResourceRequirements`. We carry our
838
+ * own type rather than depending on `k8s-openapi` here because
839
+ * `operator-api` is `k8s-openapi`-version-agnostic — see the
840
+ * crate-level docs.
841
+ */
842
+ export interface MCPGGatewaySpecResourcesPatch {
843
+ limits?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
844
+ requests?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
845
+ }
846
+
847
+ /**
848
+ * Reference to a cluster-scoped `MCPGRevocationList`. Defaults
849
+ * to the operator's `cluster-default` resource when unset.
850
+ * The operator materialises the revocation list into the
851
+ * gateway's namespace and mounts it; gateway pods enforce
852
+ * at plugin-load time.
853
+ */
854
+ export interface MCPGGatewaySpecRevocationListRef {
855
+ /**
856
+ * Cluster-scoped `MCPGRevocationList` resource name.
857
+ */
858
+ name?: pulumi.Input<string | undefined>;
859
+ }
860
+
861
+ /**
862
+ * Reference to a cluster-scoped `MCPGRevocationList`. Defaults
863
+ * to the operator's `cluster-default` resource when unset.
864
+ * The operator materialises the revocation list into the
865
+ * gateway's namespace and mounts it; gateway pods enforce
866
+ * at plugin-load time.
867
+ */
868
+ export interface MCPGGatewaySpecRevocationListRefPatch {
869
+ /**
870
+ * Cluster-scoped `MCPGRevocationList` resource name.
871
+ */
872
+ name?: pulumi.Input<string | undefined>;
873
+ }
874
+
875
+ /**
876
+ * Pod-scheduling pass-through fields. Each maps directly to
877
+ * the matching `PodSpec` field; the operator does not interpret
878
+ * them. `tolerations` and `affinity` are
879
+ * `x-kubernetes-preserve-unknown-fields` so we don't have to
880
+ * version-shift the operator's `k8s-openapi` dependency every
881
+ * time upstream adds a knob.
882
+ */
883
+ export interface MCPGGatewaySpecScheduling {
884
+ affinity?: pulumi.Input<{[key: string]: any} | undefined>;
885
+ nodeSelector?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
886
+ priorityClassName?: pulumi.Input<string | undefined>;
887
+ terminationGracePeriodSeconds?: pulumi.Input<number | undefined>;
888
+ tolerations?: pulumi.Input<pulumi.Input<{[key: string]: any}>[] | undefined>;
889
+ topologySpreadConstraints?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecSchedulingTopologySpreadConstraints>[] | undefined>;
890
+ }
891
+
892
+ /**
893
+ * Pod-scheduling pass-through fields. Each maps directly to
894
+ * the matching `PodSpec` field; the operator does not interpret
895
+ * them. `tolerations` and `affinity` are
896
+ * `x-kubernetes-preserve-unknown-fields` so we don't have to
897
+ * version-shift the operator's `k8s-openapi` dependency every
898
+ * time upstream adds a knob.
899
+ */
900
+ export interface MCPGGatewaySpecSchedulingPatch {
901
+ affinity?: pulumi.Input<{[key: string]: any} | undefined>;
902
+ nodeSelector?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
903
+ priorityClassName?: pulumi.Input<string | undefined>;
904
+ terminationGracePeriodSeconds?: pulumi.Input<number | undefined>;
905
+ tolerations?: pulumi.Input<pulumi.Input<{[key: string]: any}>[] | undefined>;
906
+ topologySpreadConstraints?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecSchedulingTopologySpreadConstraintsPatch>[] | undefined>;
907
+ }
908
+
909
+ export interface MCPGGatewaySpecSchedulingTopologySpreadConstraints {
910
+ labelSelectorMatchLabels?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
911
+ maxSkew?: pulumi.Input<number | undefined>;
912
+ topologyKey?: pulumi.Input<string | undefined>;
913
+ whenUnsatisfiable?: pulumi.Input<string | undefined>;
914
+ }
915
+
916
+ export interface MCPGGatewaySpecSchedulingTopologySpreadConstraintsPatch {
917
+ labelSelectorMatchLabels?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
918
+ maxSkew?: pulumi.Input<number | undefined>;
919
+ topologyKey?: pulumi.Input<string | undefined>;
920
+ whenUnsatisfiable?: pulumi.Input<string | undefined>;
921
+ }
922
+
923
+ export interface MCPGGatewaySpecService {
924
+ annotations?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
925
+ port?: pulumi.Input<number | undefined>;
926
+ type?: pulumi.Input<string | undefined>;
927
+ }
928
+
929
+ export interface MCPGGatewaySpecServicePatch {
930
+ annotations?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
931
+ port?: pulumi.Input<number | undefined>;
932
+ type?: pulumi.Input<string | undefined>;
933
+ }
934
+
935
+ /**
936
+ * One-of: pick exactly one cloud provider. The operator
937
+ * translates the chosen variant into the right ServiceAccount
938
+ * annotations / projected-volume mounts at render time.
939
+ * Multiple variants set simultaneously is an admission error.
940
+ */
941
+ export interface MCPGGatewaySpecWorkloadIdentity {
942
+ aws?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecWorkloadIdentityAws | undefined>;
943
+ azure?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecWorkloadIdentityAzure | undefined>;
944
+ gcp?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecWorkloadIdentityGcp | undefined>;
945
+ spiffe?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecWorkloadIdentitySpiffe | undefined>;
946
+ }
947
+
948
+ export interface MCPGGatewaySpecWorkloadIdentityAws {
949
+ iamRoleArn?: pulumi.Input<string | undefined>;
950
+ }
951
+
952
+ export interface MCPGGatewaySpecWorkloadIdentityAwsPatch {
953
+ iamRoleArn?: pulumi.Input<string | undefined>;
954
+ }
955
+
956
+ export interface MCPGGatewaySpecWorkloadIdentityAzure {
957
+ clientId?: pulumi.Input<string | undefined>;
958
+ }
959
+
960
+ export interface MCPGGatewaySpecWorkloadIdentityAzurePatch {
961
+ clientId?: pulumi.Input<string | undefined>;
962
+ }
963
+
964
+ export interface MCPGGatewaySpecWorkloadIdentityGcp {
965
+ googleServiceAccount?: pulumi.Input<string | undefined>;
966
+ }
967
+
968
+ export interface MCPGGatewaySpecWorkloadIdentityGcpPatch {
969
+ googleServiceAccount?: pulumi.Input<string | undefined>;
970
+ }
971
+
972
+ /**
973
+ * One-of: pick exactly one cloud provider. The operator
974
+ * translates the chosen variant into the right ServiceAccount
975
+ * annotations / projected-volume mounts at render time.
976
+ * Multiple variants set simultaneously is an admission error.
977
+ */
978
+ export interface MCPGGatewaySpecWorkloadIdentityPatch {
979
+ aws?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecWorkloadIdentityAwsPatch | undefined>;
980
+ azure?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecWorkloadIdentityAzurePatch | undefined>;
981
+ gcp?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecWorkloadIdentityGcpPatch | undefined>;
982
+ spiffe?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewaySpecWorkloadIdentitySpiffePatch | undefined>;
983
+ }
984
+
985
+ export interface MCPGGatewaySpecWorkloadIdentitySpiffe {
986
+ svid?: pulumi.Input<string | undefined>;
987
+ trustDomain?: pulumi.Input<string | undefined>;
988
+ }
989
+
990
+ export interface MCPGGatewaySpecWorkloadIdentitySpiffePatch {
991
+ svid?: pulumi.Input<string | undefined>;
992
+ trustDomain?: pulumi.Input<string | undefined>;
993
+ }
994
+
995
+ /**
996
+ * Observed state for `MCPGGateway`. `conditions` is the
997
+ * authoritative readiness signal; the hash fields let
998
+ * operators verify "the right plugin set / revocation list
999
+ * has actually been folded in".
1000
+ */
1001
+ export interface MCPGGatewayStatus {
1002
+ availableReplicas?: pulumi.Input<number | undefined>;
1003
+ conditions?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGGatewayStatusConditions>[] | undefined>;
1004
+ /**
1005
+ * SHA-256 of the rendered config — flips on any spec change
1006
+ * that propagates to the pod template. Operators watch this
1007
+ * to confirm "operator has applied my edit".
1008
+ */
1009
+ configHash?: pulumi.Input<string | undefined>;
1010
+ lastReconcileTime?: pulumi.Input<string | undefined>;
1011
+ observedGeneration?: pulumi.Input<number | undefined>;
1012
+ /**
1013
+ * Resolved hash of the active `MCPGPluginSet` — non-null when
1014
+ * `spec.pluginSetRef` is set + the set is `Ready`.
1015
+ */
1016
+ pluginSetHash?: pulumi.Input<string | undefined>;
1017
+ readyReplicas?: pulumi.Input<number | undefined>;
1018
+ replicas?: pulumi.Input<number | undefined>;
1019
+ /**
1020
+ * Hash of the active `MCPGRevocationList`'s materialised
1021
+ * content. Lets operators verify "every gateway is on the
1022
+ * same revocation rev" cluster-wide.
1023
+ */
1024
+ revocationListHash?: pulumi.Input<string | undefined>;
1025
+ updatedReplicas?: pulumi.Input<number | undefined>;
1026
+ }
1027
+
1028
+ /**
1029
+ * One status condition. Serde shape matches K8s
1030
+ * `metav1.Condition` exactly so generic tooling (kubectl,
1031
+ * kustomize, Argo CD) interprets it correctly.
1032
+ */
1033
+ export interface MCPGGatewayStatusConditions {
1034
+ /**
1035
+ * RFC3339 timestamp of the most recent transition.
1036
+ */
1037
+ lastTransitionTime?: pulumi.Input<string | undefined>;
1038
+ /**
1039
+ * Free-text human-readable detail. May be empty.
1040
+ */
1041
+ message?: pulumi.Input<string | undefined>;
1042
+ /**
1043
+ * `metadata.generation` the controller had observed when
1044
+ * it set this condition. Lets clients detect stale status.
1045
+ */
1046
+ observedGeneration?: pulumi.Input<number | undefined>;
1047
+ /**
1048
+ * CamelCase enum the operator defines per controller.
1049
+ * E.g. `AllReplicasAvailable`, `DependencyPending`,
1050
+ * `SignatureMismatch`.
1051
+ */
1052
+ reason?: pulumi.Input<string | undefined>;
1053
+ /**
1054
+ * `"True"`, `"False"`, or `"Unknown"`. K8s convention is to
1055
+ * keep this as a string (not a bool) so `Unknown` is
1056
+ * representable.
1057
+ */
1058
+ status?: pulumi.Input<string | undefined>;
1059
+ /**
1060
+ * `Ready`, `Reconciling`, `Available`, `Degraded`,
1061
+ * `Progressing`, `Failed`, plus per-CRD types.
1062
+ */
1063
+ type?: pulumi.Input<string | undefined>;
1064
+ }
1065
+
1066
+ /**
1067
+ * Auto-generated derived type for MCPGPluginSpec via `CustomResource`
1068
+ */
1069
+ export interface MCPGPlugin {
1070
+ /**
1071
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1072
+ */
1073
+ apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
1074
+ /**
1075
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1076
+ */
1077
+ kind?: pulumi.Input<"MCPGPlugin" | undefined>;
1078
+ /**
1079
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1080
+ */
1081
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta | undefined>;
1082
+ spec?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpec | undefined>;
1083
+ status?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginStatus | undefined>;
1084
+ }
1085
+
1086
+ /**
1087
+ * Auto-generated derived type for MCPGPluginMirrorSpec via `CustomResource`
1088
+ */
1089
+ export interface MCPGPluginMirror {
1090
+ /**
1091
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1092
+ */
1093
+ apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
1094
+ /**
1095
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1096
+ */
1097
+ kind?: pulumi.Input<"MCPGPluginMirror" | undefined>;
1098
+ /**
1099
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1100
+ */
1101
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta | undefined>;
1102
+ spec?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorSpec | undefined>;
1103
+ status?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorStatus | undefined>;
1104
+ }
1105
+
1106
+ /**
1107
+ * In-cluster OCI mirror for air-gapped plugin pulls.
1108
+ * Cluster-scoped OCI mirror. `MCPGPlugin.spec.oci.mirrorRef` points
1109
+ * here; the operator rewrites the upstream ref onto this mirror's
1110
+ * endpoint before pulling.
1111
+ */
1112
+ export interface MCPGPluginMirrorSpec {
1113
+ auth?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorSpecAuth | undefined>;
1114
+ endpoint?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorSpecEndpoint | undefined>;
1115
+ /**
1116
+ * Optional reachability re-check cadence (informational; e.g.
1117
+ * `1h`). The operator re-reconciles the mirror on its normal
1118
+ * resync regardless — this is a hint for future scheduled probes.
1119
+ */
1120
+ resyncInterval?: pulumi.Input<string | undefined>;
1121
+ upstream?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorSpecUpstream | undefined>;
1122
+ }
1123
+
1124
+ /**
1125
+ * Optional pull credentials for the mirror (a
1126
+ * `kubernetes.io/dockerconfigjson` Secret in the operator
1127
+ * namespace). When set, the operator pulls from the mirror with
1128
+ * these instead of the plugin's own `oci.pullSecretRef`.
1129
+ */
1130
+ export interface MCPGPluginMirrorSpecAuth {
1131
+ secretRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorSpecAuthSecretRef | undefined>;
1132
+ }
1133
+
1134
+ /**
1135
+ * Optional pull credentials for the mirror (a
1136
+ * `kubernetes.io/dockerconfigjson` Secret in the operator
1137
+ * namespace). When set, the operator pulls from the mirror with
1138
+ * these instead of the plugin's own `oci.pullSecretRef`.
1139
+ */
1140
+ export interface MCPGPluginMirrorSpecAuthPatch {
1141
+ secretRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorSpecAuthSecretRefPatch | undefined>;
1142
+ }
1143
+
1144
+ /**
1145
+ * Reference to a `dockerconfigjson` Secret in the operator namespace.
1146
+ */
1147
+ export interface MCPGPluginMirrorSpecAuthSecretRef {
1148
+ /**
1149
+ * Key within the Secret. Defaults to `.dockerconfigjson` when
1150
+ * unset (the standard key for `kubernetes.io/dockerconfigjson`).
1151
+ */
1152
+ key?: pulumi.Input<string | undefined>;
1153
+ secretName?: pulumi.Input<string | undefined>;
1154
+ }
1155
+
1156
+ /**
1157
+ * Reference to a `dockerconfigjson` Secret in the operator namespace.
1158
+ */
1159
+ export interface MCPGPluginMirrorSpecAuthSecretRefPatch {
1160
+ /**
1161
+ * Key within the Secret. Defaults to `.dockerconfigjson` when
1162
+ * unset (the standard key for `kubernetes.io/dockerconfigjson`).
1163
+ */
1164
+ key?: pulumi.Input<string | undefined>;
1165
+ secretName?: pulumi.Input<string | undefined>;
1166
+ }
1167
+
1168
+ /**
1169
+ * Where the mirror registry lives in-cluster.
1170
+ */
1171
+ export interface MCPGPluginMirrorSpecEndpoint {
1172
+ /**
1173
+ * When true, the operator treats the mirror as plain-HTTP /
1174
+ * self-signed (added to the OCI client's insecure-registry list).
1175
+ * In-cluster mirrors on `:80` are the common case.
1176
+ */
1177
+ insecure?: pulumi.Input<boolean | undefined>;
1178
+ service?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorSpecEndpointService | undefined>;
1179
+ }
1180
+
1181
+ /**
1182
+ * Where the mirror registry lives in-cluster.
1183
+ */
1184
+ export interface MCPGPluginMirrorSpecEndpointPatch {
1185
+ /**
1186
+ * When true, the operator treats the mirror as plain-HTTP /
1187
+ * self-signed (added to the OCI client's insecure-registry list).
1188
+ * In-cluster mirrors on `:80` are the common case.
1189
+ */
1190
+ insecure?: pulumi.Input<boolean | undefined>;
1191
+ service?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorSpecEndpointServicePatch | undefined>;
1192
+ }
1193
+
1194
+ /**
1195
+ * Service coordinates for the mirror registry.
1196
+ */
1197
+ export interface MCPGPluginMirrorSpecEndpointService {
1198
+ name?: pulumi.Input<string | undefined>;
1199
+ namespace?: pulumi.Input<string | undefined>;
1200
+ /**
1201
+ * Optional path prefix the mirror serves repositories under
1202
+ * (e.g. `/v2/mirror`). Joined between the registry host and the
1203
+ * upstream repository path. Leading/trailing slashes are
1204
+ * normalised.
1205
+ */
1206
+ pathPrefix?: pulumi.Input<string | undefined>;
1207
+ /**
1208
+ * Service port the registry listens on (e.g. `80`).
1209
+ */
1210
+ port?: pulumi.Input<number | undefined>;
1211
+ }
1212
+
1213
+ /**
1214
+ * Service coordinates for the mirror registry.
1215
+ */
1216
+ export interface MCPGPluginMirrorSpecEndpointServicePatch {
1217
+ name?: pulumi.Input<string | undefined>;
1218
+ namespace?: pulumi.Input<string | undefined>;
1219
+ /**
1220
+ * Optional path prefix the mirror serves repositories under
1221
+ * (e.g. `/v2/mirror`). Joined between the registry host and the
1222
+ * upstream repository path. Leading/trailing slashes are
1223
+ * normalised.
1224
+ */
1225
+ pathPrefix?: pulumi.Input<string | undefined>;
1226
+ /**
1227
+ * Service port the registry listens on (e.g. `80`).
1228
+ */
1229
+ port?: pulumi.Input<number | undefined>;
1230
+ }
1231
+
1232
+ /**
1233
+ * In-cluster OCI mirror for air-gapped plugin pulls.
1234
+ * Cluster-scoped OCI mirror. `MCPGPlugin.spec.oci.mirrorRef` points
1235
+ * here; the operator rewrites the upstream ref onto this mirror's
1236
+ * endpoint before pulling.
1237
+ */
1238
+ export interface MCPGPluginMirrorSpecPatch {
1239
+ auth?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorSpecAuthPatch | undefined>;
1240
+ endpoint?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorSpecEndpointPatch | undefined>;
1241
+ /**
1242
+ * Optional reachability re-check cadence (informational; e.g.
1243
+ * `1h`). The operator re-reconciles the mirror on its normal
1244
+ * resync regardless — this is a hint for future scheduled probes.
1245
+ */
1246
+ resyncInterval?: pulumi.Input<string | undefined>;
1247
+ upstream?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorSpecUpstreamPatch | undefined>;
1248
+ }
1249
+
1250
+ /**
1251
+ * The public registry + namespace this mirror stands in for. Only
1252
+ * plugin refs whose `image` starts with `<registry>/<namespace>`
1253
+ * are rewritten; a ref pointing elsewhere is left untouched (and
1254
+ * the air-gap admission gate, when enforced, rejects it).
1255
+ */
1256
+ export interface MCPGPluginMirrorSpecUpstream {
1257
+ /**
1258
+ * Namespace/org path under the registry, e.g.
1259
+ * `mcpg-dev/source-code`. The repository segment after this
1260
+ * prefix is preserved verbatim on the mirror.
1261
+ */
1262
+ namespace?: pulumi.Input<string | undefined>;
1263
+ /**
1264
+ * Registry hostname, e.g. `ghcr.io`.
1265
+ */
1266
+ registry?: pulumi.Input<string | undefined>;
1267
+ }
1268
+
1269
+ /**
1270
+ * The public registry + namespace this mirror stands in for. Only
1271
+ * plugin refs whose `image` starts with `<registry>/<namespace>`
1272
+ * are rewritten; a ref pointing elsewhere is left untouched (and
1273
+ * the air-gap admission gate, when enforced, rejects it).
1274
+ */
1275
+ export interface MCPGPluginMirrorSpecUpstreamPatch {
1276
+ /**
1277
+ * Namespace/org path under the registry, e.g.
1278
+ * `mcpg-dev/source-code`. The repository segment after this
1279
+ * prefix is preserved verbatim on the mirror.
1280
+ */
1281
+ namespace?: pulumi.Input<string | undefined>;
1282
+ /**
1283
+ * Registry hostname, e.g. `ghcr.io`.
1284
+ */
1285
+ registry?: pulumi.Input<string | undefined>;
1286
+ }
1287
+
1288
+ /**
1289
+ * Observed state for `MCPGPluginMirror`.
1290
+ */
1291
+ export interface MCPGPluginMirrorStatus {
1292
+ conditions?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginMirrorStatusConditions>[] | undefined>;
1293
+ /**
1294
+ * The resolved in-cluster registry host
1295
+ * (`<name>.<namespace>.svc.cluster.local:<port>`), surfaced so ops
1296
+ * can confirm the rewrite target without parsing the spec.
1297
+ */
1298
+ endpointHost?: pulumi.Input<string | undefined>;
1299
+ lastReconcileTime?: pulumi.Input<string | undefined>;
1300
+ observedGeneration?: pulumi.Input<number | undefined>;
1301
+ /**
1302
+ * Count of `MCPGPlugin`s currently referencing this mirror via
1303
+ * `oci.mirrorRef`. Blast-radius signal for ops.
1304
+ */
1305
+ proxiedReferences?: pulumi.Input<number | undefined>;
1306
+ /**
1307
+ * Whether the operator could reach the mirror's `/v2/` endpoint at
1308
+ * last reconcile. `false` (with a `Ready=False` condition) means
1309
+ * plugin pulls through this mirror will fail.
1310
+ */
1311
+ reachable?: pulumi.Input<boolean | undefined>;
1312
+ }
1313
+
1314
+ /**
1315
+ * One status condition. Serde shape matches K8s
1316
+ * `metav1.Condition` exactly so generic tooling (kubectl,
1317
+ * kustomize, Argo CD) interprets it correctly.
1318
+ */
1319
+ export interface MCPGPluginMirrorStatusConditions {
1320
+ /**
1321
+ * RFC3339 timestamp of the most recent transition.
1322
+ */
1323
+ lastTransitionTime?: pulumi.Input<string | undefined>;
1324
+ /**
1325
+ * Free-text human-readable detail. May be empty.
1326
+ */
1327
+ message?: pulumi.Input<string | undefined>;
1328
+ /**
1329
+ * `metadata.generation` the controller had observed when
1330
+ * it set this condition. Lets clients detect stale status.
1331
+ */
1332
+ observedGeneration?: pulumi.Input<number | undefined>;
1333
+ /**
1334
+ * CamelCase enum the operator defines per controller.
1335
+ * E.g. `AllReplicasAvailable`, `DependencyPending`,
1336
+ * `SignatureMismatch`.
1337
+ */
1338
+ reason?: pulumi.Input<string | undefined>;
1339
+ /**
1340
+ * `"True"`, `"False"`, or `"Unknown"`. K8s convention is to
1341
+ * keep this as a string (not a bool) so `Unknown` is
1342
+ * representable.
1343
+ */
1344
+ status?: pulumi.Input<string | undefined>;
1345
+ /**
1346
+ * `Ready`, `Reconciling`, `Available`, `Degraded`,
1347
+ * `Progressing`, `Failed`, plus per-CRD types.
1348
+ */
1349
+ type?: pulumi.Input<string | undefined>;
1350
+ }
1351
+
1352
+ /**
1353
+ * Auto-generated derived type for MCPGPluginSetSpec via `CustomResource`
1354
+ */
1355
+ export interface MCPGPluginSet {
1356
+ /**
1357
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1358
+ */
1359
+ apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
1360
+ /**
1361
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1362
+ */
1363
+ kind?: pulumi.Input<"MCPGPluginSet" | undefined>;
1364
+ /**
1365
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1366
+ */
1367
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta | undefined>;
1368
+ spec?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSetSpec | undefined>;
1369
+ status?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSetStatus | undefined>;
1370
+ }
1371
+
1372
+ export interface MCPGPluginSetSpec {
1373
+ /**
1374
+ * Per-plugin capability grants. Keyed by plugin id; values
1375
+ * are subsets of the plugin descriptor's
1376
+ * `required_capabilities`. The operator's admission
1377
+ * webhook validates the subset relationship.
1378
+ */
1379
+ capabilityGrants?: pulumi.Input<{[key: string]: pulumi.Input<pulumi.Input<string>[]>} | undefined>;
1380
+ /**
1381
+ * One entry per plugin the set installs. Order is
1382
+ * preserved in the rendered gateway config (some plugin
1383
+ * chains are order-sensitive — e.g. identity → policy).
1384
+ */
1385
+ entries?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSetSpecEntries>[] | undefined>;
1386
+ }
1387
+
1388
+ /**
1389
+ * One plugin in a `MCPGPluginSet`. Order in the spec is the
1390
+ * order the gateway sees in its boot config — order-sensitive
1391
+ * chains (identity → policy → audit) must rely on this.
1392
+ */
1393
+ export interface MCPGPluginSetSpecEntries {
1394
+ /**
1395
+ * Inline plugin runtime config — passes through verbatim
1396
+ * to the gateway's `plugins[].config`. Schema
1397
+ * varies per plugin; the operator does not validate it
1398
+ * (the gateway's own boot-time validators do). The
1399
+ * `preserve_object` schema annotation marks this field
1400
+ * `x-kubernetes-preserve-unknown-fields` so the API server
1401
+ * keeps the arbitrary nested config intact.
1402
+ */
1403
+ config?: pulumi.Input<{[key: string]: any} | undefined>;
1404
+ /**
1405
+ * Whether this entry is active. Disabled entries pass
1406
+ * through to status (so operators see what's configured)
1407
+ * but the operator skips them when rendering the gateway
1408
+ * config + materialising plugin Secrets.
1409
+ */
1410
+ enabled?: pulumi.Input<boolean | undefined>;
1411
+ /**
1412
+ * Whether the plugin is enforced (default) or runs in
1413
+ * shadow mode. Shadow plugins evaluate, log, and emit
1414
+ * metrics, but their Deny/Challenge decisions are mapped
1415
+ * to Allow before reaching the request flow. Operators
1416
+ * use this to roll out a new policy plugin in observation
1417
+ * mode before promoting to enforce.
1418
+ *
1419
+ * Maps to `PluginEntryConfig.enforce` in the gateway boot
1420
+ * config. Defaults to `true` — pre-1.0 we bias toward
1421
+ * fail-closed: operators must explicitly opt in to shadow
1422
+ * mode.
1423
+ */
1424
+ enforce?: pulumi.Input<boolean | undefined>;
1425
+ /**
1426
+ * Plugin id — e.g. `dev.mcpg.identity.workload`. Must
1427
+ * match the referenced `MCPGPlugin.spec.pluginId`; the
1428
+ * admission webhook flags mismatches.
1429
+ */
1430
+ id?: pulumi.Input<string | undefined>;
1431
+ pluginRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSetSpecEntriesPluginRef | undefined>;
1432
+ }
1433
+
1434
+ /**
1435
+ * One plugin in a `MCPGPluginSet`. Order in the spec is the
1436
+ * order the gateway sees in its boot config — order-sensitive
1437
+ * chains (identity → policy → audit) must rely on this.
1438
+ */
1439
+ export interface MCPGPluginSetSpecEntriesPatch {
1440
+ /**
1441
+ * Inline plugin runtime config — passes through verbatim
1442
+ * to the gateway's `plugins[].config`. Schema
1443
+ * varies per plugin; the operator does not validate it
1444
+ * (the gateway's own boot-time validators do). The
1445
+ * `preserve_object` schema annotation marks this field
1446
+ * `x-kubernetes-preserve-unknown-fields` so the API server
1447
+ * keeps the arbitrary nested config intact.
1448
+ */
1449
+ config?: pulumi.Input<{[key: string]: any} | undefined>;
1450
+ /**
1451
+ * Whether this entry is active. Disabled entries pass
1452
+ * through to status (so operators see what's configured)
1453
+ * but the operator skips them when rendering the gateway
1454
+ * config + materialising plugin Secrets.
1455
+ */
1456
+ enabled?: pulumi.Input<boolean | undefined>;
1457
+ /**
1458
+ * Whether the plugin is enforced (default) or runs in
1459
+ * shadow mode. Shadow plugins evaluate, log, and emit
1460
+ * metrics, but their Deny/Challenge decisions are mapped
1461
+ * to Allow before reaching the request flow. Operators
1462
+ * use this to roll out a new policy plugin in observation
1463
+ * mode before promoting to enforce.
1464
+ *
1465
+ * Maps to `PluginEntryConfig.enforce` in the gateway boot
1466
+ * config. Defaults to `true` — pre-1.0 we bias toward
1467
+ * fail-closed: operators must explicitly opt in to shadow
1468
+ * mode.
1469
+ */
1470
+ enforce?: pulumi.Input<boolean | undefined>;
1471
+ /**
1472
+ * Plugin id — e.g. `dev.mcpg.identity.workload`. Must
1473
+ * match the referenced `MCPGPlugin.spec.pluginId`; the
1474
+ * admission webhook flags mismatches.
1475
+ */
1476
+ id?: pulumi.Input<string | undefined>;
1477
+ pluginRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSetSpecEntriesPluginRefPatch | undefined>;
1478
+ }
1479
+
1480
+ /**
1481
+ * Reference to a cluster-scoped `MCPGPlugin`. Operator
1482
+ * validates the plugin exists + is in `Ready` status before
1483
+ * allowing the set to converge.
1484
+ */
1485
+ export interface MCPGPluginSetSpecEntriesPluginRef {
1486
+ name?: pulumi.Input<string | undefined>;
1487
+ }
1488
+
1489
+ /**
1490
+ * Reference to a cluster-scoped `MCPGPlugin`. Operator
1491
+ * validates the plugin exists + is in `Ready` status before
1492
+ * allowing the set to converge.
1493
+ */
1494
+ export interface MCPGPluginSetSpecEntriesPluginRefPatch {
1495
+ name?: pulumi.Input<string | undefined>;
1496
+ }
1497
+
1498
+ export interface MCPGPluginSetSpecPatch {
1499
+ /**
1500
+ * Per-plugin capability grants. Keyed by plugin id; values
1501
+ * are subsets of the plugin descriptor's
1502
+ * `required_capabilities`. The operator's admission
1503
+ * webhook validates the subset relationship.
1504
+ */
1505
+ capabilityGrants?: pulumi.Input<{[key: string]: pulumi.Input<pulumi.Input<string>[]>} | undefined>;
1506
+ /**
1507
+ * One entry per plugin the set installs. Order is
1508
+ * preserved in the rendered gateway config (some plugin
1509
+ * chains are order-sensitive — e.g. identity → policy).
1510
+ */
1511
+ entries?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSetSpecEntriesPatch>[] | undefined>;
1512
+ }
1513
+
1514
+ /**
1515
+ * Observed state for `MCPGPluginSet`. `resolved_entries` ==
1516
+ * `total_entries` is the canonical Ready signal; partial
1517
+ * failures land in `failed_entries` so operators can read
1518
+ * the per-entry reason without grepping logs.
1519
+ */
1520
+ export interface MCPGPluginSetStatus {
1521
+ conditions?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSetStatusConditions>[] | undefined>;
1522
+ /**
1523
+ * Per-entry resolution errors (referenced plugin missing,
1524
+ * revoked, capability grant out of bounds, etc.). Empty
1525
+ * when the set is `Ready`.
1526
+ */
1527
+ failedEntries?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSetStatusFailedEntries>[] | undefined>;
1528
+ lastReconcileTime?: pulumi.Input<string | undefined>;
1529
+ observedGeneration?: pulumi.Input<number | undefined>;
1530
+ /**
1531
+ * Number of entries the operator successfully resolved
1532
+ * (referenced `MCPGPlugin` exists + Ready + not revoked).
1533
+ */
1534
+ resolvedEntries?: pulumi.Input<number | undefined>;
1535
+ /**
1536
+ * SHA-256 of the rendered config (entries + per-entry
1537
+ * configs + grants). Lets dependent gateways detect
1538
+ * "plugin set changed → roll pods" without diffing the
1539
+ * full spec.
1540
+ */
1541
+ resolvedHash?: pulumi.Input<string | undefined>;
1542
+ /**
1543
+ * Total entries in spec — `resolved_entries` should equal
1544
+ * this when the set is `Ready`.
1545
+ */
1546
+ totalEntries?: pulumi.Input<number | undefined>;
1547
+ }
1548
+
1549
+ /**
1550
+ * One status condition. Serde shape matches K8s
1551
+ * `metav1.Condition` exactly so generic tooling (kubectl,
1552
+ * kustomize, Argo CD) interprets it correctly.
1553
+ */
1554
+ export interface MCPGPluginSetStatusConditions {
1555
+ /**
1556
+ * RFC3339 timestamp of the most recent transition.
1557
+ */
1558
+ lastTransitionTime?: pulumi.Input<string | undefined>;
1559
+ /**
1560
+ * Free-text human-readable detail. May be empty.
1561
+ */
1562
+ message?: pulumi.Input<string | undefined>;
1563
+ /**
1564
+ * `metadata.generation` the controller had observed when
1565
+ * it set this condition. Lets clients detect stale status.
1566
+ */
1567
+ observedGeneration?: pulumi.Input<number | undefined>;
1568
+ /**
1569
+ * CamelCase enum the operator defines per controller.
1570
+ * E.g. `AllReplicasAvailable`, `DependencyPending`,
1571
+ * `SignatureMismatch`.
1572
+ */
1573
+ reason?: pulumi.Input<string | undefined>;
1574
+ /**
1575
+ * `"True"`, `"False"`, or `"Unknown"`. K8s convention is to
1576
+ * keep this as a string (not a bool) so `Unknown` is
1577
+ * representable.
1578
+ */
1579
+ status?: pulumi.Input<string | undefined>;
1580
+ /**
1581
+ * `Ready`, `Reconciling`, `Available`, `Degraded`,
1582
+ * `Progressing`, `Failed`, plus per-CRD types.
1583
+ */
1584
+ type?: pulumi.Input<string | undefined>;
1585
+ }
1586
+
1587
+ /**
1588
+ * One per-entry resolution failure surfaced into status.
1589
+ * `reason` is a stable enum so consumers can branch on it;
1590
+ * `message` is free-text human detail.
1591
+ */
1592
+ export interface MCPGPluginSetStatusFailedEntries {
1593
+ /**
1594
+ * Plugin id the failure pertains to.
1595
+ */
1596
+ id?: pulumi.Input<string | undefined>;
1597
+ /**
1598
+ * Free-text human-readable detail.
1599
+ */
1600
+ message?: pulumi.Input<string | undefined>;
1601
+ /**
1602
+ * Camel-case enum reason: `PluginNotFound`,
1603
+ * `PluginNotReady`, `PluginRevoked`, `PluginIdMismatch`,
1604
+ * `ArtefactSecretMissing`. (Capability-grant violations are
1605
+ * rejected at admission, not surfaced here.)
1606
+ */
1607
+ reason?: pulumi.Input<string | undefined>;
1608
+ }
1609
+
1610
+ /**
1611
+ * Single OCI-published, signed plugin artefact + the trust
1612
+ * policy under which the operator verifies it.
1613
+ */
1614
+ export interface MCPGPluginSpec {
1615
+ oci?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecOci | undefined>;
1616
+ /**
1617
+ * Plugin class — advisory routing hint. The operator
1618
+ * re-checks this against the descriptor.
1619
+ * Values follow `mcpg_plugin_protocol::PluginClass`.
1620
+ * Examples: `identity_provider`, `policy_engine`,
1621
+ * `credential_issuer`, `audit_sink`, `cluster_backend`,
1622
+ * `binding`, `transport`.
1623
+ */
1624
+ pluginClass?: pulumi.Input<string | undefined>;
1625
+ /**
1626
+ * Plugin id matching the descriptor's id (e.g.
1627
+ * `dev.mcpg.identity.workload`). Must equal the descriptor
1628
+ * embedded in the OCI artefact; the operator verifies on
1629
+ * pull.
1630
+ */
1631
+ pluginId?: pulumi.Input<string | undefined>;
1632
+ trust?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecTrust | undefined>;
1633
+ /**
1634
+ * Plugin version. Should match the OCI tag's semver
1635
+ * component when the operator can extract it; admission
1636
+ * rejects mismatches.
1637
+ */
1638
+ version?: pulumi.Input<string | undefined>;
1639
+ }
1640
+
1641
+ /**
1642
+ * OCI artefact reference + optional in-cluster mirror.
1643
+ */
1644
+ export interface MCPGPluginSpecOci {
1645
+ /**
1646
+ * Full OCI ref, e.g.
1647
+ * `ghcr.io/mcpg-dev/source-code/plugins/identity-workload:1.2.3-linux-amd64`
1648
+ * (tag) or `...@sha256:abcd...` (digest pin — recommended
1649
+ * for production).
1650
+ */
1651
+ image?: pulumi.Input<string | undefined>;
1652
+ mirrorRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecOciMirrorRef | undefined>;
1653
+ pullSecretRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecOciPullSecretRef | undefined>;
1654
+ }
1655
+
1656
+ /**
1657
+ * Pull through an in-cluster mirror (a future
1658
+ * `MCPGPluginMirror` resource). When set, the operator
1659
+ * translates the upstream `image` URL through the mirror's
1660
+ * pathPrefix.
1661
+ */
1662
+ export interface MCPGPluginSpecOciMirrorRef {
1663
+ name?: pulumi.Input<string | undefined>;
1664
+ }
1665
+
1666
+ /**
1667
+ * Pull through an in-cluster mirror (a future
1668
+ * `MCPGPluginMirror` resource). When set, the operator
1669
+ * translates the upstream `image` URL through the mirror's
1670
+ * pathPrefix.
1671
+ */
1672
+ export interface MCPGPluginSpecOciMirrorRefPatch {
1673
+ name?: pulumi.Input<string | undefined>;
1674
+ }
1675
+
1676
+ /**
1677
+ * OCI artefact reference + optional in-cluster mirror.
1678
+ */
1679
+ export interface MCPGPluginSpecOciPatch {
1680
+ /**
1681
+ * Full OCI ref, e.g.
1682
+ * `ghcr.io/mcpg-dev/source-code/plugins/identity-workload:1.2.3-linux-amd64`
1683
+ * (tag) or `...@sha256:abcd...` (digest pin — recommended
1684
+ * for production).
1685
+ */
1686
+ image?: pulumi.Input<string | undefined>;
1687
+ mirrorRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecOciMirrorRefPatch | undefined>;
1688
+ pullSecretRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecOciPullSecretRefPatch | undefined>;
1689
+ }
1690
+
1691
+ /**
1692
+ * Optional pull-secret reference (in the operator's
1693
+ * namespace).
1694
+ */
1695
+ export interface MCPGPluginSpecOciPullSecretRef {
1696
+ name?: pulumi.Input<string | undefined>;
1697
+ }
1698
+
1699
+ /**
1700
+ * Optional pull-secret reference (in the operator's
1701
+ * namespace).
1702
+ */
1703
+ export interface MCPGPluginSpecOciPullSecretRefPatch {
1704
+ name?: pulumi.Input<string | undefined>;
1705
+ }
1706
+
1707
+ /**
1708
+ * Single OCI-published, signed plugin artefact + the trust
1709
+ * policy under which the operator verifies it.
1710
+ */
1711
+ export interface MCPGPluginSpecPatch {
1712
+ oci?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecOciPatch | undefined>;
1713
+ /**
1714
+ * Plugin class — advisory routing hint. The operator
1715
+ * re-checks this against the descriptor.
1716
+ * Values follow `mcpg_plugin_protocol::PluginClass`.
1717
+ * Examples: `identity_provider`, `policy_engine`,
1718
+ * `credential_issuer`, `audit_sink`, `cluster_backend`,
1719
+ * `binding`, `transport`.
1720
+ */
1721
+ pluginClass?: pulumi.Input<string | undefined>;
1722
+ /**
1723
+ * Plugin id matching the descriptor's id (e.g.
1724
+ * `dev.mcpg.identity.workload`). Must equal the descriptor
1725
+ * embedded in the OCI artefact; the operator verifies on
1726
+ * pull.
1727
+ */
1728
+ pluginId?: pulumi.Input<string | undefined>;
1729
+ trust?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecTrustPatch | undefined>;
1730
+ /**
1731
+ * Plugin version. Should match the OCI tag's semver
1732
+ * component when the operator can extract it; admission
1733
+ * rejects mismatches.
1734
+ */
1735
+ version?: pulumi.Input<string | undefined>;
1736
+ }
1737
+
1738
+ /**
1739
+ * Trust policy: signing key, cosign identity, SLSA
1740
+ * provenance source. The operator must be able to verify
1741
+ * every layer before mounting the plugin into a gateway pod.
1742
+ */
1743
+ export interface MCPGPluginSpecTrust {
1744
+ cosignIdentity?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecTrustCosignIdentity | undefined>;
1745
+ signingKeyRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecTrustSigningKeyRef | undefined>;
1746
+ slsaProvenance?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecTrustSlsaProvenance | undefined>;
1747
+ }
1748
+
1749
+ /**
1750
+ * Cosign keyless identity. Operator verifies the OCI
1751
+ * manifest's sigstore signature against this identity.
1752
+ * Optional in v1alpha1 — operators with cosign trust
1753
+ * configured here run an extra verification layer.
1754
+ */
1755
+ export interface MCPGPluginSpecTrustCosignIdentity {
1756
+ /**
1757
+ * Regex matching the OIDC subject baked into the cosign
1758
+ * certificate. Example:
1759
+ * `^https://github\.com/mcpg-dev/source-code/`.
1760
+ */
1761
+ certificateIdentityRegexp?: pulumi.Input<string | undefined>;
1762
+ /**
1763
+ * OIDC issuer the cosign cert chains back to.
1764
+ * Example: `https://token.actions.githubusercontent.com`.
1765
+ */
1766
+ oidcIssuer?: pulumi.Input<string | undefined>;
1767
+ }
1768
+
1769
+ /**
1770
+ * Cosign keyless identity. Operator verifies the OCI
1771
+ * manifest's sigstore signature against this identity.
1772
+ * Optional in v1alpha1 — operators with cosign trust
1773
+ * configured here run an extra verification layer.
1774
+ */
1775
+ export interface MCPGPluginSpecTrustCosignIdentityPatch {
1776
+ /**
1777
+ * Regex matching the OIDC subject baked into the cosign
1778
+ * certificate. Example:
1779
+ * `^https://github\.com/mcpg-dev/source-code/`.
1780
+ */
1781
+ certificateIdentityRegexp?: pulumi.Input<string | undefined>;
1782
+ /**
1783
+ * OIDC issuer the cosign cert chains back to.
1784
+ * Example: `https://token.actions.githubusercontent.com`.
1785
+ */
1786
+ oidcIssuer?: pulumi.Input<string | undefined>;
1787
+ }
1788
+
1789
+ /**
1790
+ * Trust policy: signing key, cosign identity, SLSA
1791
+ * provenance source. The operator must be able to verify
1792
+ * every layer before mounting the plugin into a gateway pod.
1793
+ */
1794
+ export interface MCPGPluginSpecTrustPatch {
1795
+ cosignIdentity?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecTrustCosignIdentityPatch | undefined>;
1796
+ signingKeyRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecTrustSigningKeyRefPatch | undefined>;
1797
+ slsaProvenance?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginSpecTrustSlsaProvenancePatch | undefined>;
1798
+ }
1799
+
1800
+ /**
1801
+ * Ed25519 public key the operator verifies the cdylib's
1802
+ * `mcpg-plugin sign` signature against. Mandatory in v1alpha1;
1803
+ * signature verification is the baseline trust gate that
1804
+ * every plugin must pass.
1805
+ */
1806
+ export interface MCPGPluginSpecTrustSigningKeyRef {
1807
+ /**
1808
+ * Secret key holding the Ed25519 public key bytes (raw
1809
+ * 32 bytes, base64-decoded by the operator at load time).
1810
+ * Default: `release.pub`.
1811
+ */
1812
+ key?: pulumi.Input<string | undefined>;
1813
+ /**
1814
+ * Secret name in the operator's namespace.
1815
+ */
1816
+ secretName?: pulumi.Input<string | undefined>;
1817
+ }
1818
+
1819
+ /**
1820
+ * Ed25519 public key the operator verifies the cdylib's
1821
+ * `mcpg-plugin sign` signature against. Mandatory in v1alpha1;
1822
+ * signature verification is the baseline trust gate that
1823
+ * every plugin must pass.
1824
+ */
1825
+ export interface MCPGPluginSpecTrustSigningKeyRefPatch {
1826
+ /**
1827
+ * Secret key holding the Ed25519 public key bytes (raw
1828
+ * 32 bytes, base64-decoded by the operator at load time).
1829
+ * Default: `release.pub`.
1830
+ */
1831
+ key?: pulumi.Input<string | undefined>;
1832
+ /**
1833
+ * Secret name in the operator's namespace.
1834
+ */
1835
+ secretName?: pulumi.Input<string | undefined>;
1836
+ }
1837
+
1838
+ /**
1839
+ * SLSA L3 provenance verification. Optional in v1alpha1 —
1840
+ * operators with SLSA-enforced supply chains gate on it.
1841
+ */
1842
+ export interface MCPGPluginSpecTrustSlsaProvenance {
1843
+ /**
1844
+ * Name of a ConfigMap (in the operator's namespace) holding
1845
+ * the `*.intoto.jsonl` provenance file under
1846
+ * `data.provenance.intoto.jsonl`.
1847
+ */
1848
+ configMapName?: pulumi.Input<string | undefined>;
1849
+ /**
1850
+ * Source tag the provenance must record. Example: `v1.2.3`.
1851
+ */
1852
+ sourceTag?: pulumi.Input<string | undefined>;
1853
+ /**
1854
+ * Source URI the provenance must be pinned to. Example:
1855
+ * `github.com/mcpg-dev/source-code`.
1856
+ */
1857
+ sourceUri?: pulumi.Input<string | undefined>;
1858
+ }
1859
+
1860
+ /**
1861
+ * SLSA L3 provenance verification. Optional in v1alpha1 —
1862
+ * operators with SLSA-enforced supply chains gate on it.
1863
+ */
1864
+ export interface MCPGPluginSpecTrustSlsaProvenancePatch {
1865
+ /**
1866
+ * Name of a ConfigMap (in the operator's namespace) holding
1867
+ * the `*.intoto.jsonl` provenance file under
1868
+ * `data.provenance.intoto.jsonl`.
1869
+ */
1870
+ configMapName?: pulumi.Input<string | undefined>;
1871
+ /**
1872
+ * Source tag the provenance must record. Example: `v1.2.3`.
1873
+ */
1874
+ sourceTag?: pulumi.Input<string | undefined>;
1875
+ /**
1876
+ * Source URI the provenance must be pinned to. Example:
1877
+ * `github.com/mcpg-dev/source-code`.
1878
+ */
1879
+ sourceUri?: pulumi.Input<string | undefined>;
1880
+ }
1881
+
1882
+ /**
1883
+ * Observed state for a `MCPGPlugin`. Boolean fields are
1884
+ * reported as `Option<bool>` so absent ⇒ "not yet evaluated"
1885
+ * vs. `Some(false)` ⇒ "evaluated, refused". Operators reading
1886
+ * status should treat absence as "not Ready" rather than
1887
+ * defaulting to `false`.
1888
+ */
1889
+ export interface MCPGPluginStatus {
1890
+ /**
1891
+ * Name of the operator-managed Secret holding the verified
1892
+ * bytes (in the operator's namespace).
1893
+ */
1894
+ artefactSecretName?: pulumi.Input<string | undefined>;
1895
+ conditions?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGPluginStatusConditions>[] | undefined>;
1896
+ cosignVerified?: pulumi.Input<boolean | undefined>;
1897
+ lastReconcileTime?: pulumi.Input<string | undefined>;
1898
+ observedGeneration?: pulumi.Input<number | undefined>;
1899
+ pulledAt?: pulumi.Input<string | undefined>;
1900
+ /**
1901
+ * SHA-256 of the verified cdylib bytes (lower-case hex).
1902
+ * Operators check this against the cluster
1903
+ * `MCPGRevocationList`; revoked entries flip
1904
+ * `revoked_by_sha = true`.
1905
+ */
1906
+ resolvedDigest?: pulumi.Input<string | undefined>;
1907
+ /**
1908
+ * True when [`Self::resolved_digest`] matches an entry in
1909
+ * the cluster `MCPGRevocationList`. The operator refuses
1910
+ * to materialise the plugin into any
1911
+ * `MCPGPluginSet` while this is true.
1912
+ */
1913
+ revokedBySha?: pulumi.Input<boolean | undefined>;
1914
+ signatureValid?: pulumi.Input<boolean | undefined>;
1915
+ slsaVerified?: pulumi.Input<boolean | undefined>;
1916
+ }
1917
+
1918
+ /**
1919
+ * One status condition. Serde shape matches K8s
1920
+ * `metav1.Condition` exactly so generic tooling (kubectl,
1921
+ * kustomize, Argo CD) interprets it correctly.
1922
+ */
1923
+ export interface MCPGPluginStatusConditions {
1924
+ /**
1925
+ * RFC3339 timestamp of the most recent transition.
1926
+ */
1927
+ lastTransitionTime?: pulumi.Input<string | undefined>;
1928
+ /**
1929
+ * Free-text human-readable detail. May be empty.
1930
+ */
1931
+ message?: pulumi.Input<string | undefined>;
1932
+ /**
1933
+ * `metadata.generation` the controller had observed when
1934
+ * it set this condition. Lets clients detect stale status.
1935
+ */
1936
+ observedGeneration?: pulumi.Input<number | undefined>;
1937
+ /**
1938
+ * CamelCase enum the operator defines per controller.
1939
+ * E.g. `AllReplicasAvailable`, `DependencyPending`,
1940
+ * `SignatureMismatch`.
1941
+ */
1942
+ reason?: pulumi.Input<string | undefined>;
1943
+ /**
1944
+ * `"True"`, `"False"`, or `"Unknown"`. K8s convention is to
1945
+ * keep this as a string (not a bool) so `Unknown` is
1946
+ * representable.
1947
+ */
1948
+ status?: pulumi.Input<string | undefined>;
1949
+ /**
1950
+ * `Ready`, `Reconciling`, `Available`, `Degraded`,
1951
+ * `Progressing`, `Failed`, plus per-CRD types.
1952
+ */
1953
+ type?: pulumi.Input<string | undefined>;
1954
+ }
1955
+
1956
+ /**
1957
+ * Auto-generated derived type for MCPGRevocationListSpec via `CustomResource`
1958
+ */
1959
+ export interface MCPGRevocationList {
1960
+ /**
1961
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1962
+ */
1963
+ apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
1964
+ /**
1965
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1966
+ */
1967
+ kind?: pulumi.Input<"MCPGRevocationList" | undefined>;
1968
+ /**
1969
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1970
+ */
1971
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta | undefined>;
1972
+ spec?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGRevocationListSpec | undefined>;
1973
+ status?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGRevocationListStatus | undefined>;
1974
+ }
1975
+
1976
+ /**
1977
+ * Cluster-wide list of revoked plugin SHA-256 hashes. Materialised
1978
+ * into per-namespace `mcpg-revocation-list` ConfigMaps that
1979
+ * gateway pods mount under the path declared in
1980
+ * `plugins.trust.revocation_list_path`.
1981
+ * Cluster-scoped revocation list. The operator fans this out
1982
+ * into every namespace running a gateway as a per-namespace
1983
+ * `<gateway>-revocations` ConfigMap, mounted read-only into
1984
+ * the gateway pod at `/etc/mcpg/revocations/`. Gateway pods
1985
+ * enforce at plugin-load time — a list update plus a pod roll
1986
+ * is the full revocation cycle.
1987
+ */
1988
+ export interface MCPGRevocationListSpec {
1989
+ /**
1990
+ * RFC3339 audit-only timestamp. The operator does not gate
1991
+ * freshness on this — it's surfaced in operator logs +
1992
+ * status for incident-response correlation.
1993
+ */
1994
+ issuedAt?: pulumi.Input<string | undefined>;
1995
+ /**
1996
+ * One entry per revoked plugin artefact. Operators consolidate
1997
+ * into a single entry per SHA-256 hash; duplicates are
1998
+ * rejected at admission.
1999
+ */
2000
+ revocations?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGRevocationListSpecRevocations>[] | undefined>;
2001
+ /**
2002
+ * Format version. Currently `1`. Unknown versions cause the
2003
+ * admission webhook to reject the resource.
2004
+ */
2005
+ version?: pulumi.Input<number | undefined>;
2006
+ }
2007
+
2008
+ /**
2009
+ * Cluster-wide list of revoked plugin SHA-256 hashes. Materialised
2010
+ * into per-namespace `mcpg-revocation-list` ConfigMaps that
2011
+ * gateway pods mount under the path declared in
2012
+ * `plugins.trust.revocation_list_path`.
2013
+ * Cluster-scoped revocation list. The operator fans this out
2014
+ * into every namespace running a gateway as a per-namespace
2015
+ * `<gateway>-revocations` ConfigMap, mounted read-only into
2016
+ * the gateway pod at `/etc/mcpg/revocations/`. Gateway pods
2017
+ * enforce at plugin-load time — a list update plus a pod roll
2018
+ * is the full revocation cycle.
2019
+ */
2020
+ export interface MCPGRevocationListSpecPatch {
2021
+ /**
2022
+ * RFC3339 audit-only timestamp. The operator does not gate
2023
+ * freshness on this — it's surfaced in operator logs +
2024
+ * status for incident-response correlation.
2025
+ */
2026
+ issuedAt?: pulumi.Input<string | undefined>;
2027
+ /**
2028
+ * One entry per revoked plugin artefact. Operators consolidate
2029
+ * into a single entry per SHA-256 hash; duplicates are
2030
+ * rejected at admission.
2031
+ */
2032
+ revocations?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGRevocationListSpecRevocationsPatch>[] | undefined>;
2033
+ /**
2034
+ * Format version. Currently `1`. Unknown versions cause the
2035
+ * admission webhook to reject the resource.
2036
+ */
2037
+ version?: pulumi.Input<number | undefined>;
2038
+ }
2039
+
2040
+ /**
2041
+ * One revoked artefact. The hash MUST be the SHA-256 of the
2042
+ * verified cdylib bytes (post-cosign-extract), not the OCI
2043
+ * manifest digest — operators want to revoke a specific
2044
+ * compiled artefact, even if it's been published under multiple
2045
+ * tags or registries.
2046
+ */
2047
+ export interface MCPGRevocationListSpecRevocations {
2048
+ /**
2049
+ * Lower-case hex, exactly 64 chars. Operators SHOULD ship
2050
+ * lowercase to match `mcpg-plugin hash` output. The
2051
+ * admission webhook normalises uppercase to lowercase.
2052
+ */
2053
+ artifactSha256?: pulumi.Input<string | undefined>;
2054
+ /**
2055
+ * Free-form reason. Surfaced in the gateway's load-time
2056
+ * error message + audit event. Empty / whitespace-only
2057
+ * reasons are rejected at admission.
2058
+ */
2059
+ reason?: pulumi.Input<string | undefined>;
2060
+ /**
2061
+ * RFC3339 timestamp the entry was issued. Audit-only.
2062
+ */
2063
+ revokedAt?: pulumi.Input<string | undefined>;
2064
+ }
2065
+
2066
+ /**
2067
+ * One revoked artefact. The hash MUST be the SHA-256 of the
2068
+ * verified cdylib bytes (post-cosign-extract), not the OCI
2069
+ * manifest digest — operators want to revoke a specific
2070
+ * compiled artefact, even if it's been published under multiple
2071
+ * tags or registries.
2072
+ */
2073
+ export interface MCPGRevocationListSpecRevocationsPatch {
2074
+ /**
2075
+ * Lower-case hex, exactly 64 chars. Operators SHOULD ship
2076
+ * lowercase to match `mcpg-plugin hash` output. The
2077
+ * admission webhook normalises uppercase to lowercase.
2078
+ */
2079
+ artifactSha256?: pulumi.Input<string | undefined>;
2080
+ /**
2081
+ * Free-form reason. Surfaced in the gateway's load-time
2082
+ * error message + audit event. Empty / whitespace-only
2083
+ * reasons are rejected at admission.
2084
+ */
2085
+ reason?: pulumi.Input<string | undefined>;
2086
+ /**
2087
+ * RFC3339 timestamp the entry was issued. Audit-only.
2088
+ */
2089
+ revokedAt?: pulumi.Input<string | undefined>;
2090
+ }
2091
+
2092
+ /**
2093
+ * Observed state for `MCPGRevocationList`. `materialised_namespaces`
2094
+ * counts the per-namespace ConfigMaps the operator has fanned
2095
+ * the list out into; `content_hash` lets ops detect rollout drift
2096
+ * across consumer namespaces.
2097
+ */
2098
+ export interface MCPGRevocationListStatus {
2099
+ /**
2100
+ * Standard `metav1.Condition[]`.
2101
+ */
2102
+ conditions?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGRevocationListStatusConditions>[] | undefined>;
2103
+ /**
2104
+ * SHA-256 fingerprint of the rendered ConfigMap content
2105
+ * (`revocations.json` key). Lets ops verify rollout status
2106
+ * without reading every namespace.
2107
+ */
2108
+ contentHash?: pulumi.Input<string | undefined>;
2109
+ lastReconcileTime?: pulumi.Input<string | undefined>;
2110
+ /**
2111
+ * Count of namespaces that have a materialised
2112
+ * `mcpg-revocation-list` ConfigMap mirroring this resource.
2113
+ */
2114
+ materialisedNamespaces?: pulumi.Input<number | undefined>;
2115
+ observedGeneration?: pulumi.Input<number | undefined>;
2116
+ /**
2117
+ * Number of entries the operator last observed in spec.
2118
+ */
2119
+ observedRevocations?: pulumi.Input<number | undefined>;
2120
+ /**
2121
+ * Plugin names (cluster-scoped `MCPGPlugin` resources) the
2122
+ * operator has flagged as `revokedBySha = true` due to
2123
+ * matches against this list.
2124
+ */
2125
+ pluginsBlocked?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2126
+ }
2127
+
2128
+ /**
2129
+ * One status condition. Serde shape matches K8s
2130
+ * `metav1.Condition` exactly so generic tooling (kubectl,
2131
+ * kustomize, Argo CD) interprets it correctly.
2132
+ */
2133
+ export interface MCPGRevocationListStatusConditions {
2134
+ /**
2135
+ * RFC3339 timestamp of the most recent transition.
2136
+ */
2137
+ lastTransitionTime?: pulumi.Input<string | undefined>;
2138
+ /**
2139
+ * Free-text human-readable detail. May be empty.
2140
+ */
2141
+ message?: pulumi.Input<string | undefined>;
2142
+ /**
2143
+ * `metadata.generation` the controller had observed when
2144
+ * it set this condition. Lets clients detect stale status.
2145
+ */
2146
+ observedGeneration?: pulumi.Input<number | undefined>;
2147
+ /**
2148
+ * CamelCase enum the operator defines per controller.
2149
+ * E.g. `AllReplicasAvailable`, `DependencyPending`,
2150
+ * `SignatureMismatch`.
2151
+ */
2152
+ reason?: pulumi.Input<string | undefined>;
2153
+ /**
2154
+ * `"True"`, `"False"`, or `"Unknown"`. K8s convention is to
2155
+ * keep this as a string (not a bool) so `Unknown` is
2156
+ * representable.
2157
+ */
2158
+ status?: pulumi.Input<string | undefined>;
2159
+ /**
2160
+ * `Ready`, `Reconciling`, `Available`, `Degraded`,
2161
+ * `Progressing`, `Failed`, plus per-CRD types.
2162
+ */
2163
+ type?: pulumi.Input<string | undefined>;
2164
+ }
2165
+
2166
+ /**
2167
+ * Auto-generated derived type for MCPGRouteSpec via `CustomResource`
2168
+ */
2169
+ export interface MCPGRoute {
2170
+ /**
2171
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2172
+ */
2173
+ apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
2174
+ /**
2175
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2176
+ */
2177
+ kind?: pulumi.Input<"MCPGRoute" | undefined>;
2178
+ /**
2179
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
2180
+ */
2181
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta | undefined>;
2182
+ spec?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGRouteSpec | undefined>;
2183
+ status?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGRouteStatus | undefined>;
2184
+ }
2185
+
2186
+ /**
2187
+ * Per-tenant route into a shared gateway.
2188
+ * Namespace-scoped route binding a tenant's tools to a shared
2189
+ * gateway, with the identity / policy / audit chains and per-tenant
2190
+ * attributes that govern them.
2191
+ */
2192
+ export interface MCPGRouteSpec {
2193
+ /**
2194
+ * Per-tenant metadata. `attributes.tenant` is special: it's the
2195
+ * identity attribute the rendered tool-access CEL rules key on
2196
+ * (`$identity.attributes.tenant == "<value>"`), so the shared
2197
+ * gateway only exposes this route's tools to that tenant's
2198
+ * callers. All attributes are also available to audit sinks for
2199
+ * per-tenant labelling.
2200
+ */
2201
+ attributes?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
2202
+ /**
2203
+ * Ordered audit-sink plugin ids for this route. Same validation +
2204
+ * enforcement caveat as `identityChain`. (The shared gateway's
2205
+ * audit sink may template `attributes` into its output — e.g. a
2206
+ * per-tenant Kafka topic — which IS enforceable today.)
2207
+ */
2208
+ auditChain?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2209
+ gatewayRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGRouteSpecGatewayRef | undefined>;
2210
+ /**
2211
+ * Ordered identity-plugin ids that should authenticate requests on
2212
+ * this route. **Validated** against the gateway's plugin set;
2213
+ * per-route dispatch is not yet enforced by the gateway runtime
2214
+ * (see the module docs + the `ChainsEnforced` status condition).
2215
+ */
2216
+ identityChain?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2217
+ match?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGRouteSpecMatch | undefined>;
2218
+ /**
2219
+ * Ordered policy-engine plugin ids for this route. Same
2220
+ * validation + enforcement caveat as `identityChain`.
2221
+ */
2222
+ policyChain?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2223
+ }
2224
+
2225
+ /**
2226
+ * The gateway this route attaches to. For soft tenancy this is a
2227
+ * cross-namespace reference to the platform team's shared gateway;
2228
+ * the gateway must list this route's namespace in
2229
+ * `spec.acceptedRouteNamespaces`.
2230
+ */
2231
+ export interface MCPGRouteSpecGatewayRef {
2232
+ /**
2233
+ * `MCPGGateway` resource name.
2234
+ */
2235
+ name?: pulumi.Input<string | undefined>;
2236
+ /**
2237
+ * Gateway namespace. Defaults to the route's own namespace when
2238
+ * unset; soft tenancy sets this to the shared-gateway namespace.
2239
+ */
2240
+ namespace?: pulumi.Input<string | undefined>;
2241
+ }
2242
+
2243
+ /**
2244
+ * The gateway this route attaches to. For soft tenancy this is a
2245
+ * cross-namespace reference to the platform team's shared gateway;
2246
+ * the gateway must list this route's namespace in
2247
+ * `spec.acceptedRouteNamespaces`.
2248
+ */
2249
+ export interface MCPGRouteSpecGatewayRefPatch {
2250
+ /**
2251
+ * `MCPGGateway` resource name.
2252
+ */
2253
+ name?: pulumi.Input<string | undefined>;
2254
+ /**
2255
+ * Gateway namespace. Defaults to the route's own namespace when
2256
+ * unset; soft tenancy sets this to the shared-gateway namespace.
2257
+ */
2258
+ namespace?: pulumi.Input<string | undefined>;
2259
+ }
2260
+
2261
+ /**
2262
+ * Which tools this route exposes through the gateway. Each matched
2263
+ * tool gets a tenant-scoped access rule rendered into the
2264
+ * gateway's `governance.policy.tool_access.rules[]`.
2265
+ */
2266
+ export interface MCPGRouteSpecMatch {
2267
+ /**
2268
+ * Tools this route exposes. Each must correspond to a binding the
2269
+ * gateway actually serves (validated at admission).
2270
+ */
2271
+ tools?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGRouteSpecMatchTools>[] | undefined>;
2272
+ }
2273
+
2274
+ /**
2275
+ * Which tools this route exposes through the gateway. Each matched
2276
+ * tool gets a tenant-scoped access rule rendered into the
2277
+ * gateway's `governance.policy.tool_access.rules[]`.
2278
+ */
2279
+ export interface MCPGRouteSpecMatchPatch {
2280
+ /**
2281
+ * Tools this route exposes. Each must correspond to a binding the
2282
+ * gateway actually serves (validated at admission).
2283
+ */
2284
+ tools?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGRouteSpecMatchToolsPatch>[] | undefined>;
2285
+ }
2286
+
2287
+ /**
2288
+ * A single tool a route exposes.
2289
+ */
2290
+ export interface MCPGRouteSpecMatchTools {
2291
+ /**
2292
+ * Tool capability id (e.g. `orders.list`).
2293
+ */
2294
+ id?: pulumi.Input<string | undefined>;
2295
+ }
2296
+
2297
+ /**
2298
+ * A single tool a route exposes.
2299
+ */
2300
+ export interface MCPGRouteSpecMatchToolsPatch {
2301
+ /**
2302
+ * Tool capability id (e.g. `orders.list`).
2303
+ */
2304
+ id?: pulumi.Input<string | undefined>;
2305
+ }
2306
+
2307
+ /**
2308
+ * Per-tenant route into a shared gateway.
2309
+ * Namespace-scoped route binding a tenant's tools to a shared
2310
+ * gateway, with the identity / policy / audit chains and per-tenant
2311
+ * attributes that govern them.
2312
+ */
2313
+ export interface MCPGRouteSpecPatch {
2314
+ /**
2315
+ * Per-tenant metadata. `attributes.tenant` is special: it's the
2316
+ * identity attribute the rendered tool-access CEL rules key on
2317
+ * (`$identity.attributes.tenant == "<value>"`), so the shared
2318
+ * gateway only exposes this route's tools to that tenant's
2319
+ * callers. All attributes are also available to audit sinks for
2320
+ * per-tenant labelling.
2321
+ */
2322
+ attributes?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
2323
+ /**
2324
+ * Ordered audit-sink plugin ids for this route. Same validation +
2325
+ * enforcement caveat as `identityChain`. (The shared gateway's
2326
+ * audit sink may template `attributes` into its output — e.g. a
2327
+ * per-tenant Kafka topic — which IS enforceable today.)
2328
+ */
2329
+ auditChain?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2330
+ gatewayRef?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGRouteSpecGatewayRefPatch | undefined>;
2331
+ /**
2332
+ * Ordered identity-plugin ids that should authenticate requests on
2333
+ * this route. **Validated** against the gateway's plugin set;
2334
+ * per-route dispatch is not yet enforced by the gateway runtime
2335
+ * (see the module docs + the `ChainsEnforced` status condition).
2336
+ */
2337
+ identityChain?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2338
+ match?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGRouteSpecMatchPatch | undefined>;
2339
+ /**
2340
+ * Ordered policy-engine plugin ids for this route. Same
2341
+ * validation + enforcement caveat as `identityChain`.
2342
+ */
2343
+ policyChain?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2344
+ }
2345
+
2346
+ /**
2347
+ * Observed state for `MCPGRoute`.
2348
+ */
2349
+ export interface MCPGRouteStatus {
2350
+ /**
2351
+ * The resolved `<namespace>/<name>` of the bound gateway. Lets ops
2352
+ * see the cross-namespace binding without parsing the ref.
2353
+ */
2354
+ boundGateway?: pulumi.Input<string | undefined>;
2355
+ /**
2356
+ * Standard `metav1.Condition[]`. Notable types:
2357
+ * - `Ready` — route accepted + tool-access rules rendered.
2358
+ * - `GatewayBound` — the referenced gateway exists and accepts
2359
+ * this route's namespace.
2360
+ * - `ChainsEnforced` — `True` only if the gateway runtime applies
2361
+ * the route's identity/policy/audit chains per-route. Today this
2362
+ * is `False` (reason `PerRouteDispatchUnsupported`): the chains
2363
+ * are validated but not dispatched per-route. The tool-access
2364
+ * scoping in `Ready` still applies.
2365
+ */
2366
+ conditions?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGRouteStatusConditions>[] | undefined>;
2367
+ lastReconcileTime?: pulumi.Input<string | undefined>;
2368
+ /**
2369
+ * Number of `match.tools` entries the operator rendered into the
2370
+ * gateway's tool-access policy.
2371
+ */
2372
+ matchedTools?: pulumi.Input<number | undefined>;
2373
+ observedGeneration?: pulumi.Input<number | undefined>;
2374
+ }
2375
+
2376
+ /**
2377
+ * One status condition. Serde shape matches K8s
2378
+ * `metav1.Condition` exactly so generic tooling (kubectl,
2379
+ * kustomize, Argo CD) interprets it correctly.
2380
+ */
2381
+ export interface MCPGRouteStatusConditions {
2382
+ /**
2383
+ * RFC3339 timestamp of the most recent transition.
2384
+ */
2385
+ lastTransitionTime?: pulumi.Input<string | undefined>;
2386
+ /**
2387
+ * Free-text human-readable detail. May be empty.
2388
+ */
2389
+ message?: pulumi.Input<string | undefined>;
2390
+ /**
2391
+ * `metadata.generation` the controller had observed when
2392
+ * it set this condition. Lets clients detect stale status.
2393
+ */
2394
+ observedGeneration?: pulumi.Input<number | undefined>;
2395
+ /**
2396
+ * CamelCase enum the operator defines per controller.
2397
+ * E.g. `AllReplicasAvailable`, `DependencyPending`,
2398
+ * `SignatureMismatch`.
2399
+ */
2400
+ reason?: pulumi.Input<string | undefined>;
2401
+ /**
2402
+ * `"True"`, `"False"`, or `"Unknown"`. K8s convention is to
2403
+ * keep this as a string (not a bool) so `Unknown` is
2404
+ * representable.
2405
+ */
2406
+ status?: pulumi.Input<string | undefined>;
2407
+ /**
2408
+ * `Ready`, `Reconciling`, `Available`, `Degraded`,
2409
+ * `Progressing`, `Failed`, plus per-CRD types.
2410
+ */
2411
+ type?: pulumi.Input<string | undefined>;
2412
+ }
2413
+
2414
+ /**
2415
+ * Auto-generated derived type for MCPGTenantSpec via `CustomResource`
2416
+ */
2417
+ export interface MCPGTenant {
2418
+ /**
2419
+ * APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2420
+ */
2421
+ apiVersion?: pulumi.Input<"mcpg.dev/v1alpha1" | undefined>;
2422
+ /**
2423
+ * Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2424
+ */
2425
+ kind?: pulumi.Input<"MCPGTenant" | undefined>;
2426
+ /**
2427
+ * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
2428
+ */
2429
+ metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta | undefined>;
2430
+ spec?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGTenantSpec | undefined>;
2431
+ status?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGTenantStatus | undefined>;
2432
+ }
2433
+
2434
+ /**
2435
+ * Declarative, cluster-admin-owned tenant boundary.
2436
+ * Cluster-scoped tenant boundary referencing existing namespaces.
2437
+ */
2438
+ export interface MCPGTenantSpec {
2439
+ /**
2440
+ * Plugin allowlist. `MCPGPluginSet`s in this tenant's namespaces
2441
+ * may only reference cluster `MCPGPlugin`s matching one of these.
2442
+ *
2443
+ * - Empty list = **deny-all** (a tenant must explicitly opt in).
2444
+ * - A single entry `{name: "*"}` = any cluster plugin.
2445
+ *
2446
+ * Each entry matches when EITHER its `name` equals the plugin's
2447
+ * resource name / capability id, OR the plugin's OCI `image`
2448
+ * starts with `registryPrefix`.
2449
+ */
2450
+ allowedPlugins?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGTenantSpecAllowedPlugins>[] | undefined>;
2451
+ identityAttribute?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGTenantSpecIdentityAttribute | undefined>;
2452
+ /**
2453
+ * Namespaces this tenant owns. Per-namespace RBAC, the generated
2454
+ * `ResourceQuota`, the plugin allowlist, and the replica cap apply
2455
+ * to exactly these. Namespaces are EXCLUSIVELY owned — a namespace
2456
+ * may belong to at most one `MCPGTenant` (admission rejects
2457
+ * overlap). The operator does **not** create these namespaces; it
2458
+ * references existing ones.
2459
+ */
2460
+ namespaces?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2461
+ quotas?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGTenantSpecQuotas | undefined>;
2462
+ }
2463
+
2464
+ /**
2465
+ * One plugin-allowlist matcher. At least one of `name` /
2466
+ * `registryPrefix` should be set; an entry with neither matches
2467
+ * nothing (and is rejected at admission).
2468
+ */
2469
+ export interface MCPGTenantSpecAllowedPlugins {
2470
+ /**
2471
+ * Match by the `MCPGPlugin` resource name or the plugin
2472
+ * capability id (e.g. `identity-workload` or
2473
+ * `dev.mcpg.identity.workload`). The literal `*` matches any
2474
+ * plugin.
2475
+ */
2476
+ name?: pulumi.Input<string | undefined>;
2477
+ /**
2478
+ * Match when the referenced plugin's OCI `image` starts with this
2479
+ * prefix (e.g. `ghcr.io/mcpg-dev/source-code/plugins/`).
2480
+ */
2481
+ registryPrefix?: pulumi.Input<string | undefined>;
2482
+ }
2483
+
2484
+ /**
2485
+ * One plugin-allowlist matcher. At least one of `name` /
2486
+ * `registryPrefix` should be set; an entry with neither matches
2487
+ * nothing (and is rejected at admission).
2488
+ */
2489
+ export interface MCPGTenantSpecAllowedPluginsPatch {
2490
+ /**
2491
+ * Match by the `MCPGPlugin` resource name or the plugin
2492
+ * capability id (e.g. `identity-workload` or
2493
+ * `dev.mcpg.identity.workload`). The literal `*` matches any
2494
+ * plugin.
2495
+ */
2496
+ name?: pulumi.Input<string | undefined>;
2497
+ /**
2498
+ * Match when the referenced plugin's OCI `image` starts with this
2499
+ * prefix (e.g. `ghcr.io/mcpg-dev/source-code/plugins/`).
2500
+ */
2501
+ registryPrefix?: pulumi.Input<string | undefined>;
2502
+ }
2503
+
2504
+ /**
2505
+ * Optional. The identity attribute the operator stamps into the
2506
+ * gateway's runtime `tool_access` policy so a tenant's gateways and
2507
+ * routes share one identity boundary. When unset, `MCPGTenant`
2508
+ * performs no gateway-config rendering at all (pure RBAC + admission
2509
+ * object).
2510
+ */
2511
+ export interface MCPGTenantSpecIdentityAttribute {
2512
+ /**
2513
+ * Attribute key. Conventionally `tenant`.
2514
+ */
2515
+ key?: pulumi.Input<string | undefined>;
2516
+ /**
2517
+ * Attribute value identifying this tenant (e.g. the tenant name).
2518
+ */
2519
+ value?: pulumi.Input<string | undefined>;
2520
+ }
2521
+
2522
+ /**
2523
+ * Optional. The identity attribute the operator stamps into the
2524
+ * gateway's runtime `tool_access` policy so a tenant's gateways and
2525
+ * routes share one identity boundary. When unset, `MCPGTenant`
2526
+ * performs no gateway-config rendering at all (pure RBAC + admission
2527
+ * object).
2528
+ */
2529
+ export interface MCPGTenantSpecIdentityAttributePatch {
2530
+ /**
2531
+ * Attribute key. Conventionally `tenant`.
2532
+ */
2533
+ key?: pulumi.Input<string | undefined>;
2534
+ /**
2535
+ * Attribute value identifying this tenant (e.g. the tenant name).
2536
+ */
2537
+ value?: pulumi.Input<string | undefined>;
2538
+ }
2539
+
2540
+ /**
2541
+ * Declarative, cluster-admin-owned tenant boundary.
2542
+ * Cluster-scoped tenant boundary referencing existing namespaces.
2543
+ */
2544
+ export interface MCPGTenantSpecPatch {
2545
+ /**
2546
+ * Plugin allowlist. `MCPGPluginSet`s in this tenant's namespaces
2547
+ * may only reference cluster `MCPGPlugin`s matching one of these.
2548
+ *
2549
+ * - Empty list = **deny-all** (a tenant must explicitly opt in).
2550
+ * - A single entry `{name: "*"}` = any cluster plugin.
2551
+ *
2552
+ * Each entry matches when EITHER its `name` equals the plugin's
2553
+ * resource name / capability id, OR the plugin's OCI `image`
2554
+ * starts with `registryPrefix`.
2555
+ */
2556
+ allowedPlugins?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGTenantSpecAllowedPluginsPatch>[] | undefined>;
2557
+ identityAttribute?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGTenantSpecIdentityAttributePatch | undefined>;
2558
+ /**
2559
+ * Namespaces this tenant owns. Per-namespace RBAC, the generated
2560
+ * `ResourceQuota`, the plugin allowlist, and the replica cap apply
2561
+ * to exactly these. Namespaces are EXCLUSIVELY owned — a namespace
2562
+ * may belong to at most one `MCPGTenant` (admission rejects
2563
+ * overlap). The operator does **not** create these namespaces; it
2564
+ * references existing ones.
2565
+ */
2566
+ namespaces?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2567
+ quotas?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGTenantSpecQuotasPatch | undefined>;
2568
+ }
2569
+
2570
+ /**
2571
+ * Hard quotas, enforced synchronously (replica cap at admission;
2572
+ * counts via a generated per-namespace `ResourceQuota`). Unset =
2573
+ * no quota.
2574
+ */
2575
+ export interface MCPGTenantSpecQuotas {
2576
+ /**
2577
+ * Max `MCPGGateway`s per owned namespace (count quota →
2578
+ * `ResourceQuota`).
2579
+ */
2580
+ maxGateways?: pulumi.Input<number | undefined>;
2581
+ /**
2582
+ * Max `MCPGPluginSet`s per owned namespace.
2583
+ */
2584
+ maxPluginSets?: pulumi.Input<number | undefined>;
2585
+ /**
2586
+ * Per-gateway replica ceiling. A *field* constraint (not a count),
2587
+ * so it has no admission race and is webhook-only.
2588
+ */
2589
+ maxReplicasPerGateway?: pulumi.Input<number | undefined>;
2590
+ /**
2591
+ * Max `MCPGRoute`s per owned namespace.
2592
+ */
2593
+ maxRoutes?: pulumi.Input<number | undefined>;
2594
+ }
2595
+
2596
+ /**
2597
+ * Hard quotas, enforced synchronously (replica cap at admission;
2598
+ * counts via a generated per-namespace `ResourceQuota`). Unset =
2599
+ * no quota.
2600
+ */
2601
+ export interface MCPGTenantSpecQuotasPatch {
2602
+ /**
2603
+ * Max `MCPGGateway`s per owned namespace (count quota →
2604
+ * `ResourceQuota`).
2605
+ */
2606
+ maxGateways?: pulumi.Input<number | undefined>;
2607
+ /**
2608
+ * Max `MCPGPluginSet`s per owned namespace.
2609
+ */
2610
+ maxPluginSets?: pulumi.Input<number | undefined>;
2611
+ /**
2612
+ * Per-gateway replica ceiling. A *field* constraint (not a count),
2613
+ * so it has no admission race and is webhook-only.
2614
+ */
2615
+ maxReplicasPerGateway?: pulumi.Input<number | undefined>;
2616
+ /**
2617
+ * Max `MCPGRoute`s per owned namespace.
2618
+ */
2619
+ maxRoutes?: pulumi.Input<number | undefined>;
2620
+ }
2621
+
2622
+ /**
2623
+ * Observed state for `MCPGTenant`.
2624
+ */
2625
+ export interface MCPGTenantStatus {
2626
+ /**
2627
+ * Namespaces the operator successfully bound (exist + labelled +
2628
+ * RBAC/quota applied). A subset of `spec.namespaces` when some are
2629
+ * missing.
2630
+ */
2631
+ boundNamespaces?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2632
+ /**
2633
+ * Standard `metav1.Condition[]`. Notable types:
2634
+ * - `Ready` — RBAC + `ResourceQuota` materialised for all bound
2635
+ * namespaces.
2636
+ * - `NamespacesBound` — every `spec.namespaces` exists and is
2637
+ * labelled `mcpg.dev/tenant=<name>`.
2638
+ * - `QuotaWithinLimits` — `False` (soft signal, not a gate) when an
2639
+ * owned namespace already holds more resources than the quota
2640
+ * allows; the generated `ResourceQuota` still admits the existing
2641
+ * objects and blocks only new ones.
2642
+ */
2643
+ conditions?: pulumi.Input<pulumi.Input<inputs.mcpg.v1alpha1.MCPGTenantStatusConditions>[] | undefined>;
2644
+ lastReconcileTime?: pulumi.Input<string | undefined>;
2645
+ observed?: pulumi.Input<inputs.mcpg.v1alpha1.MCPGTenantStatusObserved | undefined>;
2646
+ observedGeneration?: pulumi.Input<number | undefined>;
2647
+ }
2648
+
2649
+ /**
2650
+ * One status condition. Serde shape matches K8s
2651
+ * `metav1.Condition` exactly so generic tooling (kubectl,
2652
+ * kustomize, Argo CD) interprets it correctly.
2653
+ */
2654
+ export interface MCPGTenantStatusConditions {
2655
+ /**
2656
+ * RFC3339 timestamp of the most recent transition.
2657
+ */
2658
+ lastTransitionTime?: pulumi.Input<string | undefined>;
2659
+ /**
2660
+ * Free-text human-readable detail. May be empty.
2661
+ */
2662
+ message?: pulumi.Input<string | undefined>;
2663
+ /**
2664
+ * `metadata.generation` the controller had observed when
2665
+ * it set this condition. Lets clients detect stale status.
2666
+ */
2667
+ observedGeneration?: pulumi.Input<number | undefined>;
2668
+ /**
2669
+ * CamelCase enum the operator defines per controller.
2670
+ * E.g. `AllReplicasAvailable`, `DependencyPending`,
2671
+ * `SignatureMismatch`.
2672
+ */
2673
+ reason?: pulumi.Input<string | undefined>;
2674
+ /**
2675
+ * `"True"`, `"False"`, or `"Unknown"`. K8s convention is to
2676
+ * keep this as a string (not a bool) so `Unknown` is
2677
+ * representable.
2678
+ */
2679
+ status?: pulumi.Input<string | undefined>;
2680
+ /**
2681
+ * `Ready`, `Reconciling`, `Available`, `Degraded`,
2682
+ * `Progressing`, `Failed`, plus per-CRD types.
2683
+ */
2684
+ type?: pulumi.Input<string | undefined>;
2685
+ }
2686
+
2687
+ /**
2688
+ * Observed counts across owned namespaces. Observability only —
2689
+ * **never** the enforcement point for quota (that's the generated
2690
+ * `ResourceQuota`).
2691
+ */
2692
+ export interface MCPGTenantStatusObserved {
2693
+ gateways?: pulumi.Input<number | undefined>;
2694
+ pluginSets?: pulumi.Input<number | undefined>;
2695
+ routes?: pulumi.Input<number | undefined>;
2696
+ }
2697
+
2698
+ }
2699
+ }
2700
+
2701
+ export namespace meta {
2702
+ export namespace v1 {
2703
+ /**
2704
+ * ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
2705
+ */
2706
+ export interface ListMeta {
2707
+ /**
2708
+ * continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.
2709
+ */
2710
+ continue?: pulumi.Input<string | undefined>;
2711
+ /**
2712
+ * remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.
2713
+ */
2714
+ remainingItemCount?: pulumi.Input<number | undefined>;
2715
+ /**
2716
+ * String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
2717
+ */
2718
+ resourceVersion?: pulumi.Input<string | undefined>;
2719
+ /**
2720
+ * Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
2721
+ */
2722
+ selfLink?: pulumi.Input<string | undefined>;
2723
+ /**
2724
+ * shardInfo is set when the list is a filtered subset of the full collection, as selected by a shard selector on the request. It echoes back the selector so clients can verify which shard they received and merge sharded responses. Clients should not cache sharded list responses as a full representation of the collection.
2725
+ *
2726
+ * This is an alpha field and requires enabling the ShardedListAndWatch feature gate.
2727
+ */
2728
+ shardInfo?: pulumi.Input<inputs.meta.v1.ShardInfo | undefined>;
2729
+ }
2730
+
2731
+ /**
2732
+ * ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.
2733
+ */
2734
+ export interface ManagedFieldsEntry {
2735
+ /**
2736
+ * APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.
2737
+ */
2738
+ apiVersion?: pulumi.Input<string | undefined>;
2739
+ /**
2740
+ * FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1"
2741
+ */
2742
+ fieldsType?: pulumi.Input<string | undefined>;
2743
+ /**
2744
+ * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
2745
+ */
2746
+ fieldsV1?: any | undefined;
2747
+ /**
2748
+ * Manager is an identifier of the workflow managing these fields.
2749
+ */
2750
+ manager?: pulumi.Input<string | undefined>;
2751
+ /**
2752
+ * Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.
2753
+ */
2754
+ operation?: pulumi.Input<string | undefined>;
2755
+ /**
2756
+ * Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.
2757
+ */
2758
+ subresource?: pulumi.Input<string | undefined>;
2759
+ /**
2760
+ * Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.
2761
+ */
2762
+ time?: pulumi.Input<string | undefined>;
2763
+ }
2764
+
2765
+ /**
2766
+ * ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.
2767
+ */
2768
+ export interface ManagedFieldsEntryPatch {
2769
+ /**
2770
+ * APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.
2771
+ */
2772
+ apiVersion?: pulumi.Input<string | undefined>;
2773
+ /**
2774
+ * FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1"
2775
+ */
2776
+ fieldsType?: pulumi.Input<string | undefined>;
2777
+ /**
2778
+ * FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
2779
+ */
2780
+ fieldsV1?: any | undefined;
2781
+ /**
2782
+ * Manager is an identifier of the workflow managing these fields.
2783
+ */
2784
+ manager?: pulumi.Input<string | undefined>;
2785
+ /**
2786
+ * Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.
2787
+ */
2788
+ operation?: pulumi.Input<string | undefined>;
2789
+ /**
2790
+ * Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.
2791
+ */
2792
+ subresource?: pulumi.Input<string | undefined>;
2793
+ /**
2794
+ * Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.
2795
+ */
2796
+ time?: pulumi.Input<string | undefined>;
2797
+ }
2798
+
2799
+ /**
2800
+ * ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
2801
+ */
2802
+ export interface ObjectMeta {
2803
+ /**
2804
+ * Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
2805
+ */
2806
+ annotations?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
2807
+ /**
2808
+ * CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
2809
+ *
2810
+ * Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
2811
+ */
2812
+ creationTimestamp?: pulumi.Input<string | undefined>;
2813
+ /**
2814
+ * Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.
2815
+ */
2816
+ deletionGracePeriodSeconds?: pulumi.Input<number | undefined>;
2817
+ /**
2818
+ * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.
2819
+ *
2820
+ * Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
2821
+ */
2822
+ deletionTimestamp?: pulumi.Input<string | undefined>;
2823
+ /**
2824
+ * Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.
2825
+ */
2826
+ finalizers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2827
+ /**
2828
+ * GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.
2829
+ *
2830
+ * If this field is specified and the generated name exists, the server will return a 409.
2831
+ *
2832
+ * Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
2833
+ */
2834
+ generateName?: pulumi.Input<string | undefined>;
2835
+ /**
2836
+ * A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
2837
+ */
2838
+ generation?: pulumi.Input<number | undefined>;
2839
+ /**
2840
+ * Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
2841
+ */
2842
+ labels?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
2843
+ /**
2844
+ * ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object.
2845
+ */
2846
+ managedFields?: pulumi.Input<pulumi.Input<inputs.meta.v1.ManagedFieldsEntry>[] | undefined>;
2847
+ /**
2848
+ * Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
2849
+ */
2850
+ name?: pulumi.Input<string | undefined>;
2851
+ /**
2852
+ * Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.
2853
+ *
2854
+ * Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
2855
+ */
2856
+ namespace?: pulumi.Input<string | undefined>;
2857
+ /**
2858
+ * List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
2859
+ */
2860
+ ownerReferences?: pulumi.Input<pulumi.Input<inputs.meta.v1.OwnerReference>[] | undefined>;
2861
+ /**
2862
+ * An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.
2863
+ *
2864
+ * Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
2865
+ */
2866
+ resourceVersion?: pulumi.Input<string | undefined>;
2867
+ /**
2868
+ * Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
2869
+ */
2870
+ selfLink?: pulumi.Input<string | undefined>;
2871
+ /**
2872
+ * UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
2873
+ *
2874
+ * Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
2875
+ */
2876
+ uid?: pulumi.Input<string | undefined>;
2877
+ }
2878
+
2879
+ /**
2880
+ * ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
2881
+ */
2882
+ export interface ObjectMetaPatch {
2883
+ /**
2884
+ * Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
2885
+ */
2886
+ annotations?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
2887
+ /**
2888
+ * CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
2889
+ *
2890
+ * Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
2891
+ */
2892
+ creationTimestamp?: pulumi.Input<string | undefined>;
2893
+ /**
2894
+ * Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.
2895
+ */
2896
+ deletionGracePeriodSeconds?: pulumi.Input<number | undefined>;
2897
+ /**
2898
+ * DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.
2899
+ *
2900
+ * Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
2901
+ */
2902
+ deletionTimestamp?: pulumi.Input<string | undefined>;
2903
+ /**
2904
+ * Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.
2905
+ */
2906
+ finalizers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2907
+ /**
2908
+ * GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.
2909
+ *
2910
+ * If this field is specified and the generated name exists, the server will return a 409.
2911
+ *
2912
+ * Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
2913
+ */
2914
+ generateName?: pulumi.Input<string | undefined>;
2915
+ /**
2916
+ * A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.
2917
+ */
2918
+ generation?: pulumi.Input<number | undefined>;
2919
+ /**
2920
+ * Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
2921
+ */
2922
+ labels?: pulumi.Input<{[key: string]: pulumi.Input<string>} | undefined>;
2923
+ /**
2924
+ * ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like "ci-cd". The set of fields is always in the version that the workflow used when modifying the object.
2925
+ */
2926
+ managedFields?: pulumi.Input<pulumi.Input<inputs.meta.v1.ManagedFieldsEntryPatch>[] | undefined>;
2927
+ /**
2928
+ * Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
2929
+ */
2930
+ name?: pulumi.Input<string | undefined>;
2931
+ /**
2932
+ * Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the "default" namespace, but "default" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.
2933
+ *
2934
+ * Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
2935
+ */
2936
+ namespace?: pulumi.Input<string | undefined>;
2937
+ /**
2938
+ * List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.
2939
+ */
2940
+ ownerReferences?: pulumi.Input<pulumi.Input<inputs.meta.v1.OwnerReferencePatch>[] | undefined>;
2941
+ /**
2942
+ * An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.
2943
+ *
2944
+ * Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
2945
+ */
2946
+ resourceVersion?: pulumi.Input<string | undefined>;
2947
+ /**
2948
+ * Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.
2949
+ */
2950
+ selfLink?: pulumi.Input<string | undefined>;
2951
+ /**
2952
+ * UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
2953
+ *
2954
+ * Populated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
2955
+ */
2956
+ uid?: pulumi.Input<string | undefined>;
2957
+ }
2958
+
2959
+ /**
2960
+ * OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.
2961
+ */
2962
+ export interface OwnerReference {
2963
+ /**
2964
+ * API version of the referent.
2965
+ */
2966
+ apiVersion: pulumi.Input<string>;
2967
+ /**
2968
+ * If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
2969
+ */
2970
+ blockOwnerDeletion?: pulumi.Input<boolean | undefined>;
2971
+ /**
2972
+ * If true, this reference points to the managing controller.
2973
+ */
2974
+ controller?: pulumi.Input<boolean | undefined>;
2975
+ /**
2976
+ * Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
2977
+ */
2978
+ kind: pulumi.Input<string>;
2979
+ /**
2980
+ * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
2981
+ */
2982
+ name: pulumi.Input<string>;
2983
+ /**
2984
+ * UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
2985
+ */
2986
+ uid: pulumi.Input<string>;
2987
+ }
2988
+
2989
+ /**
2990
+ * OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.
2991
+ */
2992
+ export interface OwnerReferencePatch {
2993
+ /**
2994
+ * API version of the referent.
2995
+ */
2996
+ apiVersion?: pulumi.Input<string | undefined>;
2997
+ /**
2998
+ * If true, AND if the owner has the "foregroundDeletion" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.
2999
+ */
3000
+ blockOwnerDeletion?: pulumi.Input<boolean | undefined>;
3001
+ /**
3002
+ * If true, this reference points to the managing controller.
3003
+ */
3004
+ controller?: pulumi.Input<boolean | undefined>;
3005
+ /**
3006
+ * Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3007
+ */
3008
+ kind?: pulumi.Input<string | undefined>;
3009
+ /**
3010
+ * Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
3011
+ */
3012
+ name?: pulumi.Input<string | undefined>;
3013
+ /**
3014
+ * UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
3015
+ */
3016
+ uid?: pulumi.Input<string | undefined>;
3017
+ }
3018
+
3019
+ /**
3020
+ * ShardInfo describes the shard selector that was applied to produce a list response. Its presence on a list response indicates the list is a filtered subset.
3021
+ */
3022
+ export interface ShardInfo {
3023
+ /**
3024
+ * selector is the shard selector string from the request, echoed back so clients can verify which shard they received and merge responses from multiple shards.
3025
+ */
3026
+ selector: pulumi.Input<string>;
3027
+ }
3028
+
3029
+ }
3030
+ }