Skip to content

Commit

Permalink
feat: add ko autodiscovery doc
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 e767f39 commit 1e421c1
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
@@ -0,0 +1,22 @@
name: "Ko autodiscovery"
scms:
default:
kind: git
spec:
url: "https://github.com/updatecli-test/knative-serving.git"
branch: main
autodiscovery:
scmid: default
crawlers:
ko:
digest: true
versionfilter:
kind: semver
pattern: minoronly
## To ignore specific path
#ignore:
# - images:
# - "gcr.io/distroless/static"
#only:
# - images:
# - "gcr.io/distroless/static"
31 changes: 31 additions & 0 deletions content/en/docs/plugins/autodiscovery/ko.adoc
@@ -0,0 +1,31 @@
---
title: "Ko"
description: "Discover Ko container update"
lead: "kind: ko"
draft: false
images: []
menu:
docs:
parent: "plugin-autodiscovery"
weight: 130
toc: true
plugins:
- autodiscovery
---

== Description

The `ko` Autodiscovery plugin allows to automatically search and update container tags defined in ko.yaml files.

=== Manifests
==== Parameters

{{< autodiscoveryparameters "ko" >}}

==== Example

[source,yaml]
----
# updatecli.d/default.yaml
{{<include "assets/code_example/docs/plugins/autodiscovery/ko/updatecli.d/updatecli.yaml">}}
----

0 comments on commit 1e421c1

Please sign in to comment.