We use oadp-oeprator with ROKS (managed Openshift on IBMCloud).
We failed to set-up oadp-operator with ICOS(S3 compatible IBM Cloud Object Storage)endpoint due to the following error,
- panic: invalid region provided: jp-tok
This is because jp-tok is an IBM region name that AWS does not have.
I know that we can bypass region check with env "REGISTRY_STORAGE_S3_REGIONENDPOINT",
but the value of s3url has been ignored.
veloro setup YAML:
apiVersion: konveyor.openshift.io/v1alpha1
kind: Velero
metadata:
name: velero
namespace: oadp-operator
spec:
olm_managed: true
backup_storage_locations:
- config:
region: us-east-1
s3ForcePathStyle: true
s3Url: 'https://s3.private.jp-tok.cloud-object-storage.appdomain.cloud'
...
oadp-default-aws-registry env:
...
env:
- name: REGISTRY_STORAGE
value: s3
- name: REGISTRY_STORAGE_S3_ACCESSKEY
value: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- name: REGISTRY_STORAGE_S3_BUCKET
value: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- name: REGISTRY_STORAGE_S3_REGION
value: jp-tok
- name: REGISTRY_STORAGE_S3_SECRETKEY
value: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
...
We can work around this by manually adding env REGISTRY_STORAGE_S3_REGIONENDPOINT to oadp-default-aws-registry deployment, but I don't think this is recommended since this deployment controlled by an operator.
How should I handle this?
We use oadp-oeprator with ROKS (managed Openshift on IBMCloud).
We failed to set-up oadp-operator with ICOS(S3 compatible IBM Cloud Object Storage)endpoint due to the following error,
This is because jp-tok is an IBM region name that AWS does not have.
I know that we can bypass region check with env "REGISTRY_STORAGE_S3_REGIONENDPOINT",
but the value of s3url has been ignored.
veloro setup YAML:
oadp-default-aws-registry env:
We can work around this by manually adding env REGISTRY_STORAGE_S3_REGIONENDPOINT to oadp-default-aws-registry deployment, but I don't think this is recommended since this deployment controlled by an operator.
How should I handle this?