-
Notifications
You must be signed in to change notification settings - Fork 323
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
Add - separated names for config entry crds #965
Conversation
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.
Have the CRDs intentionally not been migrated to the helm chart as well? This change looks good!
@@ -29,6 +29,7 @@ func init() { | |||
// +kubebuilder:printcolumn:name="Synced",type="string",JSONPath=".status.conditions[?(@.type==\"Synced\")].status",description="The sync status of the resource with Consul" | |||
// +kubebuilder:printcolumn:name="Last Synced",type="date",JSONPath=".status.lastSyncedTime",description="The last successful synced time of the resource with Consul" | |||
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="The age of the resource" | |||
// +kubebuilder:resource:shortName="exported-services" |
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.
it's funny that it is the "short" name even though it is a character longer.
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 know I'm stretching the recommended usage... but they don't have an aliases
field!
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 did not catch any typos :D
Looks great!
Right... no I just forgot them! |
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.
Love the "short" names ;)
Great job @lkysow !! Hitting approve assuming the CRDs will be migrated into the helm charts too!!!
For example allow both kubectl get ingressgateways and kubectl get ingress-gateways. When specified in .hcl or .json the config entries are dash-separated so this makes it consistent if someone uses a dash by mistake after reading our docs.
5e8890e
to
6af8bab
Compare
For example allow both kubectl get ingressgateways and
kubectl get ingress-gateways.
When specified in .hcl or .json the config entries are dash-separated so
this makes it consistent if someone uses a dash by mistake after reading
our docs.
How I've tested this PR:
How I expect reviewers to test this PR:
Checklist: