Kuadrant / authorino-operator

Kubernetes Operator to manage Authorino instances
Apache License 2.0
9 stars 21 forks source link

Configure Authorino using command-line flags #101

Closed guicassolato closed 1 year ago

guicassolato commented 2 years ago

Configure Authorino using command-line flags, to keep up with the changes introduced in https://github.com/Kuadrant/authorino/pull/366.

Ideally, the operator should be able to detect when to use command-line flags to the inject the configuration to the binary or the now deprecated environment variables equivalent. This is particularly useful when crossing newer versions of the operator with older versions of the operand in dev and test environments, where finer backward compatibility is often needed (e.g. deploying a git-ref a few commits behind latest or head of release).

Newer versions of the operand (post-#366) with older versions of the operator should not be an issue, due to the backward compatibility ensured by the operand. IOW, Authorino still processes the old env vars to set the defaults of the configuration options.