-
-
Notifications
You must be signed in to change notification settings - Fork 31
Scripts
Nicholas Wilde edited this page Feb 11, 2021
·
5 revisions
$ ./init.sh -h
Usage: init.sh [-p PORT] [-h|-v] REPOSITORY:TAG
Init a helm chart from a template.
Mandatory arguments:
REPOSITORY:TAG The repository and tag of the image to be updated
Options:
-p PORT Port number to use
-h Print this Help.
-v Print script version and exit.
$ ./init.sh ghcr.io/nicholaswilde/leantime:2.1.7-ls5
Parsing arguments
REPOSITORY: ghcr.io/nicholaswilde/leantime
CHART_NAME: leantime
CHART_PATH: /home/nicholas/git/helm-charts/charts/leantime
TAG: 2.1.7-ls5
PORT:
VERSION: 2.1.7
Doing checks
Downloading template
Updating Chart.yaml
Updating values.yaml
$ ./update -h
Usage: update.sh [-h|-v] REPOSITORY:TAG [<patch>|minor|major]
Update a helm chart
Mandatory arguments:
REPOSITORY:TAG The repository and tag of the image to be updated
Optional arguments:
<patch>|minor|major Semver bump type. Default is patch.
Options:
-h Print this Help.
-v Print script version and exit.
$ ./update.sh ghcr.io/linuxserver/clarkson:v1.1.2-ls9
Parsing inputs
REPOSITORY: ghcr.io/linuxserver/clarkson
CHART_NAME: clarkson
CHART_PATH: /home/nicholas/git/helm-charts/charts/clarkson
TAG: v1.1.2-ls9
APP_VERSION: v1.1.2
BUMP: patch
Doing checks
Updating Chart.yaml
Bumping chart version from 0.1.7 to 0.1.8
Updating values.yaml
- Home
- Deployment
- Integration
- Development
- Scripts
- Requests
- Tips & Tricks
- Troubleshooting
- FAQ
- Contributing
- Code of Conduct