Skip to main content

API Reference

Packages

stack.formance.com/v1beta3

Package v1beta3 contains API Schema definitions for the stack v1beta3 API group

Resource Types

AnnotationsServicesSpec

Appears in:

FieldDescription
service object (keys:string, values:string)

AuthConfig

Appears in:

FieldDescription
readKeySetMaxRetries integer
checkScopes boolean

AuthSpec

Appears in:

FieldDescription
postgres PostgresConfig
staticClients StaticClient array
debug boolean
dev boolean
resourceProperties ResourceProperties
annotations AnnotationsServicesSpec

Batching

Appears in:

FieldDescription
count integer
period string

Broker

Appears in:

FieldDescription
kafka KafkaConfig
nats NatsConfig

ClientConfiguration

Appears in:

FieldDescription
public boolean
description string
redirectUris string array
postLogoutRedirectUris string array
scopes string array

CommonServiceProperties

Appears in:

FieldDescription
debug boolean
dev boolean
disabled boolean

Condition

Appears in:

FieldDescription
type stringtype of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
observedGeneration integerobservedGeneration 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.
lastTransitionTime TimelastTransitionTime 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.
message stringmessage is a human readable message indicating details about the transition. This may be an empty string.

Conditions

Underlying type: Condition

Appears in:

FieldDescription
type stringtype of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
observedGeneration integerobservedGeneration 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.
lastTransitionTime TimelastTransitionTime 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.
message stringmessage is a human readable message indicating details about the transition. This may be an empty string.

Configuration

Configuration is the Schema for the configurations API

FieldDescription
apiVersion stringstack.formance.com/v1beta3
kind stringConfiguration
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec ConfigurationSpec

ConfigurationServicesSpec

ConfigurationServicesSpec define all existing services for a stack. Fields order is important. For example, auth must be defined later as other services create static auth clients which must be used by auth.

Appears in:

FieldDescription
control ControlSpec
ledger LedgerSpec
payments PaymentsSpec
reconciliation ReconciliationSpec
webhooks WebhooksSpec
wallets WalletsSpec
orchestration OrchestrationSpec
search SearchSpec
auth AuthSpec
gateway GatewaySpec
stargate StargateSpec

ConfigurationSpec

Appears in:

FieldDescription
services ConfigurationServicesSpec
broker Broker
monitoring MonitoringSpec
auth AuthConfig
ingress IngressGlobalConfig
temporal TemporalConfig
light booleanLightMode is experimental and indicate we want monopods
registries object (keys:string, values:RegistryConfig)

ControlSpec

Appears in:

FieldDescription
debug boolean
dev boolean
disabled boolean
resourceProperties ResourceProperties
annotations AnnotationsServicesSpec

DelegatedOIDCServerConfiguration

Appears in:

FieldDescription
issuer string
clientID string
clientSecret string

DeploymentStrategy

Underlying type: string

Appears in:

DevProperties

Appears in:

FieldDescription
debug boolean
dev boolean

ElasticSearchBasicAuthConfig

Appears in:

FieldDescription
username string
password string
secretName string

ElasticSearchConfig

Appears in:

FieldDescription
scheme string
host string
port integer
tls ElasticSearchTLSConfig
basicAuth ElasticSearchBasicAuthConfig
pathPrefix string
useZinc boolean

ElasticSearchTLSConfig

Appears in:

FieldDescription
enabled boolean
skipCertVerify boolean

GatewaySpec

Appears in:

FieldDescription
resourceProperties ResourceProperties
annotations AnnotationsServicesSpec
fallback string
enableAuditPlugin boolean
livenessEndpoint string
enableScopes boolean

IngressConfig

Appears in:

FieldDescription
annotations object (keys:string, values:string)

IngressGlobalConfig

Appears in:

FieldDescription
annotations object (keys:string, values:string)
tls IngressTLS

IngressTLS

Appears in:

FieldDescription
secretName stringSecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.

KafkaConfig

Appears in:

FieldDescription
brokers string array
tls boolean
sasl KafkaSASLConfig

KafkaSASLConfig

Appears in:

FieldDescription
username string
password string
mechanism string
scramSHASize string

LedgerSpec

Appears in:

FieldDescription
debug boolean
dev boolean
disabled boolean
postgres PostgresConfig
locking LockingStrategy
allowPastTimestamps boolean
resourceProperties ResourceProperties
annotations AnnotationsServicesSpec
deploymentStrategy DeploymentStrategy
disabled boolean

LockingStrategy

Appears in:

FieldDescription
strategy string
redis LockingStrategyRedisConfig

LockingStrategyRedisConfig

Appears in:

