Comments (3)
Perhaps one thing we could do to improve usability is to make the
listener
andoidcServer
properties both mandatory.
I think this would be the best. It would force the customer to choose what he wants explicitly. Thanks for looking into this again :)
from authorino-operator.
@pehala, failing when missing the secret is actually by design. It was implemented this way to avoid issues when both resources are applied together and handled concurrently by the API server.
Users and automation should rely status.conditions
to read the state of the Authorino instance.
from authorino-operator.
Taking a second look on this after we spoke, @pehala...
Perhaps one thing we could do to improve usability is to make the listener
and oidcServer
properties both mandatory.
Although enabled: true
is inferred by default, no assumption is made about the name of the secrets that store the TLS server certs. Consequently, (listener|oidcServer).tls.certSecretRef.name
must be provided. On the other hand, if the user wants to disable TLS, then (listener|oidcServer).enabled: false
is required. That all reduces to virtually listener
and oidcServer
being always needed – either to enable or to disable TLS. Requiring those fields is something easy to enforce via OAS.
Another option would be to make (listener|oidcServer).enabled: false
the default. The sample CR you provided in the descriptions of the issue would be accepted instead of to fail. However, I believe TLS enabled by default would be perceived as a better practice, so I'd probably advocate for the other solution instead of this one.
WDYT?
from authorino-operator.
Related Issues (20)
- CI/CD workflows HOT 1
- `RuntimeDefault` seccomp profile in the SCCs
- Configure Authorino using command-line flags
- Support for Authorino tracing options
- Setup CodeCov integration
- Set the `replaces` directive in the CSV
- Include commit SHA for related images in the operator catalog
- workflow: update actions/checkout & actions/setup-go
- dep: use ginkgo v2
- Test auto-add to project
- [GHA] Test Scripts workflow for macos is broken HOT 2
- Install authorino-operator in Air-gapped environment or helm chart of the Operator HOT 2
- Upgrade Golang to 1.20.10/1.21.3+ HOT 1
- Missing AuthConfig v1beta2 display name and description in the CSV
- Support for `--tracing-service-insecure`
- SHA builds do not use fixed Authorino image
- Extra quotes in the custom tracing tags
- Release workflow includes all change log the beginning
- Support vX.Y floating tags for releases
- BUG: Authorino operator metrics service isnt being created
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from authorino-operator.