-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add External Secrets Operator CRDs (#84)
- Loading branch information
Showing
7 changed files
with
8,224 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
1,578 changes: 1,578 additions & 0 deletions
1,578
external-secrets.io/clustersecretstore_v1alpha1.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,937 changes: 1,937 additions & 0 deletions
1,937
external-secrets.io/clustersecretstore_v1beta1.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,299 @@ | ||
{ | ||
"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", | ||
"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", | ||
"type": "string" | ||
}, | ||
"metadata": { | ||
"type": "object" | ||
}, | ||
"spec": { | ||
"description": "ExternalSecretSpec defines the desired state of ExternalSecret.", | ||
"properties": { | ||
"data": { | ||
"description": "Data defines the connection between the Kubernetes Secret keys and the Provider data", | ||
"items": { | ||
"description": "ExternalSecretData defines the connection between the Kubernetes Secret key (spec.data.<key>) and the Provider data.", | ||
"properties": { | ||
"remoteRef": { | ||
"description": "ExternalSecretDataRemoteRef defines Provider data location.", | ||
"properties": { | ||
"conversionStrategy": { | ||
"default": "Default", | ||
"description": "Used to define a conversion Strategy", | ||
"type": "string" | ||
}, | ||
"key": { | ||
"description": "Key is the key used in the Provider, mandatory", | ||
"type": "string" | ||
}, | ||
"property": { | ||
"description": "Used to select a specific property of the Provider value (if a map), if supported", | ||
"type": "string" | ||
}, | ||
"version": { | ||
"description": "Used to select a specific version of the Provider value, if supported", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"key" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"secretKey": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"remoteRef", | ||
"secretKey" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"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", | ||
"items": { | ||
"description": "ExternalSecretDataRemoteRef defines Provider data location.", | ||
"properties": { | ||
"conversionStrategy": { | ||
"default": "Default", | ||
"description": "Used to define a conversion Strategy", | ||
"type": "string" | ||
}, | ||
"key": { | ||
"description": "Key is the key used in the Provider, mandatory", | ||
"type": "string" | ||
}, | ||
"property": { | ||
"description": "Used to select a specific property of the Provider value (if a map), if supported", | ||
"type": "string" | ||
}, | ||
"version": { | ||
"description": "Used to select a specific version of the Provider value, if supported", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"key" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"type": "array" | ||
}, | ||
"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.", | ||
"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`", | ||
"type": "string" | ||
}, | ||
"name": { | ||
"description": "Name of the SecretStore resource", | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"name" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"target": { | ||
"description": "ExternalSecretTarget defines the Kubernetes Secret to be created There 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'", | ||
"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", | ||
"type": "string" | ||
}, | ||
"template": { | ||
"description": "Template defines a blueprint for the created Secret resource.", | ||
"properties": { | ||
"data": { | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"type": "object" | ||
}, | ||
"engineVersion": { | ||
"default": "v1", | ||
"description": "EngineVersion specifies the template engine version that should be used to compile/execute the template specified in .data and .templateFrom[].", | ||
"type": "string" | ||
}, | ||
"metadata": { | ||
"description": "ExternalSecretTemplateMetadata defines metadata fields for the Secret blueprint.", | ||
"properties": { | ||
"annotations": { | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"type": "object" | ||
}, | ||
"labels": { | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"type": "object" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"templateFrom": { | ||
"items": { | ||
"maxProperties": 1, | ||
"minProperties": 1, | ||
"properties": { | ||
"configMap": { | ||
"properties": { | ||
"items": { | ||
"items": { | ||
"properties": { | ||
"key": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"key" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"type": "array" | ||
}, | ||
"name": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"items", | ||
"name" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"secret": { | ||
"properties": { | ||
"items": { | ||
"items": { | ||
"properties": { | ||
"key": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"key" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"type": "array" | ||
}, | ||
"name": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"items", | ||
"name" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"type": "array" | ||
}, | ||
"type": { | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": [ | ||
"secretStoreRef", | ||
"target" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"status": { | ||
"properties": { | ||
"conditions": { | ||
"items": { | ||
"properties": { | ||
"lastTransitionTime": { | ||
"format": "date-time", | ||
"type": "string" | ||
}, | ||
"message": { | ||
"type": "string" | ||
}, | ||
"reason": { | ||
"type": "string" | ||
}, | ||
"status": { | ||
"type": "string" | ||
}, | ||
"type": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"status", | ||
"type" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"type": "array" | ||
}, | ||
"refreshTime": { | ||
"description": "refreshTime is the time and date the external secret was fetched and the target secret updated", | ||
"format": "date-time", | ||
"nullable": true, | ||
"type": "string" | ||
}, | ||
"syncedResourceVersion": { | ||
"description": "SyncedResourceVersion keeps track of the last synced version", | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object" | ||
} |
Oops, something went wrong.