Skip to content

Commit

Permalink
Adding updated External Secrets schemas (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
dave4086 authored Jun 23, 2024
1 parent 35f0678 commit c594720
Show file tree
Hide file tree
Showing 8 changed files with 2,155 additions and 650 deletions.
161 changes: 133 additions & 28 deletions external-secrets.io/clusterexternalsecret_v1beta1.json

Large diffs are not rendered by default.

283 changes: 163 additions & 120 deletions external-secrets.io/clustersecretstore_v1alpha1.json

Large diffs are not rendered by default.

869 changes: 701 additions & 168 deletions external-secrets.io/clustersecretstore_v1beta1.json

Large diffs are not rendered by default.

39 changes: 28 additions & 11 deletions external-secrets.io/externalsecret_v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"description": "ExternalSecret is the Schema for the external-secrets API.",
"properties": {
"apiVersion": {
"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",
"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",
"type": "string"
},
"kind": {
"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",
"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",
"type": "string"
},
"metadata": {
Expand All @@ -26,6 +26,10 @@
"conversionStrategy": {
"default": "Default",
"description": "Used to define a conversion Strategy",
"enum": [
"Default",
"Unicode"
],
"type": "string"
},
"key": {
Expand Down Expand Up @@ -61,13 +65,17 @@
"type": "array"
},
"dataFrom": {
"description": "DataFrom is used to fetch all properties from a specific Provider data If multiple entries are specified, the Secret keys are merged in the specified order",
"description": "DataFrom is used to fetch all properties from a specific Provider data\nIf multiple entries are specified, the Secret keys are merged in the specified order",
"items": {
"description": "ExternalSecretDataRemoteRef defines Provider data location.",
"properties": {
"conversionStrategy": {
"default": "Default",
"description": "Used to define a conversion Strategy",
"enum": [
"Default",
"Unicode"
],
"type": "string"
},
"key": {
Expand All @@ -93,14 +101,14 @@
},
"refreshInterval": {
"default": "1h",
"description": "RefreshInterval is the amount of time before the values are read again from the SecretStore provider Valid time units are \"ns\", \"us\" (or \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\" May be set to zero to fetch and create it once. Defaults to 1h.",
"description": "RefreshInterval is the amount of time before the values are read again from the SecretStore provider\nValid time units are \"ns\", \"us\" (or \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\"\nMay be set to zero to fetch and create it once. Defaults to 1h.",
"type": "string"
},
"secretStoreRef": {
"description": "SecretStoreRef defines which SecretStore to fetch the ExternalSecret data.",
"properties": {
"kind": {
"description": "Kind of the SecretStore resource (SecretStore or ClusterSecretStore) Defaults to `SecretStore`",
"description": "Kind of the SecretStore resource (SecretStore or ClusterSecretStore)\nDefaults to `SecretStore`",
"type": "string"
},
"name": {
Expand All @@ -115,19 +123,24 @@
"additionalProperties": false
},
"target": {
"description": "ExternalSecretTarget defines the Kubernetes Secret to be created There can be only one target per ExternalSecret.",
"description": "ExternalSecretTarget defines the Kubernetes Secret to be created\nThere can be only one target per ExternalSecret.",
"properties": {
"creationPolicy": {
"default": "Owner",
"description": "CreationPolicy defines rules on how to create the resulting Secret Defaults to 'Owner'",
"description": "CreationPolicy defines rules on how to create the resulting Secret\nDefaults to 'Owner'",
"enum": [
"Owner",
"Merge",
"None"
],
"type": "string"
},
"immutable": {
"description": "Immutable defines if the final secret will be immutable",
"type": "boolean"
},
"name": {
"description": "Name defines the name of the Secret resource to be managed This field is immutable Defaults to the .metadata.name of the ExternalSecret resource",
"description": "Name defines the name of the Secret resource to be managed\nThis field is immutable\nDefaults to the .metadata.name of the ExternalSecret resource",
"type": "string"
},
"template": {
Expand All @@ -141,7 +154,11 @@
},
"engineVersion": {
"default": "v1",
"description": "EngineVersion specifies the template engine version that should be used to compile/execute the template specified in .data and .templateFrom[].",
"description": "EngineVersion specifies the template engine version\nthat should be used to compile/execute the\ntemplate specified in .data and .templateFrom[].",
"enum": [
"v1",
"v2"
],
"type": "string"
},
"metadata": {
Expand Down Expand Up @@ -255,7 +272,7 @@
"description": "Binding represents a servicebinding.io Provisioned Service reference to the secret",
"properties": {
"name": {
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?",
"description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?",
"type": "string"
}
},
Expand Down Expand Up @@ -293,7 +310,7 @@
"type": "array"
},
"refreshTime": {
"description": "refreshTime is the time and date the external secret was fetched and the target secret updated",
"description": "refreshTime is the time and date the external secret was fetched and\nthe target secret updated",
"format": "date-time",
"nullable": true,
"type": "string"
Expand Down
Loading

0 comments on commit c594720

Please sign in to comment.