Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Olblak <me@olblak.com>
- Loading branch information
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
assets/code_example/docs/plugins/autodiscovery/kubernetes/updatecli.d/updatecli.yaml
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: "Kubernetes autodiscovery" | ||
scms: | ||
default: | ||
kind: git | ||
spec: | ||
url: "https://github.com/jenkins-infra/release.git" | ||
branch: master | ||
autodiscovery: | ||
scmid: default | ||
crawlers: | ||
kubernetes: | ||
digest: true | ||
versionfilter: | ||
kind: semver | ||
pattern: minoronly | ||
## To ignore specific path | ||
#ignore: | ||
# - images: | ||
# - "mcr.microsoft.com/dotnet/framework/sdk" | ||
only: | ||
- images: | ||
- "mcr.microsoft.com/dotnet/framework/sdk" |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
title: "Kubernetes" | ||
description: "Discover Kubernetes container update" | ||
lead: "kind: kubernetes" | ||
draft: false | ||
images: [] | ||
menu: | ||
docs: | ||
parent: "plugin-autodiscovery" | ||
weight: 130 | ||
toc: true | ||
plugins: | ||
- autodiscovery | ||
--- | ||
|
||
== Description | ||
|
||
The `kubernetes` Autodiscovery plugin allows to automatically search and update container tags defined in Kubernetes.yaml files. | ||
|
||
=== Manifests | ||
==== Parameters | ||
|
||
{{< autodiscoveryparameters "kubernetes" >}} | ||
|
||
==== Example | ||
|
||
[source,yaml] | ||
---- | ||
# updatecli.d/default.yaml | ||
{{<include "assets/code_example/docs/plugins/autodiscovery/kubernetes/updatecli.d/updatecli.yaml">}} | ||
---- |