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. |
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, so I added it here for now, might be outdated.Details
Usage examples
Up to date examples are in the PR, but some examples:
Definition of Done Checklist
Author
Reviewer
Acceptance
type/deprecationlabel & add to the deprecation scheduletype/experimentallabel & add to the experimental features tracker