Discover Packages
github.com/arikkfir/kude
cmd
functions
label
command
Version:
v0.0.1-alpha07
Opens a new window with list of versions in this module.
Published: Apr 18, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 5
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/v1alpha1
kind: Pipeline
resources:
- deployment.yaml
pipeline:
- image: ghcr.io/arikkfir/kude/functions/label:latest
config:
name: app.kubernetes.io/name
value: my-app
- image: ghcr.io/arikkfir/kude/functions/label:latest
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.