Skip to content

Commit

Permalink
Merge pull request #519 from LiZhenCheng9527/plugin-flagger-api
Browse files Browse the repository at this point in the history
init fleet api to install flagger and testloader
  • Loading branch information
kurator-bot authored Dec 19, 2023
2 parents 40eb58e + 696bb98 commit ac64991
Show file tree
Hide file tree
Showing 4 changed files with 297 additions and 79 deletions.
176 changes: 137 additions & 39 deletions docs/content/en/references/fleet_v1alpha1_types.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,11 @@ <h3 id="fleet.kurator.dev/v1alpha1.BackupConfig">BackupConfig
<em>(Optional)</em>
<p>Chart defines the helm chart configuration of the backup engine.
The default value is:</p>
<p>chart:
repository: <a href="https://vmware-tanzu.github.io/helm-charts">https://vmware-tanzu.github.io/helm-charts</a>
<pre><code class="language-yaml">chart:
repository: https://vmware-tanzu.github.io/helm-charts
name: velero
version: 5.0.2</p>
version: 5.0.2
</code></pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -173,11 +174,12 @@ <h3 id="fleet.kurator.dev/v1alpha1.BackupConfig">BackupConfig
<em>(Optional)</em>
<p>ExtraArgs provides the extra chart values for the backup engine chart.
For example, use the following configuration to change the image tag or pull policy:</p>
<p>extraArgs:
<pre><code class="language-yaml">extraArgs:
image:
repository: velero/velero
tag: v1.11.1
pullPolicy: IfNotPresent</p>
pullPolicy: IfNotPresent
</code></pre>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -337,6 +339,7 @@ <h3 id="fleet.kurator.dev/v1alpha1.ChartConfig">ChartConfig
(<em>Appears on:</em>
<a href="#fleet.kurator.dev/v1alpha1.BackupConfig">BackupConfig</a>,
<a href="#fleet.kurator.dev/v1alpha1.DistributedStorageConfig">DistributedStorageConfig</a>,
<a href="#fleet.kurator.dev/v1alpha1.FlaggerConfig">FlaggerConfig</a>,
<a href="#fleet.kurator.dev/v1alpha1.GrafanaConfig">GrafanaConfig</a>,
<a href="#fleet.kurator.dev/v1alpha1.KyvernoConfig">KyvernoConfig</a>,
<a href="#fleet.kurator.dev/v1alpha1.PrometheusConfig">PrometheusConfig</a>,
Expand Down Expand Up @@ -547,10 +550,11 @@ <h3 id="fleet.kurator.dev/v1alpha1.DistributedStorageConfig">DistributedStorageC
<em>(Optional)</em>
<p>Chart defines the helm chart configuration of the distributed storage engine.
The default value is:</p>
<p>chart:
repository: <a href="https://charts.rook.io/release">https://charts.rook.io/release</a>
<pre><code class="language-yaml">chart:
repository: https://charts.rook.io/release
name: rook
version: 1.11.11</p>
version: 1.11.11
</code></pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -579,9 +583,10 @@ <h3 id="fleet.kurator.dev/v1alpha1.DistributedStorageConfig">DistributedStorageC
<em>(Optional)</em>
<p>ExtraArgs provides the extra chart values for rook chart.
For example, use the following configuration to change the pull policy:</p>
<p>extraArgs:
<pre><code class="language-yaml">extraArgs:
image:
pullPolicy: Always</p>
pullPolicy: Always
</code></pre>
</td>
</tr>
</tbody>
Expand All @@ -594,6 +599,78 @@ <h3 id="fleet.kurator.dev/v1alpha1.Endpoints">Endpoints
(<em>Appears on:</em>
<a href="#fleet.kurator.dev/v1alpha1.FleetStatus">FleetStatus</a>)
</p>
<h3 id="fleet.kurator.dev/v1alpha1.FlaggerConfig">FlaggerConfig
</h3>
<p>
(<em>Appears on:</em>
<a href="#fleet.kurator.dev/v1alpha1.PluginConfig">PluginConfig</a>)
</p>
<div class="md-typeset__scrollwrap">
<div class="md-typeset__table td-content">
<table>
<thead>
<tr>
<th>Field</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code>chart</code><br>
<em>
<a href="#fleet.kurator.dev/v1alpha1.ChartConfig">
ChartConfig
</a>
</em>
</td>
<td>
<em>(Optional)</em>
<p>Chart defines the helm chart config of the flagger.
default value is</p>
<pre><code class="language-yaml">chart:
repository: oci://ghcr.io/fluxcd/charts
name: flagger
version: 1.x
</code></pre>
</td>
</tr>
<tr>
<td>
<code>extraArgs</code><br>
<em>
<a href="https://pkg.go.dev/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1?tab=doc#JSON">
Kubernetes /apiextensions/v1.JSON
</a>
</em>
</td>
<td>
<em>(Optional)</em>
<p>ExtraArgs is the set of extra arguments for flagger chart.
For Example, using following configuration to change replica count.</p>
<pre><code class="language-yaml">extraArgs:
flagger:
replicaCount: 2
</code></pre>
</td>
</tr>
<tr>
<td>
<code>publicTestloader</code><br>
<em>
bool
</em>
</td>
<td>
<p>PublicTestloader defines whether to install the publictestloader or not.
In addition to the public testloader you can configure here,
you can also specify a private testloader in the Application.Spec.SyncPolicies.Rollout.TestLoader</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<h3 id="fleet.kurator.dev/v1alpha1.FleetPhase">FleetPhase
(<code>string</code> alias)</h3>
<p>
Expand Down Expand Up @@ -772,11 +849,12 @@ <h3 id="fleet.kurator.dev/v1alpha1.GrafanaConfig">GrafanaConfig
<td>
<em>(Optional)</em>
<p>Chart defines the helm chart config of the grafana.
default values is</p>
<p>chart:
default value is</p>
<pre><code class="language-yaml">chart:
repository: oci://registry-1.docker.io/bitnamicharts
name: grafana
version: 8.2.33</p>
version: 8.2.33
</code></pre>
</td>
</tr>
<tr>
Expand All @@ -790,11 +868,12 @@ <h3 id="fleet.kurator.dev/v1alpha1.GrafanaConfig">GrafanaConfig
</td>
<td>
<em>(Optional)</em>
<p>ExtraArgs is the set of extra arguments for Grafana chart.</p>
<p>For Example, using following configuration to change replica count.
extraArgs:
<p>ExtraArgs is the set of extra arguments for Grafana chart.
For Example, using following configuration to change replica count.</p>
<pre><code class="language-yaml">extraArgs:
grafana:
replicaCount: 2</p>
replicaCount: 2
</code></pre>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -829,11 +908,12 @@ <h3 id="fleet.kurator.dev/v1alpha1.KyvernoConfig">KyvernoConfig
<td>
<em>(Optional)</em>
<p>Chart defines the helm chart config of the kyverno.
default values is
chart:
repository: <a href="https://kyverno.github.io/kyverno/">https://kyverno.github.io/kyverno/</a>
default value is</p>
<pre><code class="language-yaml">chart:
repository: https://kyverno.github.io/kyverno/
name: kyverno
version: 3.0.0</p>
version: 3.0.0
</code></pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -861,11 +941,12 @@ <h3 id="fleet.kurator.dev/v1alpha1.KyvernoConfig">KyvernoConfig
</td>
<td>
<em>(Optional)</em>
<p>ExtraArgs is the set of extra arguments for Grafana chart.</p>
<p>For Example, using following configuration to change image pull policy.
extraArgs:
<p>ExtraArgs is the set of extra arguments for Grafana chart.
For Example, using following configuration to change image pull policy.</p>
<pre><code class="language-yaml">extraArgs:
image:
pullPolicy: Always</p>
pullPolicy: Always
</code></pre>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -1322,6 +1403,19 @@ <h3 id="fleet.kurator.dev/v1alpha1.PluginConfig">PluginConfig
<p>DistributedStorage define the configuration for the distributed storage(Implemented with Rook)</p>
</td>
</tr>
<tr>
<td>
<code>flagger</code><br>
<em>
<a href="#fleet.kurator.dev/v1alpha1.FlaggerConfig">
FlaggerConfig
</a>
</em>
</td>
<td>
<p>Flagger defines the configuretion for the kurator rollout engine.</p>
</td>
</tr>
</tbody>
</table>
</div>
Expand Down Expand Up @@ -1446,11 +1540,12 @@ <h3 id="fleet.kurator.dev/v1alpha1.PrometheusConfig">PrometheusConfig
<td>
<em>(Optional)</em>
<p>Chart defines the helm chart config of the prometheus.
default values is</p>
<p>chart:
default value is</p>
<pre><code class="language-yaml">chart:
repository: oci://registry-1.docker.io/bitnamicharts
name: kube-prometheus
version: 8.9.1</p>
version: 8.9.1
</code></pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -1492,12 +1587,13 @@ <h3 id="fleet.kurator.dev/v1alpha1.PrometheusConfig">PrometheusConfig
</td>
<td>
<em>(Optional)</em>
<p>ExtraArgs is the set of extra arguments for Prometheus chart.</p>
<p>For Example, using following configuration to create a ServiceMonitor to monitor prometheus itself.
extraArgs:
<p>ExtraArgs is the set of extra arguments for Prometheus chart.
For Example, using following configuration to create a ServiceMonitor to monitor prometheus itself.</p>
<pre><code class="language-yaml">extraArgs:
prometheus:
serviceMonitor:
enabled: true</p>
enabled: true
</code></pre>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -1662,11 +1758,12 @@ <h3 id="fleet.kurator.dev/v1alpha1.ThanosConfig">ThanosConfig
<td>
<em>(Optional)</em>
<p>Chart defines the helm chart config of the thanos.
default values is</p>
<p>chart:
default value is</p>
<pre><code class="language-yaml">chart:
repository: oci://registry-1.docker.io/bitnamicharts
name: thanos
version: 12.5.1</p>
version: 12.5.1
</code></pre>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -1694,11 +1791,12 @@ <h3 id="fleet.kurator.dev/v1alpha1.ThanosConfig">ThanosConfig
</td>
<td>
<em>(Optional)</em>
<p>ExtraArgs is the set of extra arguments for Thanos chart.</p>
<p>For Example, using following configuration to enable query frontend.
extraArgs:
<p>ExtraArgs is the set of extra arguments for Thanos chart.
For Example, using following configuration to enable query frontend.</p>
<pre><code class="language-yaml">extraArgs:
queryFrontend:
enabled: true</p>
enabled: true
</code></pre>
</td>
</tr>
</tbody>
Expand Down
Loading

0 comments on commit ac64991

Please sign in to comment.