Repository navigation
Conversation
|
|
All good points, thanks for your feedback!
I think
I was considering using an untagged enum like security:
oAuth2:
serverUri: https://keycloak.default.svc.cluster.local:8443/realms/test/protocol/openid-connect/token
credentialSecretName: my-keycloak-credentials
# or
tokenSecretName: my-keycloak-tokenThis has one level of indentation less, but allows users to configure both (credentials and token) and our operator defines what takes precedence (I'd say token?) and silently ignores the other. That's the tradeoff. I don't have a strong opinion, but I feel like in the past we tended towards less untagged enums and more "impossible to express invalid config". But as mentioned no strong opinion, would be interested in other opinions.
I personally prefer |
|
Did you consider adding a new catalog type No breaking changes, no conversion problems no new CRD version needed. |
|
I have do admit I never though of such a change. |
I wasn't aware of that, TIL! I also tested it and it's the perfect solution, so I went with that in 1b9f0a8 |
|
I learned it from Razvan on the OpenLineage thing :) |
|
I have not looked at the code but CRD wise I'm fine now. |
|
Perfect, thanks for the feedback! I'm also happy :) |
|
note to myself: Check if we want to use host, port and tls field similar to https://docs.stackable.tech/home/stable/concepts/authentication/#OIDC |
|
CRD decision accepted |
e62366c to
eedbc35
Compare
Part of #849
Needs stackabletech/operator-rs#1293
Description
This PR allows users to connect Trino to a Iceberg REST catalog via the CRD.
As it's a breaking change (moving to a complex enum), we introduce v1alpha2 for this.
CRD change
See the
extra/crds.yamlchange. It's a bit hard to spot the diff because of the addition of v1alpha2.Usage examples
Up to date examples are in the PR, but some examples:
Considered alternatives
Take URI as URI
Pros:
Cons:
Definition of Done Checklist
Author
Reviewer
Acceptance
type/deprecationlabel & add to the deprecation scheduletype/experimentallabel & add to the experimental features tracker