Skip to content

Commit

Permalink
Add descriptions and samples to CSV (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
grzpiotrowski authored Dec 13, 2023
1 parent 0c65df1 commit ec33986
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 6 deletions.
88 changes: 82 additions & 6 deletions bundle/manifests/kuadrant-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,68 @@ metadata:
annotations:
alm-examples: |-
[
{
"apiVersion": "kuadrant.io/v1alpha1",
"kind": "DNSPolicy",
"metadata": {
"name": "example-dnspolicy"
},
"spec": {
"healthCheck": {
"endpoint": "/",
"protocol": "HTTP"
},
"targetRef": {
"group": "",
"kind": "Gateway",
"name": "example-gateway"
}
}
},
{
"apiVersion": "kuadrant.io/v1alpha1",
"kind": "ManagedZone",
"metadata": {
"labels": {
"app.kubernetes.io/created-by": "multicluster-gateway-controller",
"app.kubernetes.io/instance": "managedzone-sample",
"app.kubernetes.io/managed-by": "kustomize",
"app.kubernetes.io/name": "managedzone",
"app.kubernetes.io/part-of": "multicluster-gateway-controller"
},
"name": "managedzone-sample"
},
"spec": {
"description": "My managed domain",
"domainName": "testmz.hcapps.net"
}
},
{
"apiVersion": "kuadrant.io/v1alpha1",
"kind": "TLSPolicy",
"metadata": {
"labels": {
"app.kubernetes.io/created-by": "tmp",
"app.kubernetes.io/instance": "tlspolicy-sample",
"app.kubernetes.io/managed-by": "kustomize",
"app.kubernetes.io/name": "tlspolicy",
"app.kubernetes.io/part-of": "tmp"
},
"name": "tlspolicy-sample"
},
"spec": {
"issuerRef": {
"group": "cert-manager.io",
"kind": "ClusterIssuer",
"name": "glbc-ca"
},
"targetRef": {
"group": "gateway.networking.k8s.io",
"kind": "Gateway",
"name": "prod-web"
}
}
},
{
"apiVersion": "kuadrant.io/v1beta1",
"kind": "Kuadrant",
Expand Down Expand Up @@ -69,7 +131,7 @@ metadata:
capabilities: Basic Install
categories: Integration & Delivery
containerImage: quay.io/kuadrant/kuadrant-operator:latest
createdAt: "2023-12-08T14:10:07Z"
createdAt: "2023-12-12T12:34:15Z"
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/Kuadrant/kuadrant-operator
Expand All @@ -86,13 +148,21 @@ spec:
kind: AuthPolicy
name: authpolicies.kuadrant.io
version: v1beta2
- kind: DNSHealthCheckProbe
- description: DNSHealthCheckProbe enables performing health checks against a
DNS endpoint (A or CNAME record)
displayName: DNSHealthCheckProbe
kind: DNSHealthCheckProbe
name: dnshealthcheckprobes.kuadrant.io
version: v1alpha1
- kind: DNSPolicy
- 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
- kind: DNSRecord
- description: DNSRecord represents DNS endpoints for gateway network services
displayName: DNSRecord
kind: DNSRecord
name: dnsrecords.kuadrant.io
version: v1alpha1
- description: Kuadrant configures installations of Kuadrant Service Protection
Expand All @@ -101,7 +171,10 @@ spec:
kind: Kuadrant
name: kuadrants.kuadrant.io
version: v1beta1
- kind: ManagedZone
- description: ManagedZone configures domain or subdomain management for gateway
hosts
displayName: ManagedZone
kind: ManagedZone
name: managedzones.kuadrant.io
version: v1alpha1
- description: RateLimitPolicy enables rate limiting for service workloads in
Expand All @@ -110,7 +183,10 @@ spec:
kind: RateLimitPolicy
name: ratelimitpolicies.kuadrant.io
version: v1beta2
- kind: TLSPolicy
- 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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:
Expand Down
1 change: 1 addition & 0 deletions config/manifests/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ resources:
- bases/kuadrant-operator.clusterserviceversion.yaml
- ../default
- ../samples
- github.com/Kuadrant/multicluster-gateway-controller/config/samples
- ../scorecard

# [WEBHOOK] To enable webhooks, uncomment all the sections with [WEBHOOK] prefix.
Expand Down

0 comments on commit ec33986

Please sign in to comment.