Specific configuration for the datastore type. This must be one of these DataStoreConfig.
Yes
DataStoreConfig
Must be one of the following objects:
DataStoreFireStoreConfig
Field
Type
Description
Required
namespace
string
The root path element considered as a logical namespace, e.g. pipecd.
Yes
environment
string
The second path element considered as a logical environment, e.g. dev. All pipecd collections will have path formatted according to {namespace}/{environment}/{collection-name}.
Yes
collectionNamePrefix
string
The prefix for collection name. This can be used to avoid conflicts with existing collections in your Firestore database.
No
project
string
The name of GCP project hosting the Firestore.
Yes
credentialsFile
string
The path to the service account file for accessing Firestores.
No
DataStoreMySQLConfig
Field
Type
Description
Required
url
string
The address to MySQL server. Should attach with the database port info as 127.0.0.1:3307 in case you want to use another port than the default value.
Yes
database
string
The name of database.
No (If you set it via URL)
usernameFile
string
Path to the file containing the username.
No
passwordFile
string
Path to the file containing the password.
No
FileStore
Field
Type
Description
Required
type
string
Which type of file store should be used. Can be one of the following values GCS, S3, MINIO
Specific configuration for the filestore type. This must be one of these FileStoreConfig.
Yes
FileStoreConfig
Must be one of the following objects:
FileStoreGCSConfig
Field
Type
Description
Required
bucket
string
The bucket name.
Yes
credentialsFile
string
The path to the service account file for accessing GCS.
No
FileStoreS3Config
Field
Type
Description
Required
bucket
string
The AWS S3 bucket name.
Yes
region
string
The AWS region name.
Yes
profile
string
The AWS profile name. Default value is default.
No
credentialsFile
string
The path to AWS credential file. Requires only if you want to auth by specified credential file, by default PipeCD will use $HOME/.aws/credentials file.
No
roleARN
string
The IAM role arn to use when assuming an role. Requires only if you want to auth by WebIdentity pattern.
No
tokenFile
string
The path to the WebIdentity token PipeCD should use to assume a role with. Requires only if you want to auth by WebIdentity pattern.
No
FileStoreMinioConfig
Field
Type
Description
Required
endpoint
string
The address of Minio.
Yes
bucket
string
The bucket name.
Yes
accessKeyFile
string
The path to the access key file.
No
secretKeyFile
string
The path to the secret key file.
No
autoCreateBucket
bool
Whether the given bucket should be made automatically if not exists.
No
Cache
Field
Type
Description
Required
ttl
duration
The time that in-memory cache items are stored before they are considered as stale.
Copyright The PipeCD Authors.
The Linux Foundation® (TLF) has registered trademarks and uses trademarks. For a list of TLF trademarks,
see Trademark Usage.