-
Notifications
You must be signed in to change notification settings - Fork 33
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 descriptions and samples to CSV #372
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,31 @@ spec: | |
kind: RateLimitPolicy | ||
name: ratelimitpolicies.kuadrant.io | ||
version: v1beta2 | ||
- description: DNSHealthCheckProbe enables performing health checks against a DNS endpoint (A or CNAME record) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same with these |
||
displayName: DNSHealthCheckProbe | ||
kind: DNSHealthCheckProbe | ||
name: dnshealthcheckprobes.kuadrant.io | ||
version: v1alpha1 | ||
- description: DNSPolicy configures how North-South based traffic should be balanced and reach the gateways | ||
displayName: DNSPolicy | ||
kind: DNSPolicy | ||
name: dnspolicies.kuadrant.io | ||
version: v1alpha1 | ||
- description: DNSRecord represents DNS endpoints for gateway network services | ||
displayName: DNSRecord | ||
kind: DNSRecord | ||
name: dnsrecords.kuadrant.io | ||
version: v1alpha1 | ||
- description: ManagedZone configures domain or subdomain management for gateway hosts | ||
displayName: ManagedZone | ||
kind: ManagedZone | ||
name: managedzones.kuadrant.io | ||
version: v1alpha1 | ||
- description: TLSPolicy provides tls for gateway listeners by managing the lifecycle of tls certificates | ||
displayName: TLSPolicy | ||
kind: TLSPolicy | ||
name: tlspolicies.kuadrant.io | ||
version: v1alpha1 | ||
description: A Kubernetes Operator to manage the lifecycle of the Kuadrant system | ||
displayName: Kuadrant Operator | ||
icon: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 think these might need to be added in the MGC repo? I think this will get nuked when we do a new bundle as it is pulled in from MGC
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.
Right, here I just added the sample files manually to the kuadrant-operator/config/samples/kustomization.yaml from where they propagate to the examples in CSV.
Fetching these samples automatically from the MGC repo would make more sense I guess. I need to check how to do that in Kustomize. If not possible than I think the samples would need to be fetched in the
make bundle
script.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.
ah I see. Yeah I mean I guess this is ok, but would be better to have them from the source
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.
hm. Ok, did some experimentation and looks like we could put a kustomization.yaml to have a remote base with the samples in the MGC repo. The samples for TLSPolicy, ManagedZone and DNSPolicy are already there.
And since the DNSHealthCheckProbe and DNSRecord are created by the controller I suppose there is no real need to expose examples for these two in the Operator Hub through the CSV?
The snipped below would go to:
multicluster-gateway-controller/config/samples/kustomization.yaml
:Then we could have a reference to it as a remote resource for kustomize in kuadrant-operator:
This would let us keep the samples in one place and not worry about updating them manually in kuadrant-operator.
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.
sounds like a good option. If you open the PR I will take a look at it
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.
PR opened. I'll leave the link here as a cross reference: Add config/samples/kustomization.yaml #720