An open API service indexing awesome lists of open source software.

https://github.com/nhomble/helm-contains

check for existence
https://github.com/nhomble/helm-contains

helm helm-plugin

Last synced: 3 months ago
JSON representation

check for existence

Awesome Lists containing this project

README

        

= helm contains

image:https://github.com/nhomble/helm-contains/actions/workflows/check-install.yml/badge.svg[Check Install] image:https://github.com/nhomble/helm-contains/actions/workflows/linter.yml/badge.svg[Linter]

[.lead]
check for existence of chart

== Usage
[source,bash]
----
if [[ $(helm contains ${CHART_NAME}) = "true" ]]; then
echo "exists"
else
echo "nope"
fi
----

And helm args are used as expected

[source,bash]
----
if [[ $(helm contains ${CHART_NAME} -n ${NOT_DEFAULT_NAMESPACE}) = "true" ]]; then
echo "exists"
fi
----

== Install
[source,bash]
----
helm plugin install https://github.com/nhomble/helm-contains
----