FieldDescription
uri string
tls boolean
insecure boolean
duration Duration
retry Duration

MetricsSpec

Appears in:

FieldDescription
otlp OtlpSpec

Migration

Migration is the Schema for the migrations API

FieldDescription
apiVersion stringstack.formance.com/v1beta3
kind stringMigration
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec MigrationSpec

MigrationSpec

MigrationSpec defines the desired state of Migration

Appears in:

FieldDescription
configuration string
currentVersion string
version string
module string
targetedVersion string
postUpgrade boolean

MonitoringSpec

Appears in:

FieldDescription
traces TracesSpec
metrics MetricsSpec

NatsConfig

Appears in:

FieldDescription
url string
replicas integer

OrchestrationSpec

Appears in:

FieldDescription
debug boolean
dev boolean
disabled boolean
postgres PostgresConfig
resourceProperties ResourceProperties
annotations AnnotationsServicesSpec

OtlpSpec

Appears in:

FieldDescription
endpoint string
port integer
insecure boolean
mode string
resourceAttributes string

PaymentsSpec

Appears in:

FieldDescription
debug boolean
dev boolean
disabled boolean
encryptionKey string
postgres PostgresConfig
resourceProperties ResourceProperties
annotations AnnotationsServicesSpec

PostgresConfig

Appears in:

FieldDescription
port integer
host string
username string
password string
debug boolean
credentialsFromSecret string
disableSSLMode boolean

ReconciliationSpec

Appears in:

FieldDescription
debug boolean
dev boolean
disabled boolean
postgres PostgresConfig
resourceProperties ResourceProperties
annotations AnnotationsServicesSpec

RegistryConfig

Appears in:

FieldDescription
endpoint string

ResourceProperties

Appears in:

FieldDescription
request resource
limits resource

SearchSpec

Appears in:

FieldDescription
debug boolean
dev boolean
disabled boolean
elasticSearch ElasticSearchConfig
batching Batching
searchResourceProperties ResourceProperties
benthosResourceProperties ResourceProperties
annotations AnnotationsServicesSpec

Stack

Stack is the Schema for the stacks API

FieldDescription
apiVersion stringstack.formance.com/v1beta3
kind stringStack
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec StackSpec

StackAuthSpec

Appears in:

FieldDescription
delegatedOIDCServer DelegatedOIDCServerConfiguration
staticClients StaticClient array

StackServicePropertiesSpec

Appears in:

FieldDescription
disabled boolean

StackServicesSpec

Appears in:

FieldDescription
ledger StackServicePropertiesSpec
orchestration StackServicePropertiesSpec
reconciliation StackServicePropertiesSpec
payments StackServicePropertiesSpec
wallets StackServicePropertiesSpec
webhooks StackServicePropertiesSpec
control StackServicePropertiesSpec

StackSpec

StackSpec defines the desired state of Stack

Appears in:

FieldDescription
debug boolean
dev boolean
seed string
host string
auth StackAuthSpec
stargate StackStargateConfig
versions string
scheme string
disabled boolean
services StackServicesSpec

StackStargateConfig

Appears in:

FieldDescription
stargateServerURL string

StargateSpec

Appears in:

FieldDescription
debug boolean
dev boolean
resourceProperties ResourceProperties
annotations AnnotationsServicesSpec

StaticClient

Appears in:

FieldDescription
public boolean
description string
redirectUris string array
postLogoutRedirectUris string array
scopes string array
id string
secrets string array

Status

Appears in:

FieldDescription
conditions Conditions

TemporalConfig

Appears in:

FieldDescription
address string
namespace string
tls TemporalTLSConfig

TemporalTLSConfig

TODO: Handle validation

Appears in:

FieldDescription
crt string
key string
secretName string

TracesSpec

Appears in:

FieldDescription
otlp OtlpSpec

Versions

Versions is the Schema for the versions API

FieldDescription
apiVersion stringstack.formance.com/v1beta3
kind stringVersions
metadata ObjectMetaRefer to Kubernetes API documentation for fields of metadata.
spec VersionsSpec

VersionsSpec

VersionsSpec defines the desired state of Versions

Appears in:

FieldDescription
control string
ledger string
payments string
search string
auth string
webhooks string
wallets string
orchestration string
gateway string
stargate string
reconciliation string

WalletsSpec

Appears in:

FieldDescription
debug boolean
dev boolean
disabled boolean
resourceProperties ResourceProperties
annotations AnnotationsServicesSpec

WebhooksSpec

Appears in:

FieldDescription
debug boolean
dev boolean
disabled boolean
postgres PostgresConfig
debug boolean
dev boolean
resourceProperties ResourceProperties
annotations AnnotationsServicesSpec