|
|
@@ -186,6 +186,8 @@ spec:
|
|
|
enum:
|
|
|
- SecretStore
|
|
|
- ClusterSecretStore
|
|
|
+ - Provider
|
|
|
+ - ClusterProvider
|
|
|
type: string
|
|
|
name:
|
|
|
description: Name of the SecretStore resource
|
|
|
@@ -421,6 +423,8 @@ spec:
|
|
|
enum:
|
|
|
- SecretStore
|
|
|
- ClusterSecretStore
|
|
|
+ - Provider
|
|
|
+ - ClusterProvider
|
|
|
type: string
|
|
|
name:
|
|
|
description: Name of the SecretStore resource
|
|
|
@@ -463,6 +467,8 @@ spec:
|
|
|
enum:
|
|
|
- SecretStore
|
|
|
- ClusterSecretStore
|
|
|
+ - Provider
|
|
|
+ - ClusterProvider
|
|
|
type: string
|
|
|
name:
|
|
|
description: Name of the SecretStore resource
|
|
|
@@ -1558,6 +1564,223 @@ spec:
|
|
|
---
|
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
|
kind: CustomResourceDefinition
|
|
|
+metadata:
|
|
|
+ annotations:
|
|
|
+ controller-gen.kubebuilder.io/version: v0.19.0
|
|
|
+ name: clusterproviders.external-secrets.io
|
|
|
+spec:
|
|
|
+ group: external-secrets.io
|
|
|
+ names:
|
|
|
+ categories:
|
|
|
+ - externalsecrets
|
|
|
+ kind: ClusterProvider
|
|
|
+ listKind: ClusterProviderList
|
|
|
+ plural: clusterproviders
|
|
|
+ shortNames:
|
|
|
+ - cprov
|
|
|
+ singular: clusterprovider
|
|
|
+ scope: Cluster
|
|
|
+ versions:
|
|
|
+ - additionalPrinterColumns:
|
|
|
+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
|
|
|
+ name: Ready
|
|
|
+ type: string
|
|
|
+ - jsonPath: .spec.config.address
|
|
|
+ name: Address
|
|
|
+ type: string
|
|
|
+ - jsonPath: .spec.authenticationScope
|
|
|
+ name: AuthScope
|
|
|
+ type: string
|
|
|
+ - jsonPath: .metadata.creationTimestamp
|
|
|
+ name: Age
|
|
|
+ type: date
|
|
|
+ name: v1
|
|
|
+ schema:
|
|
|
+ openAPIV3Schema:
|
|
|
+ description: |-
|
|
|
+ ClusterProvider is the cluster-scoped variant of Provider.
|
|
|
+ It can be referenced from ExternalSecrets and PushSecrets in any namespace.
|
|
|
+ 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: ClusterProviderSpec defines the desired state of ClusterProvider
|
|
|
+ properties:
|
|
|
+ authenticationScope:
|
|
|
+ default: ProviderNamespace
|
|
|
+ description: |-
|
|
|
+ AuthenticationScope defines which namespace should be used for authentication.
|
|
|
+ ProviderNamespace (default): uses the namespace from spec.config.providerRef.namespace
|
|
|
+ ManifestNamespace: uses the namespace of the ExternalSecret/PushSecret
|
|
|
+ enum:
|
|
|
+ - ProviderNamespace
|
|
|
+ - ManifestNamespace
|
|
|
+ type: string
|
|
|
+ conditions:
|
|
|
+ description: |-
|
|
|
+ Conditions constrain where this ClusterProvider can be used from.
|
|
|
+ Conditions are evaluated against the namespace of the ExternalSecret/PushSecret.
|
|
|
+ items:
|
|
|
+ description: |-
|
|
|
+ ClusterSecretStoreCondition describes a condition by which to choose namespaces to process ExternalSecrets in
|
|
|
+ for a ClusterSecretStore instance.
|
|
|
+ properties:
|
|
|
+ namespaceRegexes:
|
|
|
+ description: Choose namespaces by using regex matching
|
|
|
+ items:
|
|
|
+ type: string
|
|
|
+ type: array
|
|
|
+ namespaceSelector:
|
|
|
+ description: Choose namespace using a labelSelector
|
|
|
+ properties:
|
|
|
+ matchExpressions:
|
|
|
+ description: matchExpressions is a list of label selector requirements. The requirements are ANDed.
|
|
|
+ items:
|
|
|
+ description: |-
|
|
|
+ A label selector requirement is a selector that contains values, a key, and an operator that
|
|
|
+ relates the key and values.
|
|
|
+ properties:
|
|
|
+ key:
|
|
|
+ description: key is the label key that the selector applies to.
|
|
|
+ type: string
|
|
|
+ operator:
|
|
|
+ description: |-
|
|
|
+ operator represents a key's relationship to a set of values.
|
|
|
+ Valid operators are In, NotIn, Exists and DoesNotExist.
|
|
|
+ type: string
|
|
|
+ values:
|
|
|
+ description: |-
|
|
|
+ values is an array of string values. If the operator is In or NotIn,
|
|
|
+ the values array must be non-empty. If the operator is Exists or DoesNotExist,
|
|
|
+ the values array must be empty. This array is replaced during a strategic
|
|
|
+ merge patch.
|
|
|
+ items:
|
|
|
+ type: string
|
|
|
+ type: array
|
|
|
+ x-kubernetes-list-type: atomic
|
|
|
+ required:
|
|
|
+ - key
|
|
|
+ - operator
|
|
|
+ type: object
|
|
|
+ type: array
|
|
|
+ x-kubernetes-list-type: atomic
|
|
|
+ matchLabels:
|
|
|
+ additionalProperties:
|
|
|
+ type: string
|
|
|
+ description: |-
|
|
|
+ matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
|
|
|
+ map is equivalent to an element of matchExpressions, whose key field is "key", the
|
|
|
+ operator is "In", and the values array contains only "value". The requirements are ANDed.
|
|
|
+ type: object
|
|
|
+ type: object
|
|
|
+ x-kubernetes-map-type: atomic
|
|
|
+ namespaces:
|
|
|
+ description: Choose namespaces by name
|
|
|
+ items:
|
|
|
+ maxLength: 63
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
|
+ type: string
|
|
|
+ type: array
|
|
|
+ type: object
|
|
|
+ type: array
|
|
|
+ config:
|
|
|
+ description: Config contains configuration for connecting to the provider.
|
|
|
+ properties:
|
|
|
+ address:
|
|
|
+ description: |-
|
|
|
+ Address is the gRPC address of the provider service.
|
|
|
+ Format: "hostname:port" (e.g., "aws-provider:8080")
|
|
|
+ type: string
|
|
|
+ providerRef:
|
|
|
+ description: ProviderRef references the provider-specific configuration resource.
|
|
|
+ properties:
|
|
|
+ apiVersion:
|
|
|
+ description: |-
|
|
|
+ APIVersion of the referenced resource.
|
|
|
+ Example: "provider.aws.external-secrets.io/v2alpha1"
|
|
|
+ type: string
|
|
|
+ kind:
|
|
|
+ description: |-
|
|
|
+ Kind of the referenced resource.
|
|
|
+ Example: "AWSSecretsManager"
|
|
|
+ type: string
|
|
|
+ name:
|
|
|
+ description: Name of the referenced resource.
|
|
|
+ type: string
|
|
|
+ namespace:
|
|
|
+ description: |-
|
|
|
+ Namespace of the referenced resource.
|
|
|
+ If empty, assumes the same namespace as the Provider.
|
|
|
+ type: string
|
|
|
+ required:
|
|
|
+ - apiVersion
|
|
|
+ - kind
|
|
|
+ - name
|
|
|
+ type: object
|
|
|
+ required:
|
|
|
+ - address
|
|
|
+ - providerRef
|
|
|
+ type: object
|
|
|
+ required:
|
|
|
+ - config
|
|
|
+ type: object
|
|
|
+ status:
|
|
|
+ description: ProviderStatus defines the observed state of Provider
|
|
|
+ properties:
|
|
|
+ capabilities:
|
|
|
+ description: Capabilities indicates what operations this Provider supports.
|
|
|
+ type: string
|
|
|
+ conditions:
|
|
|
+ description: Conditions represent the latest available observations of the Provider's state.
|
|
|
+ items:
|
|
|
+ description: ProviderCondition describes the state of a Provider at a certain point.
|
|
|
+ properties:
|
|
|
+ lastTransitionTime:
|
|
|
+ description: LastTransitionTime is the last time the condition transitioned.
|
|
|
+ format: date-time
|
|
|
+ type: string
|
|
|
+ message:
|
|
|
+ description: Message is a human-readable message indicating details about the transition.
|
|
|
+ type: string
|
|
|
+ reason:
|
|
|
+ description: Reason contains a programmatic identifier indicating the reason for the condition's last transition.
|
|
|
+ type: string
|
|
|
+ status:
|
|
|
+ description: Status of the condition, one of True, False, Unknown.
|
|
|
+ type: string
|
|
|
+ type:
|
|
|
+ description: Type of the condition.
|
|
|
+ type: string
|
|
|
+ required:
|
|
|
+ - status
|
|
|
+ - type
|
|
|
+ type: object
|
|
|
+ type: array
|
|
|
+ type: object
|
|
|
+ type: object
|
|
|
+ served: true
|
|
|
+ storage: true
|
|
|
+ subresources:
|
|
|
+ status: {}
|
|
|
+---
|
|
|
+apiVersion: apiextensions.k8s.io/v1
|
|
|
+kind: CustomResourceDefinition
|
|
|
metadata:
|
|
|
annotations:
|
|
|
controller-gen.kubebuilder.io/version: v0.19.0
|
|
|
@@ -1737,12 +1960,17 @@ spec:
|
|
|
items:
|
|
|
description: PushSecretStoreRef contains a reference on how to sync to a SecretStore.
|
|
|
properties:
|
|
|
+ apiVersion:
|
|
|
+ default: external-secrets.io/v1
|
|
|
+ description: APIVersion of the SecretStore resource (external-secrets.io/v1 or secretstore.external-secrets.io/v2alpha1)
|
|
|
+ type: string
|
|
|
kind:
|
|
|
default: SecretStore
|
|
|
- description: Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
|
|
|
+ description: Kind of the SecretStore resource (SecretStore, ClusterSecretStore, or Provider)
|
|
|
enum:
|
|
|
- SecretStore
|
|
|
- ClusterSecretStore
|
|
|
+ - Provider
|
|
|
type: string
|
|
|
labelSelector:
|
|
|
description: Optionally, sync to secret stores with label selector
|
|
|
@@ -2613,7 +2841,6 @@ spec:
|
|
|
ForceDeleteWithoutRecovery in the same call. If you don't use either,
|
|
|
then by default Secrets Manager uses a 30-day recovery window.
|
|
|
see: https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DeleteSecret.html#SecretsManager-DeleteSecret-request-RecoveryWindowInDays
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
type: object
|
|
|
service:
|
|
|
@@ -4142,7 +4369,6 @@ spec:
|
|
|
properties:
|
|
|
appID:
|
|
|
description: appID specifies the Github APP that will be used to authenticate the client
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
auth:
|
|
|
description: auth configures how secret-manager authenticates with a Github instance.
|
|
|
@@ -4183,7 +4409,6 @@ spec:
|
|
|
type: string
|
|
|
installationID:
|
|
|
description: installationID specifies the Github APP installation that will be used to authenticate the client
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
organization:
|
|
|
description: organization will be used to fetch secrets from the Github organization
|
|
|
@@ -6869,7 +7094,6 @@ spec:
|
|
|
`serviceAccountRef`.
|
|
|
Deprecated: this will be removed in the future.
|
|
|
Defaults to 10 minutes.
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
serviceAccountRef:
|
|
|
description: Service account field containing the name of a kubernetes ServiceAccount.
|
|
|
@@ -7791,7 +8015,6 @@ spec:
|
|
|
description: Used to configure HTTP retries on failures.
|
|
|
properties:
|
|
|
maxRetries:
|
|
|
- format: int32
|
|
|
type: integer
|
|
|
retryInterval:
|
|
|
type: string
|
|
|
@@ -8420,7 +8643,6 @@ spec:
|
|
|
ForceDeleteWithoutRecovery in the same call. If you don't use either,
|
|
|
then by default Secrets Manager uses a 30 day recovery window.
|
|
|
see: https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DeleteSecret.html#SecretsManager-DeleteSecret-request-RecoveryWindowInDays
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
type: object
|
|
|
service:
|
|
|
@@ -9613,7 +9835,6 @@ spec:
|
|
|
properties:
|
|
|
appID:
|
|
|
description: appID specifies the Github APP that will be used to authenticate the client
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
auth:
|
|
|
description: auth configures how secret-manager authenticates with a Github instance.
|
|
|
@@ -9654,7 +9875,6 @@ spec:
|
|
|
type: string
|
|
|
installationID:
|
|
|
description: installationID specifies the Github APP installation that will be used to authenticate the client
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
organization:
|
|
|
description: organization will be used to fetch secrets from the Github organization
|
|
|
@@ -11213,7 +11433,6 @@ spec:
|
|
|
`serviceAccountRef`.
|
|
|
Deprecated: this will be removed in the future.
|
|
|
Defaults to 10 minutes.
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
serviceAccountRef:
|
|
|
description: Service account field containing the name of a kubernetes ServiceAccount.
|
|
|
@@ -12203,6 +12422,8 @@ spec:
|
|
|
enum:
|
|
|
- SecretStore
|
|
|
- ClusterSecretStore
|
|
|
+ - Provider
|
|
|
+ - ClusterProvider
|
|
|
type: string
|
|
|
name:
|
|
|
description: Name of the SecretStore resource
|
|
|
@@ -12438,6 +12659,8 @@ spec:
|
|
|
enum:
|
|
|
- SecretStore
|
|
|
- ClusterSecretStore
|
|
|
+ - Provider
|
|
|
+ - ClusterProvider
|
|
|
type: string
|
|
|
name:
|
|
|
description: Name of the SecretStore resource
|
|
|
@@ -12480,6 +12703,8 @@ spec:
|
|
|
enum:
|
|
|
- SecretStore
|
|
|
- ClusterSecretStore
|
|
|
+ - Provider
|
|
|
+ - ClusterProvider
|
|
|
type: string
|
|
|
name:
|
|
|
description: Name of the SecretStore resource
|
|
|
@@ -13359,33 +13584,34 @@ kind: CustomResourceDefinition
|
|
|
metadata:
|
|
|
annotations:
|
|
|
controller-gen.kubebuilder.io/version: v0.19.0
|
|
|
- labels:
|
|
|
- external-secrets.io/component: controller
|
|
|
- name: pushsecrets.external-secrets.io
|
|
|
+ name: providers.external-secrets.io
|
|
|
spec:
|
|
|
group: external-secrets.io
|
|
|
names:
|
|
|
categories:
|
|
|
- - external-secrets
|
|
|
- kind: PushSecret
|
|
|
- listKind: PushSecretList
|
|
|
- plural: pushsecrets
|
|
|
+ - externalsecrets
|
|
|
+ kind: Provider
|
|
|
+ listKind: ProviderList
|
|
|
+ plural: providers
|
|
|
shortNames:
|
|
|
- - ps
|
|
|
- singular: pushsecret
|
|
|
+ - prov
|
|
|
+ singular: provider
|
|
|
scope: Namespaced
|
|
|
versions:
|
|
|
- additionalPrinterColumns:
|
|
|
+ - jsonPath: .status.conditions[?(@.type=="Ready")].status
|
|
|
+ name: Ready
|
|
|
+ type: string
|
|
|
+ - jsonPath: .spec.config.address
|
|
|
+ name: Address
|
|
|
+ type: string
|
|
|
- jsonPath: .metadata.creationTimestamp
|
|
|
- name: AGE
|
|
|
+ name: Age
|
|
|
type: date
|
|
|
- - jsonPath: .status.conditions[?(@.type=="Ready")].reason
|
|
|
- name: Status
|
|
|
- type: string
|
|
|
- name: v1alpha1
|
|
|
+ name: v1
|
|
|
schema:
|
|
|
openAPIV3Schema:
|
|
|
- description: PushSecret is the Schema for the PushSecrets API that enables pushing Kubernetes secrets to external secret providers.
|
|
|
+ description: Provider is the Schema for the providers API
|
|
|
properties:
|
|
|
apiVersion:
|
|
|
description: |-
|
|
|
@@ -13405,44 +13631,177 @@ spec:
|
|
|
metadata:
|
|
|
type: object
|
|
|
spec:
|
|
|
- description: PushSecretSpec configures the behavior of the PushSecret.
|
|
|
+ description: ProviderSpec defines the desired state of Provider
|
|
|
properties:
|
|
|
- data:
|
|
|
- description: Secret Data that should be pushed to providers
|
|
|
+ config:
|
|
|
+ description: Config contains configuration for connecting to the provider.
|
|
|
+ properties:
|
|
|
+ address:
|
|
|
+ description: |-
|
|
|
+ Address is the gRPC address of the provider service.
|
|
|
+ Format: "hostname:port" (e.g., "aws-provider:8080")
|
|
|
+ type: string
|
|
|
+ providerRef:
|
|
|
+ description: ProviderRef references the provider-specific configuration resource.
|
|
|
+ properties:
|
|
|
+ apiVersion:
|
|
|
+ description: |-
|
|
|
+ APIVersion of the referenced resource.
|
|
|
+ Example: "provider.aws.external-secrets.io/v2alpha1"
|
|
|
+ type: string
|
|
|
+ kind:
|
|
|
+ description: |-
|
|
|
+ Kind of the referenced resource.
|
|
|
+ Example: "AWSSecretsManager"
|
|
|
+ type: string
|
|
|
+ name:
|
|
|
+ description: Name of the referenced resource.
|
|
|
+ type: string
|
|
|
+ namespace:
|
|
|
+ description: |-
|
|
|
+ Namespace of the referenced resource.
|
|
|
+ If empty, assumes the same namespace as the Provider.
|
|
|
+ type: string
|
|
|
+ required:
|
|
|
+ - apiVersion
|
|
|
+ - kind
|
|
|
+ - name
|
|
|
+ type: object
|
|
|
+ required:
|
|
|
+ - address
|
|
|
+ - providerRef
|
|
|
+ type: object
|
|
|
+ required:
|
|
|
+ - config
|
|
|
+ type: object
|
|
|
+ status:
|
|
|
+ description: ProviderStatus defines the observed state of Provider
|
|
|
+ properties:
|
|
|
+ capabilities:
|
|
|
+ description: Capabilities indicates what operations this Provider supports.
|
|
|
+ type: string
|
|
|
+ conditions:
|
|
|
+ description: Conditions represent the latest available observations of the Provider's state.
|
|
|
items:
|
|
|
- description: PushSecretData defines data to be pushed to the provider and associated metadata.
|
|
|
+ description: ProviderCondition describes the state of a Provider at a certain point.
|
|
|
properties:
|
|
|
- conversionStrategy:
|
|
|
- default: None
|
|
|
- description: Used to define a conversion Strategy for the secret keys
|
|
|
- enum:
|
|
|
- - None
|
|
|
- - ReverseUnicode
|
|
|
+ lastTransitionTime:
|
|
|
+ description: LastTransitionTime is the last time the condition transitioned.
|
|
|
+ format: date-time
|
|
|
type: string
|
|
|
- match:
|
|
|
- description: Match a given Secret Key to be pushed to the provider.
|
|
|
- properties:
|
|
|
- remoteRef:
|
|
|
- description: Remote Refs to push to providers.
|
|
|
- properties:
|
|
|
- property:
|
|
|
- description: Name of the property in the resulting secret
|
|
|
- type: string
|
|
|
- remoteKey:
|
|
|
- description: Name of the resulting provider secret.
|
|
|
- type: string
|
|
|
- required:
|
|
|
- - remoteKey
|
|
|
- type: object
|
|
|
- secretKey:
|
|
|
- description: Secret Key to be pushed
|
|
|
- type: string
|
|
|
- required:
|
|
|
- - remoteRef
|
|
|
- type: object
|
|
|
- metadata:
|
|
|
- description: |-
|
|
|
- Metadata is metadata attached to the secret.
|
|
|
+ message:
|
|
|
+ description: Message is a human-readable message indicating details about the transition.
|
|
|
+ type: string
|
|
|
+ reason:
|
|
|
+ description: Reason contains a programmatic identifier indicating the reason for the condition's last transition.
|
|
|
+ type: string
|
|
|
+ status:
|
|
|
+ description: Status of the condition, one of True, False, Unknown.
|
|
|
+ type: string
|
|
|
+ type:
|
|
|
+ description: Type of the condition.
|
|
|
+ type: string
|
|
|
+ required:
|
|
|
+ - status
|
|
|
+ - type
|
|
|
+ type: object
|
|
|
+ type: array
|
|
|
+ type: object
|
|
|
+ type: object
|
|
|
+ served: true
|
|
|
+ storage: true
|
|
|
+ subresources:
|
|
|
+ status: {}
|
|
|
+---
|
|
|
+apiVersion: apiextensions.k8s.io/v1
|
|
|
+kind: CustomResourceDefinition
|
|
|
+metadata:
|
|
|
+ annotations:
|
|
|
+ controller-gen.kubebuilder.io/version: v0.19.0
|
|
|
+ labels:
|
|
|
+ external-secrets.io/component: controller
|
|
|
+ name: pushsecrets.external-secrets.io
|
|
|
+spec:
|
|
|
+ group: external-secrets.io
|
|
|
+ names:
|
|
|
+ categories:
|
|
|
+ - external-secrets
|
|
|
+ kind: PushSecret
|
|
|
+ listKind: PushSecretList
|
|
|
+ plural: pushsecrets
|
|
|
+ shortNames:
|
|
|
+ - ps
|
|
|
+ singular: pushsecret
|
|
|
+ scope: Namespaced
|
|
|
+ versions:
|
|
|
+ - additionalPrinterColumns:
|
|
|
+ - jsonPath: .metadata.creationTimestamp
|
|
|
+ name: AGE
|
|
|
+ type: date
|
|
|
+ - jsonPath: .status.conditions[?(@.type=="Ready")].reason
|
|
|
+ name: Status
|
|
|
+ type: string
|
|
|
+ name: v1alpha1
|
|
|
+ schema:
|
|
|
+ openAPIV3Schema:
|
|
|
+ description: PushSecret is the Schema for the PushSecrets API that enables pushing Kubernetes secrets to external secret providers.
|
|
|
+ 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: PushSecretSpec configures the behavior of the PushSecret.
|
|
|
+ properties:
|
|
|
+ data:
|
|
|
+ description: Secret Data that should be pushed to providers
|
|
|
+ items:
|
|
|
+ description: PushSecretData defines data to be pushed to the provider and associated metadata.
|
|
|
+ properties:
|
|
|
+ conversionStrategy:
|
|
|
+ default: None
|
|
|
+ description: Used to define a conversion Strategy for the secret keys
|
|
|
+ enum:
|
|
|
+ - None
|
|
|
+ - ReverseUnicode
|
|
|
+ type: string
|
|
|
+ match:
|
|
|
+ description: Match a given Secret Key to be pushed to the provider.
|
|
|
+ properties:
|
|
|
+ remoteRef:
|
|
|
+ description: Remote Refs to push to providers.
|
|
|
+ properties:
|
|
|
+ property:
|
|
|
+ description: Name of the property in the resulting secret
|
|
|
+ type: string
|
|
|
+ remoteKey:
|
|
|
+ description: Name of the resulting provider secret.
|
|
|
+ type: string
|
|
|
+ required:
|
|
|
+ - remoteKey
|
|
|
+ type: object
|
|
|
+ secretKey:
|
|
|
+ description: Secret Key to be pushed
|
|
|
+ type: string
|
|
|
+ required:
|
|
|
+ - remoteRef
|
|
|
+ type: object
|
|
|
+ metadata:
|
|
|
+ description: |-
|
|
|
+ Metadata is metadata attached to the secret.
|
|
|
The structure of metadata is provider specific, please look it up in the provider documentation.
|
|
|
x-kubernetes-preserve-unknown-fields: true
|
|
|
required:
|
|
|
@@ -13464,12 +13823,17 @@ spec:
|
|
|
items:
|
|
|
description: PushSecretStoreRef contains a reference on how to sync to a SecretStore.
|
|
|
properties:
|
|
|
+ apiVersion:
|
|
|
+ default: external-secrets.io/v1
|
|
|
+ description: APIVersion of the SecretStore resource (external-secrets.io/v1 or secretstore.external-secrets.io/v2alpha1)
|
|
|
+ type: string
|
|
|
kind:
|
|
|
default: SecretStore
|
|
|
- description: Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
|
|
|
+ description: Kind of the SecretStore resource (SecretStore, ClusterSecretStore, or Provider)
|
|
|
enum:
|
|
|
- SecretStore
|
|
|
- ClusterSecretStore
|
|
|
+ - Provider
|
|
|
type: string
|
|
|
labelSelector:
|
|
|
description: Optionally, sync to secret stores with label selector
|
|
|
@@ -14368,7 +14732,6 @@ spec:
|
|
|
ForceDeleteWithoutRecovery in the same call. If you don't use either,
|
|
|
then by default Secrets Manager uses a 30-day recovery window.
|
|
|
see: https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DeleteSecret.html#SecretsManager-DeleteSecret-request-RecoveryWindowInDays
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
type: object
|
|
|
service:
|
|
|
@@ -15897,7 +16260,6 @@ spec:
|
|
|
properties:
|
|
|
appID:
|
|
|
description: appID specifies the Github APP that will be used to authenticate the client
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
auth:
|
|
|
description: auth configures how secret-manager authenticates with a Github instance.
|
|
|
@@ -15938,7 +16300,6 @@ spec:
|
|
|
type: string
|
|
|
installationID:
|
|
|
description: installationID specifies the Github APP installation that will be used to authenticate the client
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
organization:
|
|
|
description: organization will be used to fetch secrets from the Github organization
|
|
|
@@ -18624,7 +18985,6 @@ spec:
|
|
|
`serviceAccountRef`.
|
|
|
Deprecated: this will be removed in the future.
|
|
|
Defaults to 10 minutes.
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
serviceAccountRef:
|
|
|
description: Service account field containing the name of a kubernetes ServiceAccount.
|
|
|
@@ -19546,7 +19906,6 @@ spec:
|
|
|
description: Used to configure HTTP retries on failures.
|
|
|
properties:
|
|
|
maxRetries:
|
|
|
- format: int32
|
|
|
type: integer
|
|
|
retryInterval:
|
|
|
type: string
|
|
|
@@ -20175,7 +20534,6 @@ spec:
|
|
|
ForceDeleteWithoutRecovery in the same call. If you don't use either,
|
|
|
then by default Secrets Manager uses a 30 day recovery window.
|
|
|
see: https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DeleteSecret.html#SecretsManager-DeleteSecret-request-RecoveryWindowInDays
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
type: object
|
|
|
service:
|
|
|
@@ -21368,7 +21726,6 @@ spec:
|
|
|
properties:
|
|
|
appID:
|
|
|
description: appID specifies the Github APP that will be used to authenticate the client
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
auth:
|
|
|
description: auth configures how secret-manager authenticates with a Github instance.
|
|
|
@@ -21409,7 +21766,6 @@ spec:
|
|
|
type: string
|
|
|
installationID:
|
|
|
description: installationID specifies the Github APP installation that will be used to authenticate the client
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
organization:
|
|
|
description: organization will be used to fetch secrets from the Github organization
|
|
|
@@ -22968,7 +23324,6 @@ spec:
|
|
|
`serviceAccountRef`.
|
|
|
Deprecated: this will be removed in the future.
|
|
|
Defaults to 10 minutes.
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
serviceAccountRef:
|
|
|
description: Service account field containing the name of a kubernetes ServiceAccount.
|
|
|
@@ -25645,7 +26000,6 @@ spec:
|
|
|
`serviceAccountRef`.
|
|
|
Deprecated: this will be removed in the future.
|
|
|
Defaults to 10 minutes.
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
serviceAccountRef:
|
|
|
description: Service account field containing the name of a kubernetes ServiceAccount.
|
|
|
@@ -26118,7 +26472,6 @@ spec:
|
|
|
description: Used to configure http retries if failed
|
|
|
properties:
|
|
|
maxRetries:
|
|
|
- format: int32
|
|
|
type: integer
|
|
|
retryInterval:
|
|
|
type: string
|
|
|
@@ -28330,7 +28683,6 @@ spec:
|
|
|
`serviceAccountRef`.
|
|
|
Deprecated: this will be removed in the future.
|
|
|
Defaults to 10 minutes.
|
|
|
- format: int64
|
|
|
type: integer
|
|
|
serviceAccountRef:
|
|
|
description: Service account field containing the name of a kubernetes ServiceAccount.
|
|
|
@@ -28803,7 +29155,6 @@ spec:
|
|
|
description: Used to configure http retries if failed
|
|
|
properties:
|
|
|
maxRetries:
|
|
|
- format: int32
|
|
|
type: integer
|
|
|
retryInterval:
|
|
|
type: string
|
|
|
@@ -29039,3 +29390,636 @@ spec:
|
|
|
storage: true
|
|
|
subresources:
|
|
|
status: {}
|
|
|
+---
|
|
|
+apiVersion: apiextensions.k8s.io/v1
|
|
|
+kind: CustomResourceDefinition
|
|
|
+metadata:
|
|
|
+ annotations:
|
|
|
+ controller-gen.kubebuilder.io/version: v0.19.0
|
|
|
+ name: fakes.provider.external-secrets.io
|
|
|
+spec:
|
|
|
+ group: provider.external-secrets.io
|
|
|
+ names:
|
|
|
+ categories:
|
|
|
+ - external-secrets
|
|
|
+ kind: Fake
|
|
|
+ listKind: FakeList
|
|
|
+ plural: fakes
|
|
|
+ shortNames:
|
|
|
+ - fake
|
|
|
+ singular: fake
|
|
|
+ scope: Namespaced
|
|
|
+ versions:
|
|
|
+ - name: v2alpha1
|
|
|
+ schema:
|
|
|
+ openAPIV3Schema:
|
|
|
+ description: |-
|
|
|
+ Fake defines the configuration for the Fake provider.
|
|
|
+ This provider returns static key-value pairs for testing purposes.
|
|
|
+ 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: FakeProvider configures a fake provider that returns static values.
|
|
|
+ properties:
|
|
|
+ data:
|
|
|
+ items:
|
|
|
+ description: FakeProviderData defines a key-value pair with optional version for the fake provider.
|
|
|
+ properties:
|
|
|
+ key:
|
|
|
+ type: string
|
|
|
+ value:
|
|
|
+ type: string
|
|
|
+ version:
|
|
|
+ type: string
|
|
|
+ required:
|
|
|
+ - key
|
|
|
+ - value
|
|
|
+ type: object
|
|
|
+ type: array
|
|
|
+ validationResult:
|
|
|
+ description: ValidationResult is defined type for the number of validation results.
|
|
|
+ type: integer
|
|
|
+ required:
|
|
|
+ - data
|
|
|
+ type: object
|
|
|
+ type: object
|
|
|
+ served: true
|
|
|
+ storage: true
|
|
|
+ subresources:
|
|
|
+ status: {}
|
|
|
+---
|
|
|
+apiVersion: apiextensions.k8s.io/v1
|
|
|
+kind: CustomResourceDefinition
|
|
|
+metadata:
|
|
|
+ annotations:
|
|
|
+ controller-gen.kubebuilder.io/version: v0.19.0
|
|
|
+ name: kubernetes.provider.external-secrets.io
|
|
|
+spec:
|
|
|
+ group: provider.external-secrets.io
|
|
|
+ names:
|
|
|
+ categories:
|
|
|
+ - external-secrets
|
|
|
+ kind: Kubernetes
|
|
|
+ listKind: KubernetesList
|
|
|
+ plural: kubernetes
|
|
|
+ singular: kubernetes
|
|
|
+ scope: Namespaced
|
|
|
+ versions:
|
|
|
+ - name: v2alpha1
|
|
|
+ schema:
|
|
|
+ openAPIV3Schema:
|
|
|
+ description: |-
|
|
|
+ Kubernetes defines the configuration for the Kubernetes Secret provider.
|
|
|
+ This provider fetches secrets from Kubernetes Secrets in the same cluster.
|
|
|
+ It's primarily useful for testing and migration scenarios.
|
|
|
+ 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: KubernetesProvider configures a store to sync secrets with a Kubernetes instance.
|
|
|
+ properties:
|
|
|
+ auth:
|
|
|
+ description: Auth configures how secret-manager authenticates with a Kubernetes instance.
|
|
|
+ maxProperties: 1
|
|
|
+ minProperties: 1
|
|
|
+ properties:
|
|
|
+ cert:
|
|
|
+ description: has both clientCert and clientKey as secretKeySelector
|
|
|
+ properties:
|
|
|
+ clientCert:
|
|
|
+ description: |-
|
|
|
+ SecretKeySelector is a reference to a specific 'key' within a Secret resource.
|
|
|
+ In some instances, `key` is a required field.
|
|
|
+ properties:
|
|
|
+ key:
|
|
|
+ description: |-
|
|
|
+ A key in the referenced Secret.
|
|
|
+ Some instances of this field may be defaulted, in others it may be required.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[-._a-zA-Z0-9]+$
|
|
|
+ type: string
|
|
|
+ name:
|
|
|
+ description: The name of the Secret resource being referred to.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
|
|
+ type: string
|
|
|
+ namespace:
|
|
|
+ description: |-
|
|
|
+ The namespace of the Secret resource being referred to.
|
|
|
+ Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
|
|
|
+ maxLength: 63
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
|
+ type: string
|
|
|
+ type: object
|
|
|
+ clientKey:
|
|
|
+ description: |-
|
|
|
+ SecretKeySelector is a reference to a specific 'key' within a Secret resource.
|
|
|
+ In some instances, `key` is a required field.
|
|
|
+ properties:
|
|
|
+ key:
|
|
|
+ description: |-
|
|
|
+ A key in the referenced Secret.
|
|
|
+ Some instances of this field may be defaulted, in others it may be required.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[-._a-zA-Z0-9]+$
|
|
|
+ type: string
|
|
|
+ name:
|
|
|
+ description: The name of the Secret resource being referred to.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
|
|
+ type: string
|
|
|
+ namespace:
|
|
|
+ description: |-
|
|
|
+ The namespace of the Secret resource being referred to.
|
|
|
+ Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
|
|
|
+ maxLength: 63
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
|
+ type: string
|
|
|
+ type: object
|
|
|
+ type: object
|
|
|
+ serviceAccount:
|
|
|
+ description: points to a service account that should be used for authentication
|
|
|
+ properties:
|
|
|
+ audiences:
|
|
|
+ description: |-
|
|
|
+ Audience specifies the `aud` claim for the service account token
|
|
|
+ If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
|
|
|
+ then this audiences will be appended to the list
|
|
|
+ items:
|
|
|
+ type: string
|
|
|
+ type: array
|
|
|
+ name:
|
|
|
+ description: The name of the ServiceAccount resource being referred to.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
|
|
+ type: string
|
|
|
+ namespace:
|
|
|
+ description: |-
|
|
|
+ Namespace of the resource being referred to.
|
|
|
+ Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
|
|
|
+ maxLength: 63
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
|
+ type: string
|
|
|
+ required:
|
|
|
+ - name
|
|
|
+ type: object
|
|
|
+ token:
|
|
|
+ description: use static token to authenticate with
|
|
|
+ properties:
|
|
|
+ bearerToken:
|
|
|
+ description: |-
|
|
|
+ SecretKeySelector is a reference to a specific 'key' within a Secret resource.
|
|
|
+ In some instances, `key` is a required field.
|
|
|
+ properties:
|
|
|
+ key:
|
|
|
+ description: |-
|
|
|
+ A key in the referenced Secret.
|
|
|
+ Some instances of this field may be defaulted, in others it may be required.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[-._a-zA-Z0-9]+$
|
|
|
+ type: string
|
|
|
+ name:
|
|
|
+ description: The name of the Secret resource being referred to.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
|
|
+ type: string
|
|
|
+ namespace:
|
|
|
+ description: |-
|
|
|
+ The namespace of the Secret resource being referred to.
|
|
|
+ Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
|
|
|
+ maxLength: 63
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
|
+ type: string
|
|
|
+ type: object
|
|
|
+ type: object
|
|
|
+ type: object
|
|
|
+ authRef:
|
|
|
+ description: A reference to a secret that contains the auth information.
|
|
|
+ properties:
|
|
|
+ key:
|
|
|
+ description: |-
|
|
|
+ A key in the referenced Secret.
|
|
|
+ Some instances of this field may be defaulted, in others it may be required.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[-._a-zA-Z0-9]+$
|
|
|
+ type: string
|
|
|
+ name:
|
|
|
+ description: The name of the Secret resource being referred to.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
|
|
+ type: string
|
|
|
+ namespace:
|
|
|
+ description: |-
|
|
|
+ The namespace of the Secret resource being referred to.
|
|
|
+ Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
|
|
|
+ maxLength: 63
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
|
+ type: string
|
|
|
+ type: object
|
|
|
+ remoteNamespace:
|
|
|
+ default: default
|
|
|
+ description: Remote namespace to fetch the secrets from
|
|
|
+ maxLength: 63
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
|
+ type: string
|
|
|
+ server:
|
|
|
+ description: configures the Kubernetes server Address.
|
|
|
+ properties:
|
|
|
+ caBundle:
|
|
|
+ description: CABundle is a base64-encoded CA certificate
|
|
|
+ format: byte
|
|
|
+ type: string
|
|
|
+ caProvider:
|
|
|
+ description: 'see: https://external-secrets.io/v0.4.1/spec/#external-secrets.io/v1alpha1.CAProvider'
|
|
|
+ properties:
|
|
|
+ key:
|
|
|
+ description: The key where the CA certificate can be found in the Secret or ConfigMap.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[-._a-zA-Z0-9]+$
|
|
|
+ type: string
|
|
|
+ name:
|
|
|
+ description: The name of the object located at the provider type.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
|
|
+ type: string
|
|
|
+ namespace:
|
|
|
+ description: |-
|
|
|
+ The namespace the Provider type is in.
|
|
|
+ Can only be defined when used in a ClusterSecretStore.
|
|
|
+ maxLength: 63
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
|
+ type: string
|
|
|
+ type:
|
|
|
+ description: The type of provider to use such as "Secret", or "ConfigMap".
|
|
|
+ enum:
|
|
|
+ - Secret
|
|
|
+ - ConfigMap
|
|
|
+ type: string
|
|
|
+ required:
|
|
|
+ - name
|
|
|
+ - type
|
|
|
+ type: object
|
|
|
+ url:
|
|
|
+ default: kubernetes.default
|
|
|
+ description: configures the Kubernetes server Address.
|
|
|
+ type: string
|
|
|
+ type: object
|
|
|
+ type: object
|
|
|
+ type: object
|
|
|
+ served: true
|
|
|
+ storage: true
|
|
|
+ subresources:
|
|
|
+ status: {}
|
|
|
+---
|
|
|
+apiVersion: apiextensions.k8s.io/v1
|
|
|
+kind: CustomResourceDefinition
|
|
|
+metadata:
|
|
|
+ annotations:
|
|
|
+ controller-gen.kubebuilder.io/version: v0.19.0
|
|
|
+ name: secretsmanagers.provider.external-secrets.io
|
|
|
+spec:
|
|
|
+ group: provider.external-secrets.io
|
|
|
+ names:
|
|
|
+ categories:
|
|
|
+ - externalsecrets
|
|
|
+ kind: SecretsManager
|
|
|
+ listKind: SecretsManagerList
|
|
|
+ plural: secretsmanagers
|
|
|
+ shortNames:
|
|
|
+ - sm
|
|
|
+ singular: secretsmanager
|
|
|
+ scope: Namespaced
|
|
|
+ versions:
|
|
|
+ - additionalPrinterColumns:
|
|
|
+ - jsonPath: .spec.region
|
|
|
+ name: Region
|
|
|
+ type: string
|
|
|
+ - jsonPath: .metadata.creationTimestamp
|
|
|
+ name: Age
|
|
|
+ type: date
|
|
|
+ name: v2alpha1
|
|
|
+ schema:
|
|
|
+ openAPIV3Schema:
|
|
|
+ description: SecretsManager is the Schema for AWS Secrets Manager provider configuration
|
|
|
+ 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: SecretsManagerSpec defines the desired state of SecretsManager
|
|
|
+ properties:
|
|
|
+ additionalRoles:
|
|
|
+ description: AdditionalRoles is a chained list of Role ARNs which the provider will sequentially assume before assuming the Role
|
|
|
+ items:
|
|
|
+ type: string
|
|
|
+ type: array
|
|
|
+ auth:
|
|
|
+ description: |-
|
|
|
+ Auth defines the information necessary to authenticate against AWS
|
|
|
+ if not set aws sdk will infer credentials from your environment
|
|
|
+ see: https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html#specifying-credentials
|
|
|
+ properties:
|
|
|
+ jwt:
|
|
|
+ description: AWSJWTAuth stores reference to Authenticate against AWS using service account tokens.
|
|
|
+ properties:
|
|
|
+ serviceAccountRef:
|
|
|
+ description: ServiceAccountSelector is a reference to a ServiceAccount resource.
|
|
|
+ properties:
|
|
|
+ audiences:
|
|
|
+ description: |-
|
|
|
+ Audience specifies the `aud` claim for the service account token
|
|
|
+ If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
|
|
|
+ then this audiences will be appended to the list
|
|
|
+ items:
|
|
|
+ type: string
|
|
|
+ type: array
|
|
|
+ name:
|
|
|
+ description: The name of the ServiceAccount resource being referred to.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
|
|
+ type: string
|
|
|
+ namespace:
|
|
|
+ description: |-
|
|
|
+ Namespace of the resource being referred to.
|
|
|
+ Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
|
|
|
+ maxLength: 63
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
|
+ type: string
|
|
|
+ required:
|
|
|
+ - name
|
|
|
+ type: object
|
|
|
+ type: object
|
|
|
+ secretRef:
|
|
|
+ description: |-
|
|
|
+ AWSAuthSecretRef holds secret references for AWS credentials
|
|
|
+ both AccessKeyID and SecretAccessKey must be defined in order to properly authenticate.
|
|
|
+ properties:
|
|
|
+ accessKeyIDSecretRef:
|
|
|
+ description: The AccessKeyID is used for authentication
|
|
|
+ properties:
|
|
|
+ key:
|
|
|
+ description: |-
|
|
|
+ A key in the referenced Secret.
|
|
|
+ Some instances of this field may be defaulted, in others it may be required.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[-._a-zA-Z0-9]+$
|
|
|
+ type: string
|
|
|
+ name:
|
|
|
+ description: The name of the Secret resource being referred to.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
|
|
+ type: string
|
|
|
+ namespace:
|
|
|
+ description: |-
|
|
|
+ The namespace of the Secret resource being referred to.
|
|
|
+ Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
|
|
|
+ maxLength: 63
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
|
+ type: string
|
|
|
+ type: object
|
|
|
+ secretAccessKeySecretRef:
|
|
|
+ description: The SecretAccessKey is used for authentication
|
|
|
+ properties:
|
|
|
+ key:
|
|
|
+ description: |-
|
|
|
+ A key in the referenced Secret.
|
|
|
+ Some instances of this field may be defaulted, in others it may be required.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[-._a-zA-Z0-9]+$
|
|
|
+ type: string
|
|
|
+ name:
|
|
|
+ description: The name of the Secret resource being referred to.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
|
|
+ type: string
|
|
|
+ namespace:
|
|
|
+ description: |-
|
|
|
+ The namespace of the Secret resource being referred to.
|
|
|
+ Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
|
|
|
+ maxLength: 63
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
|
+ type: string
|
|
|
+ type: object
|
|
|
+ sessionTokenSecretRef:
|
|
|
+ description: |-
|
|
|
+ The SessionToken used for authentication
|
|
|
+ This must be defined if AccessKeyID and SecretAccessKey are temporary credentials
|
|
|
+ see: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html
|
|
|
+ properties:
|
|
|
+ key:
|
|
|
+ description: |-
|
|
|
+ A key in the referenced Secret.
|
|
|
+ Some instances of this field may be defaulted, in others it may be required.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[-._a-zA-Z0-9]+$
|
|
|
+ type: string
|
|
|
+ name:
|
|
|
+ description: The name of the Secret resource being referred to.
|
|
|
+ maxLength: 253
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
|
|
+ type: string
|
|
|
+ namespace:
|
|
|
+ description: |-
|
|
|
+ The namespace of the Secret resource being referred to.
|
|
|
+ Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
|
|
|
+ maxLength: 63
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
|
+ type: string
|
|
|
+ type: object
|
|
|
+ type: object
|
|
|
+ type: object
|
|
|
+ externalID:
|
|
|
+ description: AWS External ID set on assumed IAM roles
|
|
|
+ type: string
|
|
|
+ prefix:
|
|
|
+ description: Prefix adds a prefix to all retrieved values.
|
|
|
+ type: string
|
|
|
+ region:
|
|
|
+ description: AWS Region to be used for the provider
|
|
|
+ type: string
|
|
|
+ role:
|
|
|
+ description: Role is a Role ARN which the provider will assume
|
|
|
+ type: string
|
|
|
+ secretsManager:
|
|
|
+ description: SecretsManager defines how the provider behaves when interacting with AWS SecretsManager
|
|
|
+ properties:
|
|
|
+ forceDeleteWithoutRecovery:
|
|
|
+ description: |-
|
|
|
+ Specifies whether to delete the secret without any recovery window. You
|
|
|
+ can't use both this parameter and RecoveryWindowInDays in the same call.
|
|
|
+ If you don't use either, then by default Secrets Manager uses a 30 day
|
|
|
+ recovery window.
|
|
|
+ see: https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DeleteSecret.html#SecretsManager-DeleteSecret-request-ForceDeleteWithoutRecovery
|
|
|
+ type: boolean
|
|
|
+ recoveryWindowInDays:
|
|
|
+ description: |-
|
|
|
+ The number of days from 7 to 30 that Secrets Manager waits before
|
|
|
+ permanently deleting the secret. You can't use both this parameter and
|
|
|
+ ForceDeleteWithoutRecovery in the same call. If you don't use either,
|
|
|
+ then by default Secrets Manager uses a 30-day recovery window.
|
|
|
+ see: https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DeleteSecret.html#SecretsManager-DeleteSecret-request-RecoveryWindowInDays
|
|
|
+ type: integer
|
|
|
+ type: object
|
|
|
+ sessionTags:
|
|
|
+ description: AWS STS assume role session tags
|
|
|
+ items:
|
|
|
+ description: |-
|
|
|
+ Tag is a key-value pair that can be attached to an AWS resource.
|
|
|
+ see: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
|
+ properties:
|
|
|
+ key:
|
|
|
+ type: string
|
|
|
+ value:
|
|
|
+ type: string
|
|
|
+ required:
|
|
|
+ - key
|
|
|
+ - value
|
|
|
+ type: object
|
|
|
+ type: array
|
|
|
+ transitiveTagKeys:
|
|
|
+ description: AWS STS assume role transitive session tags. Required when multiple rules are used with the provider
|
|
|
+ items:
|
|
|
+ type: string
|
|
|
+ type: array
|
|
|
+ required:
|
|
|
+ - region
|
|
|
+ type: object
|
|
|
+ status:
|
|
|
+ description: SecretsManagerStatus defines the observed state of SecretsManager
|
|
|
+ properties:
|
|
|
+ conditions:
|
|
|
+ description: Conditions represent the latest available observations of the resource's state.
|
|
|
+ items:
|
|
|
+ description: Condition contains details for one aspect of the current state of this API Resource.
|
|
|
+ properties:
|
|
|
+ lastTransitionTime:
|
|
|
+ description: |-
|
|
|
+ lastTransitionTime is the last time the condition transitioned from one status to another.
|
|
|
+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
|
|
|
+ format: date-time
|
|
|
+ type: string
|
|
|
+ message:
|
|
|
+ description: |-
|
|
|
+ message is a human readable message indicating details about the transition.
|
|
|
+ This may be an empty string.
|
|
|
+ maxLength: 32768
|
|
|
+ type: string
|
|
|
+ observedGeneration:
|
|
|
+ description: |-
|
|
|
+ observedGeneration represents the .metadata.generation that the condition was set based upon.
|
|
|
+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
|
|
|
+ with respect to the current state of the instance.
|
|
|
+ format: int64
|
|
|
+ minimum: 0
|
|
|
+ type: integer
|
|
|
+ reason:
|
|
|
+ description: |-
|
|
|
+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
|
|
|
+ Producers of specific condition types may define expected values and meanings for this field,
|
|
|
+ and whether the values are considered a guaranteed API.
|
|
|
+ The value should be a CamelCase string.
|
|
|
+ This field may not be empty.
|
|
|
+ maxLength: 1024
|
|
|
+ minLength: 1
|
|
|
+ pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
|
|
|
+ type: string
|
|
|
+ status:
|
|
|
+ description: status of the condition, one of True, False, Unknown.
|
|
|
+ enum:
|
|
|
+ - "True"
|
|
|
+ - "False"
|
|
|
+ - Unknown
|
|
|
+ type: string
|
|
|
+ type:
|
|
|
+ description: type of condition in CamelCase or in foo.example.com/CamelCase.
|
|
|
+ maxLength: 316
|
|
|
+ pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
|
|
|
+ type: string
|
|
|
+ required:
|
|
|
+ - lastTransitionTime
|
|
|
+ - message
|
|
|
+ - reason
|
|
|
+ - status
|
|
|
+ - type
|
|
|
+ type: object
|
|
|
+ type: array
|
|
|
+ type: object
|
|
|
+ type: object
|
|
|
+ served: true
|
|
|
+ storage: true
|
|
|
+ subresources:
|
|
|
+ status: {}
|