Skip to content

Commit ce3cd4f

Browse files
authored
updating dapr CRDs using crd-updater (#780)
1 parent a02ac16 commit ce3cd4f

File tree

6 files changed

+553
-21
lines changed

6 files changed

+553
-21
lines changed

dapr.io/component_v1alpha1.json

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"description": "Component describes an Dapr component type",
2+
"description": "Component describes an Dapr component type.",
33
"properties": {
44
"apiVersion": {
5-
"description": "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",
5+
"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",
66
"type": "string"
77
},
88
"auth": {
9-
"description": "Auth represents authentication details for the component",
9+
"description": "Auth represents authentication details for the component.",
1010
"properties": {
1111
"secretStore": {
1212
"type": "string"
@@ -19,7 +19,7 @@
1919
"additionalProperties": false
2020
},
2121
"kind": {
22-
"description": "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",
22+
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
2323
"type": "string"
2424
},
2525
"metadata": {
@@ -32,7 +32,7 @@
3232
"type": "array"
3333
},
3434
"spec": {
35-
"description": "ComponentSpec is the spec for a component",
35+
"description": "ComponentSpec is the spec for a component.",
3636
"properties": {
3737
"ignoreErrors": {
3838
"type": "boolean"
@@ -42,29 +42,36 @@
4242
},
4343
"metadata": {
4444
"items": {
45-
"description": "MetadataItem is a name/value pair for a metadata",
45+
"description": "NameValuePair is a name/value pair.",
4646
"properties": {
47+
"envRef": {
48+
"description": "EnvRef is the name of an environmental variable to read the value from.",
49+
"type": "string"
50+
},
4751
"name": {
52+
"description": "Name of the property.",
4853
"type": "string"
4954
},
5055
"secretKeyRef": {
51-
"description": "SecretKeyRef is a reference to a secret holding the value for the metadata item. Name is the secret name, and key is the field in the secret.",
56+
"description": "SecretKeyRef is the reference of a value in a secret store component.",
5257
"properties": {
5358
"key": {
59+
"description": "Field in the secret.",
5460
"type": "string"
5561
},
5662
"name": {
63+
"description": "Secret name.",
5764
"type": "string"
5865
}
5966
},
6067
"required": [
61-
"key",
6268
"name"
6369
],
6470
"type": "object",
6571
"additionalProperties": false
6672
},
6773
"value": {
74+
"description": "Value of the property, in plaintext.",
6875
"x-kubernetes-preserve-unknown-fields": true
6976
}
7077
},

0 commit comments

Comments
 (0)