ServiceUser
Usage example¶
apiVersion: aiven.io/v1alpha1
kind: ServiceUser
metadata:
name: my-service-user
spec:
authSecretRef:
name: aiven-token
key: token
connInfoSecretTarget:
name: service-user-secret
prefix: MY_SECRET_PREFIX_
annotations:
foo: bar
labels:
baz: egg
project: aiven-project-name
serviceName: my-service-name
ServiceUser¶
ServiceUser is the Schema for the serviceusers API.
Required
apiVersion
(string). Valueaiven.io/v1alpha1
.kind
(string). ValueServiceUser
.metadata
(object). Data that identifies the object, including aname
string and optionalnamespace
.spec
(object). ServiceUserSpec defines the desired state of ServiceUser. See below for nested schema.
spec¶
Appears on ServiceUser
.
ServiceUserSpec defines the desired state of ServiceUser.
Required
project
(string, Immutable, MaxLength: 63, Format:^[a-zA-Z0-9_-]+$
). Identifies the project this resource belongs to.serviceName
(string, Immutable, MaxLength: 63, Format:^[a-z][-a-z0-9]+$
). Specifies the name of the service that this resource belongs to.
Optional
authSecretRef
(object). Authentication reference to Aiven token in a secret. See below for nested schema.authentication
(string, Enum:caching_sha2_password
,mysql_native_password
). Authentication details.connInfoSecretTarget
(object). Information regarding secret creation. Exposed keys:SERVICEUSER_HOST
,SERVICEUSER_PORT
,SERVICEUSER_USERNAME
,SERVICEUSER_PASSWORD
,SERVICEUSER_CA_CERT
,SERVICEUSER_ACCESS_CERT
,SERVICEUSER_ACCESS_KEY
. See below for nested schema.connInfoSecretTargetDisabled
(boolean, Immutable). When true, the secret containing connection information will not be created, defaults to false. This field cannot be changed after resource creation.
authSecretRef¶
Appears on spec
.
Authentication reference to Aiven token in a secret.
Required
connInfoSecretTarget¶
Appears on spec
.
Information regarding secret creation. Exposed keys: SERVICEUSER_HOST
, SERVICEUSER_PORT
, SERVICEUSER_USERNAME
, SERVICEUSER_PASSWORD
, SERVICEUSER_CA_CERT
, SERVICEUSER_ACCESS_CERT
, SERVICEUSER_ACCESS_KEY
.
Required
name
(string). Name of the secret resource to be created. By default, it is equal to the resource name.
Optional
annotations
(object, AdditionalProperties: string). Annotations added to the secret.labels
(object, AdditionalProperties: string). Labels added to the secret.prefix
(string). Prefix for the secret's keys. Added "as is" without any transformations. By default, is equal to the kind name in uppercase + underscore, e.g.KAFKA_
,REDIS_
, etc.