Skip to content

Commit c9a4a96

Browse files
authored
Fix XRD field inconsistencies and update to crossplane-system namespace (#85)
* Align XRD and composition fields in examples Signed-off-by: Yury Tsarev <[email protected]> * upbound-system -> crossplane-system Signed-off-by: Yury Tsarev <[email protected]> --------- Signed-off-by: Yury Tsarev <[email protected]>
1 parent b362273 commit c9a4a96

24 files changed

+52
-30
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ spec:
490490
- name: azure-creds
491491
source: Secret
492492
secretRef:
493-
namespace: upbound-system
493+
namespace: crossplane-system
494494
name: azure-account-creds
495495
requirements:
496496
requiredResources:
@@ -535,7 +535,7 @@ spec:
535535
- name: azure-creds
536536
source: Secret
537537
secretRef:
538-
namespace: upbound-system
538+
namespace: crossplane-system
539539
name: azure-account-creds
540540
```
541541

example/definition.yaml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,26 +57,48 @@ spec:
5757
description: XRStatus defines the observed state of XR.
5858
type: object
5959
properties:
60+
group:
61+
description: Single group for groupRef status references
62+
type: object
63+
properties:
64+
name:
65+
description: Group name for status.group.name references
66+
type: string
67+
groups:
68+
description: List of group names for groupsRef status references
69+
type: array
70+
items:
71+
type: string
72+
users:
73+
description: List of user emails for usersRef status references
74+
type: array
75+
items:
76+
type: string
77+
servicePrincipalNames:
78+
description: List of service principal names for servicePrincipalsRef status references
79+
type: array
80+
items:
81+
type: string
6082
groupMembers:
61-
description: Freeform field containing query results from function-msgraph
83+
description: GroupMembership msgraph query results
6284
type: array
6385
items:
6486
type: object
6587
x-kubernetes-preserve-unknown-fields: true
6688
validatedUsers:
67-
description: Freeform field containing query results from function-msgraph
89+
description: UserValidation msgraph query results
6890
type: array
6991
items:
7092
type: object
7193
x-kubernetes-preserve-unknown-fields: true
7294
groupObjectIDs:
73-
description: Freeform field containing query results from function-msgraph
95+
description: GroupObjectIDs msgraph query results
7496
type: array
7597
items:
7698
type: object
7799
x-kubernetes-preserve-unknown-fields: true
78100
servicePrincipals:
79-
description: Freeform field containing query results from function-msgraph
101+
description: ServicePrincipalDetails msgraph query results
80102
type: array
81103
items:
82104
type: object

example/group-membership-example-context-ref.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ spec:
3535
- name: azure-creds
3636
source: Secret
3737
secretRef:
38-
namespace: upbound-system
38+
namespace: crossplane-system
3939
name: azure-account-creds

example/group-membership-example-spec-ref.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ spec:
3131
- name: azure-creds
3232
source: Secret
3333
secretRef:
34-
namespace: upbound-system
34+
namespace: crossplane-system
3535
name: azure-account-creds

example/group-membership-example-status-ref.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ spec:
2424
- name: azure-creds
2525
source: Secret
2626
secretRef:
27-
namespace: upbound-system
27+
namespace: crossplane-system
2828
name: azure-account-creds

example/group-membership-example.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ spec:
3030
- name: azure-creds
3131
source: Secret
3232
secretRef:
33-
namespace: upbound-system
33+
namespace: crossplane-system
3434
name: azure-account-creds

example/group-objectids-example-context-ref.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ spec:
3333
- name: azure-creds
3434
source: Secret
3535
secretRef:
36-
namespace: upbound-system
36+
namespace: crossplane-system
3737
name: azure-account-creds

example/group-objectids-example-spec-ref.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ spec:
2727
- name: azure-creds
2828
source: Secret
2929
secretRef:
30-
namespace: upbound-system
30+
namespace: crossplane-system
3131
name: azure-account-creds

example/group-objectids-example-status-ref.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ spec:
2626
- name: azure-creds
2727
source: Secret
2828
secretRef:
29-
namespace: upbound-system
29+
namespace: crossplane-system
3030
name: azure-account-creds

example/group-objectids-example.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ spec:
3030
- name: azure-creds
3131
source: Secret
3232
secretRef:
33-
namespace: upbound-system
33+
namespace: crossplane-system
3434
name: azure-account-creds

0 commit comments

Comments
 (0)