-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Release Charts | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- gh-pages | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "$GITHUB_ACTOR@users.noreply.github.com" | ||
- name: Run chart-releaser | ||
uses: helm/chart-releaser-action@v1.1.0 | ||
with: | ||
charts_dir: deployment | ||
charts_repo_url: https://itzmanish.github.io/ecr-token-renew/deployment | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## Usage | ||
|
||
[Helm](https://helm.sh) must be installed to use the charts. Please refer to | ||
Helm's [documentation](https://helm.sh/docs) to get started. | ||
|
||
Once Helm has been set up correctly, add the repo as follows: | ||
|
||
helm repo add itzmanish-gitops https://itzmanish.github.io/ecr-token-renew | ||
|
||
If you had already added this repo earlier, run `helm repo update` to retrieve | ||
the latest versions of the packages. You can then run `helm search repo | ||
ecr-token-renew` to see the charts. | ||
|
||
To install the ecr-token-renew chart: | ||
|
||
helm install my-ecr-token-renew ecr-token-renew/ecr-token-renew | ||
|
||
To uninstall the chart: | ||
|
||
helm delete my-ecr-token-renew |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Artifact Hub repository metadata file | ||
# | ||
# Some settings like the verified publisher flag or the ignored packages won't | ||
# be applied until the next time the repository is processed. Please keep in | ||
# mind that the repository won't be processed if it has not changed since the | ||
# last time it was processed. Depending on the repository kind, this is checked | ||
# in a different way. For Helm http based repositories, we consider it has | ||
# changed if the `index.yaml` file changes. For git based repositories, it does | ||
# when the hash of the last commit in the branch you set up changes. This does | ||
# NOT apply to ownership claim operations, which are processed immediately. | ||
# | ||
repositoryID: https://itzmanish.github.io/ecr-token-renew | ||
owners: # (optional, used to claim repository ownership) | ||
- name: itzmanish | ||
email: itzmanish108@gmail.com |