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