-
Notifications
You must be signed in to change notification settings - Fork 7
Conversation
d56fcca
to
d0a6d59
Compare
0cfb94b
to
f7f1904
Compare
d0a6d59
to
a2f4946
Compare
f7f1904
to
dce049f
Compare
a2f4946
to
51a8900
Compare
6ac3f69
to
735805a
Compare
Name: common.KuadrantAuthorizationProvider, | ||
}, | ||
}, | ||
Action: v1beta12.AuthorizationPolicy_CUSTOM, |
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.
Out of scope here, but there's a request for discussing the conventions across components at Kuadrant/authorino#164
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.
istio constant :)
Hosts []string `json:"hosts"` | ||
|
||
// Configure authentication mechanisms | ||
// +optional |
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.
Is this needed for controller-gen to make it optional? I usually rely only on omitempty
and it does the trick, but I'd love to learn about any other extra advantage.
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 have experienced that too. That's confusing as the kubebulder doc says it should be the '+optional
marker.
To make it explicit and easy to read, I always add it for optional fields
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.
Perhaps +kubebuilder:validation:Optional
then, so there's no doubt it's for kubebuilder?
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've left a couple comments kicking off conversation aside, but nothing that disapproves the change of course. LGTM
23026d6
to
dedf108
Compare
735805a
to
ad3c5da
Compare
Added fix for the apiproduct status subresource computing logic when resources are optional. |
dedf108
to
7bc3213
Compare
reconcile adding and removing sec from apiproduct
88623eb
to
e54d4eb
Compare
Support for APIProduct obejcts without security (AuthN) configuration
Reconcile adding and removing security from apiproduct
This PR is based on #55, it is ready for review, but should be merged after it