ricardopalazzio commented on issue #2398:
URL: https://github.com/apache/polaris/issues/2398#issuecomment-3207481938
@GreenBinary
im using an 'workaround', adding full catalog dns name in kubeDNS, like
network alias:
```Corefile: |
.:53 {
errors
health {
lameduck 5s
}
ready
**rewrite name exact datalake.minio.svc.cluster.local
minio.svc.cluster.local**
kubernetes cluster.local in-addr.arpa ip6.arpa {
pods insecure
fallthrough in-addr.arpa ip6.arpa
}
prometheus :9153
forward . /etc/resolv.conf
cache 30
loop
reload
loadbalance
}
```
My Trino cfg:
```
datalake: |
connector.name=iceberg
iceberg.catalog.type=rest
iceberg.rest-catalog.uri=http://polaris.polaris.svc.cluster.local:8181/api/catalog/
iceberg.rest-catalog.warehouse=datalake
iceberg.rest-catalog.vended-credentials-enabled=true
iceberg.rest-catalog.security=OAUTH2
iceberg.rest-catalog.oauth2.credential=root:pass
iceberg.rest-catalog.oauth2.scope=PRINCIPAL_ROLE:ALL
fs.native-s3.enabled=true
s3.endpoint=http://minio.svc.cluster.local:9000
s3.region=us-east-1
```
And this envs on polaris Helm values
```
extraEnv:
- name: AWS_REGION
value: "us-east-1"
- name: AWS_ACCESS_KEY_ID
value: "******"
- name: AWS_SECRET_ACCESS_KEY
value: "******"
- name: AWS_ENDPOINT_URL_S3
value: "http://minio.svc.cluster.local:9000"
- name: AWS_ENDPOINT_URL_STS
value: "http://minio.svc.cluster.local:9000"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]