Skip to content

Commit

Permalink
updated github actions and readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbradys committed Dec 15, 2023
1 parent 5081675 commit d6d5690
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Helm Chart
name: Helm Chart Release
on:
push:
branches:
Expand All @@ -18,7 +18,11 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run Helm Chart Releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Build and Push Helm Chart
run: |
cd charts/cluster-templates
helm package .
ls -la
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
export CHART_VERSION=$(grep 'version:' Chart.yaml | tail -n1 | awk '{ print $2}')
helm push rancher-cluster-templates-${CHART_VERSION}.tgz oci://ghcr.io/rancherfederal
8 changes: 7 additions & 1 deletion charts/cluster-templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ helm repo add cluster-templates https://rancherfederal.github.io/rancher-cluster
helm upgrade -i cluster cluster-templates/rancher-cluster-templates -n fleet-default -f values.yaml
```

```bash
helm upgrade -i cluster oci://ghcr.io/rancherfederal/rancher-cluster-templates -n fleet-default -f values.yaml
```

## Helm Chart Deployment Status

```bash
helm status cluster -n fleet-default
```
Expand All @@ -50,7 +56,7 @@ helm delete cluster -n fleet-default
- [Digital Ocean (TBD)](https://github.com/rancherfederal/rancher-cluster-templates/blob/main/charts/cluster-templates/values-digitalocean.yaml)
- [VMWare vSphere (TBD)](https://github.com/rancherfederal/rancher-cluster-templates/blob/main/charts/cluster-templates/values-vsphere.yaml)

## Secrets Management
## Chart/Cluster Secrets Management

### Cloud Credentials

Expand Down
8 changes: 7 additions & 1 deletion charts/cluster-templates/app-readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ helm repo add cluster-templates https://rancherfederal.github.io/rancher-cluster
helm upgrade -i cluster cluster-templates/rancher-cluster-templates -n fleet-default -f values.yaml
```

```bash
helm upgrade -i cluster oci://ghcr.io/rancherfederal/rancher-cluster-templates -n fleet-default -f values.yaml
```

## Helm Chart Deployment Status

```bash
helm status cluster -n fleet-default
```
Expand All @@ -50,7 +56,7 @@ helm delete cluster -n fleet-default
- [Digital Ocean (TBD)](https://github.com/rancherfederal/rancher-cluster-templates/blob/main/charts/cluster-templates/values-digitalocean.yaml)
- [VMWare vSphere (TBD)](https://github.com/rancherfederal/rancher-cluster-templates/blob/main/charts/cluster-templates/values-vsphere.yaml)

## Secrets Management
## Chart/Cluster Secrets Management

### Cloud Credentials

Expand Down

0 comments on commit d6d5690

Please sign in to comment.