Discover Packages
github.com/arikkfir/kude
cmd
functions
label
command
Version:
v0.0.1-beta07
Opens a new window with list of versions in this module.
Published: Aug 13, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
label
This function adds/updates label(s) of incoming resources. Label values can be provided verbatim in function
configuration or read from a file.
Usage
apiVersion: kude.kfirs.com/v1alpha2
kind: Pipeline
resources:
- deployment.yaml
steps:
- image: ghcr.io/arikkfir/kude/functions/label
config:
name: app.kubernetes.io/name
value: my-app
- image: ghcr.io/arikkfir/kude/functions/label
config:
name: app.kubernetes.io/version
path: VERSION
The pipeline above would add the app.kubernetes.io/name
and app.kubernetes.io/version
annotations to all resources
in the deployment.yaml
manifest. The value for the app.kubernetes.io/name
label would be kude-example
and the
value for the app.kubernetes.io/version
label would be taken from the VERSION
file.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.