From 0a31983020fb435ff3b22e1febd8a82ef718e1a9 Mon Sep 17 00:00:00 2001 From: Gidi233 Date: Wed, 4 Sep 2024 21:28:41 +0800 Subject: [PATCH] add gen Signed-off-by: Gidi233 --- .../en/references/apps_v1alpha1_types.html | 9 +++++--- .../en/references/fleet_v1alpha1_types.html | 18 ++++++++++++--- .../crds/apps.kurator.dev_applications.yaml | 9 +++++--- .../crds/fleet.kurator.dev_fleets.yaml | 22 ++++++++++++++----- 4 files changed, 43 insertions(+), 15 deletions(-) diff --git a/docs/content/en/references/apps_v1alpha1_types.html b/docs/content/en/references/apps_v1alpha1_types.html index 1d309e91..ebefed34 100644 --- a/docs/content/en/references/apps_v1alpha1_types.html +++ b/docs/content/en/references/apps_v1alpha1_types.html @@ -2219,8 +2219,10 @@

TrafficRoutingConfig (Optional) -

for NGINX -The default created ingress is as follows, (Fill in host with your own domain)

+

Host defines the domain name you specify. +Only for NGINX +Fill in the host field with your own domain as the host of the Ingress. +The actual created Ingress is as follows:

apiVersion: networking.k8s.io/v1
 kind: Ingress
 metadata:
@@ -2254,7 +2256,8 @@ 

TrafficRoutingConfig (Optional) -

for kuma +

Protocol defines the protocol used by Kuma +Only for kuma Defaults to http

diff --git a/docs/content/en/references/fleet_v1alpha1_types.html b/docs/content/en/references/fleet_v1alpha1_types.html index 8b49ea92..5694cf08 100644 --- a/docs/content/en/references/fleet_v1alpha1_types.html +++ b/docs/content/en/references/fleet_v1alpha1_types.html @@ -428,7 +428,10 @@

Config (Optional)

Chart defines the helm chart config of the TrafficRoutingProvider. -default value is in ./pkg/fleet-manager/manifests/plugins/

+For Example, using the following configuration to change the version of nginx installed.

+
repo: https://kubernetes.github.io/ingress-nginx
+version: 4.10.0
+
@@ -443,7 +446,13 @@

Config (Optional)

ExtraArgs is the set of extra arguments for TrafficRoutingProvider’s chart. -You can pass in values according to your needs.

+You can pass in values according to your needs. +For Example, using the following configuration to change the port that Prometheus uses to scrape metrics.

+
values:
+controller:
+podAnnotations:
+prometheus.io/port: 10378
+
@@ -748,7 +757,10 @@

FlaggerConfig (Optional) -

ProviderConfig defines the configuration for the TrafficRoutingProvider.

+

ProviderConfig defines the helm configuration for the TrafficRoutingProvider. +You can pass in a custom helm configuration to install the TrafficRoutingProvider +And default value is in ./pkg/fleet-manager/manifests/plugins/ +Currently only used for Kuma and Nginx

diff --git a/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml b/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml index 7496ff53..ced86e24 100644 --- a/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml +++ b/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml @@ -1620,8 +1620,10 @@ spec: type: object host: description: |- - for NGINX - The default created ingress is as follows, (Fill in `host` with your own domain) + Host defines the domain name you specify. + Only for NGINX + Fill in the host field with your own domain as the host of the Ingress. + The actual created Ingress is as follows: ```yaml apiVersion: networking.k8s.io/v1 kind: Ingress @@ -1953,7 +1955,8 @@ spec: type: array protocol: description: |- - for kuma + Protocol defines the protocol used by Kuma + Only for kuma Defaults to http type: string retries: diff --git a/manifests/charts/fleet-manager/crds/fleet.kurator.dev_fleets.yaml b/manifests/charts/fleet-manager/crds/fleet.kurator.dev_fleets.yaml index b20c86ae..26ca859d 100644 --- a/manifests/charts/fleet-manager/crds/fleet.kurator.dev_fleets.yaml +++ b/manifests/charts/fleet-manager/crds/fleet.kurator.dev_fleets.yaml @@ -2495,13 +2495,20 @@ spec: type: string type: object config: - description: ProviderConfig defines the configuration for - the TrafficRoutingProvider. + description: |- + ProviderConfig defines the helm configuration for the TrafficRoutingProvider. + You can pass in a custom helm configuration to install the TrafficRoutingProvider + And default value is in `./pkg/fleet-manager/manifests/plugins/` + Currently only used for Kuma and Nginx properties: chart: description: |- Chart defines the helm chart config of the TrafficRoutingProvider. - default value is in ./pkg/fleet-manager/manifests/plugins/ + For Example, using the following configuration to change the version of nginx installed. + ```yaml + repo: https://kubernetes.github.io/ingress-nginx + version: 4.10.0 + ``` properties: name: description: |- @@ -2520,9 +2527,12 @@ spec: type: string type: object extraArgs: - description: |- - ExtraArgs is the set of extra arguments for TrafficRoutingProvider's chart. - You can pass in values according to your needs. + description: "ExtraArgs is the set of extra arguments + for TrafficRoutingProvider's chart.\nYou can pass in + values according to your needs.\nFor Example, using + the following configuration to change the port that + Prometheus uses to scrape metrics.\n```yaml\nvalues:\n\tcontroller:\n\t + \ podAnnotations:\n\t\tprometheus.io/port: 10378\n```" x-kubernetes-preserve-unknown-fields: true type: object extraArgs: