-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API: Improve API and increase version to v1 #165
Conversation
manifests/config_map.yaml
Outdated
tls-profile-v1alpha1.yaml: | | ||
type: Intermediate | ||
intermediate: {} | ||
tls-profile-v1.yaml: "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Example not required anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't want to specify any configuration, but at the same time I wanted to keep the file in ConfigMap, so it is clear what filename should be used.
IMHO it is better to use empty file, which will result in default TLS configuration, than to specify some configuration here. Otherwise we would need to keep it updated.
fc25211
to
379805f
Compare
Added "expirationTimestamp" to the response of the /token endpoint. This is for convenience, and to be similar to the response from ServiceAccount TokenRequest API. Signed-off-by: Andrej Krejcir <[email protected]>
Signed-off-by: Andrej Krejcir <[email protected]>
The struct that is expected in the TLS config file does not use OpenShift type. This is useful to remove OpenShift dependency from the API. Signed-off-by: Andrej Krejcir <[email protected]>
The current API is good enough to be v1. Signed-off-by: Andrej Krejcir <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to deprecate the old API or ensure compatibility?
Otherwise looks fine
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 0xFelix The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Previous API was |
Thanks for your efforts! Nice job! |
What this PR does / why we need it:
This PR does these changes:
/token
endpoint.v1
Which issue(s) this PR fixes:
Jira: https://issues.redhat.com/browse/CNV-45061
Release note: