-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add helmraiser & a generated cert-manager lib from the chart #315
Conversation
e4e9399
to
9ec99b9
Compare
set +u | ||
OVERWRITTEN=false | ||
if [ "$3" = "overwrite" ] || [ "$4" = "overwrite" ]; then | ||
rm -rf $OUTPUT_DIR/templates |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
helmraiser.sh foo "/home/* ."
would be fun, wouldn't it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be awesome. Luckily this is regarded a PoC and should be used with care.
How would you solve this? cd
into it first?
Sorry, I thought I had submitted this days ago. Seems it was stuck. |
https://github.com/RichiH/vcsh/blob/master/vcsh is painstakingly
escaped with the best POSIX principles and can serve as a template.
The specific question's answer, you have two ways:
rm -rf "$OUTPUT_DIR"/templates
rm -rf "$OUTPUT_DIR/templates"
…On Fri, Aug 7, 2020 at 8:37 AM Duologic ***@***.***> wrote:
@Duologic commented on this pull request.
________________________________
In scripts/helmraiser/helmraiser.sh:
> +IFS=$'\n\t'
+
+DIRNAME=$(dirname $0)
+if [ "$#" != 2 ] && [ "$#" != 3 ]&& [ "$#" != 4 ]; then
+ >&2 echo "arguments invalid"
+ echo "Usage: `basename $0` <path to helm chart> <output dir> ['<helm_args>'] [overwrite]"
+ exit 1
+fi
+
+HELMCHART=$1
+OUTPUT_DIR=$2
+
+set +u
+OVERWRITTEN=false
+if [ "$3" = "overwrite" ] || [ "$4" = "overwrite" ]; then
+ rm -rf $OUTPUT_DIR/templates
That would be awesome. Luckily this is regarded a PoC and should be used with care.
How would you solve this? cd into it first?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Ugh, pretend I can English...
|
97b7f26
to
3ee4fc6
Compare
Should get replaced by #320 once grafana/tanka#336 is merged and in a release. |
* Update helm.libsonnet (#331) * refactor(cert-manager): install with helmraiser Closes #315, #318, #320 * name port to http-metrics so it gets scraped * allow to specify vendor folder * don't install crds from 2 sources * cert-manager: add readme * correct $._config name * docs(cert-manager): add inline comments Co-authored-by: sh0rez <me@shorez.de>
Read the README
Commits can be reviewed individually.