Skip to content

Commit

Permalink
feat: add kubernetes autodiscovery
Browse files Browse the repository at this point in the history
Signed-off-by: Olblak <me@olblak.com>
  • Loading branch information
olblak committed Feb 17, 2024
1 parent 1e421c1 commit c43b23f
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
@@ -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"
31 changes: 31 additions & 0 deletions content/en/docs/plugins/autodiscovery/kubernetes.adoc
@@ -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">}}
----

0 comments on commit c43b23f

Please sign in to comment.