Closed Nepoxx closed 11 months ago
At quick glance looks like the namespaceDefaults
config where the bucket URI is set (https://github.com/temporalio/temporal/tree/main/common/archiver/s3store) is missing. Probably in the templates for the helm chart
I have tried with and without the namespace defaults but the results doesn't change.
For what it's worth:
apiVersion: v1
data:
config_template.yaml: |-
# omitted
archival:
history:
enableRead: true
provider:
s3store:
region: ca-central-1
state: enabled
visibility:
enableRead: true
provider:
s3store:
region: ca-central-1
state: enabled
namespaceDefaults:
archival:
URI: s3://my-bucket-name-archival
state: enabled
history:
URI: s3://my-bucket-name-archival
state: enabled
kind: ConfigMap
I still get config validation error: invalid history archival config
(I also tried with a different bucket for archival and history but still get the same error)
My namespaceDefaults were wrong, it should have been:
namespaceDefaults:
archival:
visibility:
URI: s3://my-bucket-name-archival
state: enabled
history:
URI: s3://my-bucket-name-archival
state: enabled
Sorry about this.
There's a slight typo here: https://github.com/temporalio/temporal/blob/ce211cb2d966b56b4b983043ae2233057f6b3aaf/common/config/archival.go#L57 (should be domain
)
Version 1.22.1
When setting up archival using a config very similar to https://github.com/temporalio/helm-charts/blob/master/values/values.archival.s3.yaml I get:
This is the config pulled from a config map:
which looks correct. Any ideas why I'm getting this error?