Skip to content

Commit

Permalink
add gen
Browse files Browse the repository at this point in the history
Signed-off-by: Gidi233 <[email protected]>
  • Loading branch information
Gidi233 committed Sep 9, 2024
1 parent efbb89f commit 0a31983
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 15 deletions.
9 changes: 6 additions & 3 deletions docs/content/en/references/apps_v1alpha1_types.html
Original file line number Diff line number Diff line change
Expand Up @@ -2219,8 +2219,10 @@ <h3 id="apps.kurator.dev/v1alpha1.TrafficRoutingConfig">TrafficRoutingConfig
</td>
<td>
<em>(Optional)</em>
<p>for NGINX
The default created ingress is as follows, (Fill in <code>host</code> with your own domain)</p>
<p>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:</p>
<pre><code class="language-yaml">apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
Expand Down Expand Up @@ -2254,7 +2256,8 @@ <h3 id="apps.kurator.dev/v1alpha1.TrafficRoutingConfig">TrafficRoutingConfig
</td>
<td>
<em>(Optional)</em>
<p>for kuma
<p>Protocol defines the protocol used by Kuma
Only for kuma
Defaults to http</p>
</td>
</tr>
Expand Down
18 changes: 15 additions & 3 deletions docs/content/en/references/fleet_v1alpha1_types.html
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,10 @@ <h3 id="fleet.kurator.dev/v1alpha1.Config">Config
<td>
<em>(Optional)</em>
<p>Chart defines the helm chart config of the TrafficRoutingProvider.
default value is in ./pkg/fleet-manager/manifests/plugins/</p>
For Example, using the following configuration to change the version of nginx installed.</p>
<pre><code class="language-yaml">repo: https://kubernetes.github.io/ingress-nginx
version: 4.10.0
</code></pre>
</td>
</tr>
<tr>
Expand All @@ -443,7 +446,13 @@ <h3 id="fleet.kurator.dev/v1alpha1.Config">Config
<td>
<em>(Optional)</em>
<p>ExtraArgs is the set of extra arguments for TrafficRoutingProvider&rsquo;s chart.
You can pass in values according to your needs.</p>
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.</p>
<pre><code class="language-yaml">values:
controller:
podAnnotations:
prometheus.io/port: 10378
</code></pre>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -748,7 +757,10 @@ <h3 id="fleet.kurator.dev/v1alpha1.FlaggerConfig">FlaggerConfig
</td>
<td>
<em>(Optional)</em>
<p>ProviderConfig defines the configuration for the TrafficRoutingProvider.</p>
<p>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 <code>./pkg/fleet-manager/manifests/plugins/</code>
Currently only used for Kuma and Nginx</p>
</td>
</tr>
</tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
22 changes: 16 additions & 6 deletions manifests/charts/fleet-manager/crds/fleet.kurator.dev_fleets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |-
Expand All @@ -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:
Expand Down

0 comments on commit 0a31983

Please sign in to comment.