Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
requirements:
requiredResources:
Expand Down Expand Up @@ -535,7 +535,7 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
```

Expand Down
30 changes: 26 additions & 4 deletions example/definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,26 +57,48 @@ spec:
description: XRStatus defines the observed state of XR.
type: object
properties:
group:
description: Single group for groupRef status references
type: object
properties:
name:
description: Group name for status.group.name references
type: string
groups:
description: List of group names for groupsRef status references
type: array
items:
type: string
users:
description: List of user emails for usersRef status references
type: array
items:
type: string
servicePrincipalNames:
description: List of service principal names for servicePrincipalsRef status references
type: array
items:
type: string
groupMembers:
description: Freeform field containing query results from function-msgraph
description: GroupMembership msgraph query results
type: array
items:
type: object
x-kubernetes-preserve-unknown-fields: true
validatedUsers:
description: Freeform field containing query results from function-msgraph
description: UserValidation msgraph query results
type: array
items:
type: object
x-kubernetes-preserve-unknown-fields: true
groupObjectIDs:
description: Freeform field containing query results from function-msgraph
description: GroupObjectIDs msgraph query results
type: array
items:
type: object
x-kubernetes-preserve-unknown-fields: true
servicePrincipals:
description: Freeform field containing query results from function-msgraph
description: ServicePrincipalDetails msgraph query results
type: array
items:
type: object
Expand Down
2 changes: 1 addition & 1 deletion example/group-membership-example-context-ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
2 changes: 1 addition & 1 deletion example/group-membership-example-spec-ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
2 changes: 1 addition & 1 deletion example/group-membership-example-status-ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
2 changes: 1 addition & 1 deletion example/group-membership-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
2 changes: 1 addition & 1 deletion example/group-objectids-example-context-ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
2 changes: 1 addition & 1 deletion example/group-objectids-example-spec-ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
2 changes: 1 addition & 1 deletion example/group-objectids-example-status-ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
2 changes: 1 addition & 1 deletion example/group-objectids-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
2 changes: 1 addition & 1 deletion example/identity-type-workload-identity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-workload-identity-creds
2 changes: 1 addition & 1 deletion example/operations/cronoperation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
requirements:
requiredResources:
Expand Down
2 changes: 1 addition & 1 deletion example/operations/operation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
requirements:
requiredResources:
Expand Down
2 changes: 1 addition & 1 deletion example/operations/watchoperation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
2 changes: 1 addition & 1 deletion example/secrets/azure-creds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ data:
kind: Secret
metadata:
name: azure-account-creds
namespace: upbound-system
namespace: crossplane-system
type: Opaque
2 changes: 1 addition & 1 deletion example/secrets/azure-workload-identity-creds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ stringData:
kind: Secret
metadata:
name: azure-workload-identity-creds
namespace: upbound-system
namespace: crossplane-system
type: Opaque
2 changes: 1 addition & 1 deletion example/service-principal-example-context-ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
4 changes: 2 additions & 2 deletions example/service-principal-example-spec-ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ spec:
queryType: ServicePrincipalDetails
# Using spec reference to get service principal names
servicePrincipalsRef: "spec.servicePrincipalConfig.names"
target: "status.servicePrincipalDetails"
target: "status.servicePrincipals"
skipQueryWhenTargetHasData: true
credentials:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
2 changes: 1 addition & 1 deletion example/service-principal-example-status-ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
4 changes: 2 additions & 2 deletions example/service-principal-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ spec:
- "MyServiceApp"
- "ApiConnector"
- "yury-upbound-oidc-provider"
target: "status.servicePrincipalDetails"
target: "status.servicePrincipals"
skipQueryWhenTargetHasData: true
credentials:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
2 changes: 1 addition & 1 deletion example/user-validation-example-context-ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
2 changes: 1 addition & 1 deletion example/user-validation-example-spec-ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
2 changes: 1 addition & 1 deletion example/user-validation-example-status-ref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds
2 changes: 1 addition & 1 deletion example/user-validation-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ spec:
- name: azure-creds
source: Secret
secretRef:
namespace: upbound-system
namespace: crossplane-system
name: azure-account-creds