JovianX / helm-release-plugin

Helm3 plugin that pulls(re-creates) helm Charts from deployed releases, and updates values of deployed releases without the chart.
Apache License 2.0
97 stars 12 forks source link

Getting error while trying to set up ttl #30

Open sandeep173254 opened 1 year ago

sandeep173254 commented 1 year ago

skhatri@Sandeeps-MacBook-Pro defender % helm release ttl defender --set='2 days'
/Users/skhatri/Library/helm/plugins/helm-release-plugin/lib/main.sh: line 13: declare: -A: invalid option declare: usage: declare [-afFirtx] [-p] [name[=value] ...] error: [ /Users/skhatri/Library/helm/plugins/helm-release-plugin/lib/main.sh at line 9 ] date: illegal option -- - usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format] date: illegal option -- - usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format] date: illegal option -- - usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format] The CronJob "defender-ttl" is invalid: spec.schedule: Required value error: [ /Users/skhatri/Library/helm/plugins/helm-release-plugin/release.sh at line 20 ] Error: plugin "release" exited with error