-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefinition.yaml
89 lines (89 loc) · 3.18 KB
/
definition.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
apiVersion: apiextensions.crossplane.io/v1
kind: CompositeResourceDefinition
metadata:
name: xworkloadidentities.gcp.platform.upbound.io
labels:
provider: gcp
spec:
claimNames:
kind: WorkloadIdentity
plural: workloadidentities
group: gcp.platform.upbound.io
names:
kind: XWorkloadIdentity
plural: xworkloadidentities
versions:
- name: v1alpha1
served: true
referenceable: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
parameters:
type: object
description: Workload Identity configuration parameters.
properties:
id:
type: string
description: ID of this Workload Identity that other objects will use to refer to it.
deletionPolicy:
description: Delete the external resources when the Claim/XR is deleted. Defaults to Delete.
enum:
- Delete
- Orphan
type: string
default: Delete
providerConfigName:
description: Crossplane ProviderConfig to use for provisioning this resources.
type: string
default: default
serviceAccount:
type: object
description: Configuration for SA
properties:
name:
type: string
description: name kubernetes SA
namespace:
type: string
description: namespace kubernetes SA
required:
- name
- namespace
dnsProject:
type: string
description: The Project ID where the DNS managed zone lives.
required:
- id
- serviceAccount
- dnsProject
required:
- parameters
status:
type: object
properties:
workloadIdentity:
description: Freeform field containing status information for Workload Identity.
type: object
x-kubernetes-preserve-unknown-fields: true
observed:
description: Freeform field containing information about the observed status.
type: object
x-kubernetes-preserve-unknown-fields: true
googleServiceAccount:
type: object
description: Configuration for GSA
properties:
email:
type: string
description: email Google SA
id:
type: string
description: id Google SA
required:
- email
- id