Skip to content

Commit d8c4aaa

Browse files
authored
chore(nauth.io): update to v0.7.0-rc.1 (#893)
1 parent 5f127a5 commit d8c4aaa

5 files changed

Lines changed: 899 additions & 18 deletions

File tree

nauth.io/account_v1alpha1.json

Lines changed: 194 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"description": "Account is the Schema for the accounts API.",
2+
"description": "Account is the composite resource for the accounts API.",
33
"properties": {
44
"apiVersion": {
55
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -45,6 +45,10 @@
4545
"type": "object",
4646
"additionalProperties": false
4747
},
48+
"displayName": {
49+
"description": "DisplayName is an optional name for the NATS resource representing the account. May be derived if absent.",
50+
"type": "string"
51+
},
4852
"exports": {
4953
"items": {
5054
"properties": {
@@ -176,6 +180,10 @@
176180
},
177181
"type": "array"
178182
},
183+
"jetStreamEnabled": {
184+
"description": "JetStreamEnabled indicates whether JetStream should be explicitly enabled or disabled.\nIf absent, JetStream will be implicitly enabled/disabled based on the effective JetStreamLimits.",
185+
"type": "boolean"
186+
},
179187
"jetStreamLimits": {
180188
"properties": {
181189
"consumer": {
@@ -221,6 +229,24 @@
221229
"type": "object",
222230
"additionalProperties": false
223231
},
232+
"natsClusterRef": {
233+
"description": "NatsClusterRef references the NatsCluster to use for this account.\nIf not specified, the controller uses the operator-level NATS_CLUSTER_REF when configured.\nOtherwise, reconciliation fails because the target NatsCluster cannot be resolved.",
234+
"properties": {
235+
"name": {
236+
"description": "Name of the NatsCluster",
237+
"type": "string"
238+
},
239+
"namespace": {
240+
"description": "Namespace of the NatsCluster",
241+
"type": "string"
242+
}
243+
},
244+
"required": [
245+
"name"
246+
],
247+
"type": "object",
248+
"additionalProperties": false
249+
},
224250
"natsLimits": {
225251
"properties": {
226252
"data": {
@@ -249,6 +275,151 @@
249275
"status": {
250276
"description": "AccountStatus defines the observed state of Account.",
251277
"properties": {
278+
"adoptions": {
279+
"description": "AccountAdoptions defines the status of child resources that have been adopted or are candidates for adoption by this account.",
280+
"properties": {
281+
"exports": {
282+
"description": "Exports defines adoptions of type `AccountExport` that are bound to the account.",
283+
"items": {
284+
"properties": {
285+
"name": {
286+
"description": "Name the child resource name",
287+
"minLength": 1,
288+
"type": "string"
289+
},
290+
"observedGeneration": {
291+
"description": "ObservedGeneration refers to the observed generation of the child resource.",
292+
"format": "int64",
293+
"minimum": 0,
294+
"type": "integer"
295+
},
296+
"status": {
297+
"description": "Status of the adoption",
298+
"properties": {
299+
"desiredClaimObservedGeneration": {
300+
"description": "DesiredClaimObservedGeneration refers to the observed generation of the child resource desired claim.",
301+
"format": "int64",
302+
"minimum": 0,
303+
"type": "integer"
304+
},
305+
"message": {
306+
"description": "Message is a human-readable message indicating details about the adoption.",
307+
"maxLength": 32768,
308+
"type": "string"
309+
},
310+
"reason": {
311+
"description": "Reason contains a programmatic identifier indicating the reason for the adoption's last transition.\nThe value should be a CamelCase string.\nThis field may not be empty.",
312+
"maxLength": 1024,
313+
"minLength": 1,
314+
"pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$",
315+
"type": "string"
316+
},
317+
"status": {
318+
"description": "Status of the adoption, one of True, False, Unknown.",
319+
"enum": [
320+
"True",
321+
"False",
322+
"Unknown"
323+
],
324+
"type": "string"
325+
}
326+
},
327+
"required": [
328+
"reason",
329+
"status"
330+
],
331+
"type": "object",
332+
"additionalProperties": false
333+
},
334+
"uid": {
335+
"description": "UID of the child resource UID",
336+
"type": "string"
337+
}
338+
},
339+
"required": [
340+
"name",
341+
"observedGeneration",
342+
"status",
343+
"uid"
344+
],
345+
"type": "object",
346+
"additionalProperties": false
347+
},
348+
"type": "array"
349+
},
350+
"imports": {
351+
"description": "Imports defines adoptions of type `AccountImport` that are bound to the account.",
352+
"items": {
353+
"properties": {
354+
"name": {
355+
"description": "Name the child resource name",
356+
"minLength": 1,
357+
"type": "string"
358+
},
359+
"observedGeneration": {
360+
"description": "ObservedGeneration refers to the observed generation of the child resource.",
361+
"format": "int64",
362+
"minimum": 0,
363+
"type": "integer"
364+
},
365+
"status": {
366+
"description": "Status of the adoption",
367+
"properties": {
368+
"desiredClaimObservedGeneration": {
369+
"description": "DesiredClaimObservedGeneration refers to the observed generation of the child resource desired claim.",
370+
"format": "int64",
371+
"minimum": 0,
372+
"type": "integer"
373+
},
374+
"message": {
375+
"description": "Message is a human-readable message indicating details about the adoption.",
376+
"maxLength": 32768,
377+
"type": "string"
378+
},
379+
"reason": {
380+
"description": "Reason contains a programmatic identifier indicating the reason for the adoption's last transition.\nThe value should be a CamelCase string.\nThis field may not be empty.",
381+
"maxLength": 1024,
382+
"minLength": 1,
383+
"pattern": "^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$",
384+
"type": "string"
385+
},
386+
"status": {
387+
"description": "Status of the adoption, one of True, False, Unknown.",
388+
"enum": [
389+
"True",
390+
"False",
391+
"Unknown"
392+
],
393+
"type": "string"
394+
}
395+
},
396+
"required": [
397+
"reason",
398+
"status"
399+
],
400+
"type": "object",
401+
"additionalProperties": false
402+
},
403+
"uid": {
404+
"description": "UID of the child resource UID",
405+
"type": "string"
406+
}
407+
},
408+
"required": [
409+
"name",
410+
"observedGeneration",
411+
"status",
412+
"uid"
413+
],
414+
"type": "object",
415+
"additionalProperties": false
416+
},
417+
"type": "array"
418+
}
419+
},
420+
"type": "object",
421+
"additionalProperties": false
422+
},
252423
"claims": {
253424
"properties": {
254425
"accountLimits": {
@@ -281,6 +452,9 @@
281452
"type": "object",
282453
"additionalProperties": false
283454
},
455+
"displayName": {
456+
"type": "string"
457+
},
284458
"exports": {
285459
"items": {
286460
"properties": {
@@ -412,6 +586,9 @@
412586
},
413587
"type": "array"
414588
},
589+
"jetStreamEnabled": {
590+
"type": "boolean"
591+
},
415592
"jetStreamLimits": {
416593
"properties": {
417594
"consumer": {
@@ -477,11 +654,27 @@
477654
},
478655
"type": "object",
479656
"additionalProperties": false
657+
},
658+
"signingKeys": {
659+
"items": {
660+
"properties": {
661+
"key": {
662+
"type": "string"
663+
}
664+
},
665+
"type": "object",
666+
"additionalProperties": false
667+
},
668+
"type": "array"
480669
}
481670
},
482671
"type": "object",
483672
"additionalProperties": false
484673
},
674+
"claimsHash": {
675+
"description": "ClaimsHash is a hash of the Account JWT claims, used to determine if the claims have changed and a new JWT needs to be generated.",
676+
"type": "string"
677+
},
485678
"conditions": {
486679
"items": {
487680
"description": "Condition contains details for one aspect of the current state of this API Resource.",
@@ -551,23 +744,6 @@
551744
"reconcileTimestamp": {
552745
"format": "date-time",
553746
"type": "string"
554-
},
555-
"signingKey": {
556-
"properties": {
557-
"creationDate": {
558-
"format": "date-time",
559-
"type": "string"
560-
},
561-
"expirationDate": {
562-
"format": "date-time",
563-
"type": "string"
564-
},
565-
"name": {
566-
"type": "string"
567-
}
568-
},
569-
"type": "object",
570-
"additionalProperties": false
571747
}
572748
},
573749
"type": "object",

0 commit comments

Comments
 (0)