Skip to content

Commit

Permalink
added support for helm
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbradys committed Aug 11, 2023
1 parent c57618f commit 04f9dc4
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 10 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ jobs:
pwd && ls -la hauler/hauler
pwd && ls -la hauler/scripts/hauler
- name: Build Rancher Airgap Helm
run: |
sh hauler/scripts/helm/hauler-helm.sh
mv /opt/rancher/hauler/helm/helm hauler/helm/helm
mv /opt/rancher/hauler/rancher-airgap-helm.tar.zst hauler/helm/rancher-airgap-helm.tar.zst
pwd && ls -la hauler/helm
pwd && ls -la hauler/scripts/helm
- name: Build Rancher Airgap RKE2
run: |
sh hauler/scripts/rke2/hauler-rke2.sh
Expand Down
2 changes: 1 addition & 1 deletion examples/private-registry-fullstack.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Complete the following commands on the Internet Connected Server. For the initia

```bash
### Set Variables
export vRancherAirgap=0.7.3
export vRancherAirgap=0.8.0

### Fetch Individual Hauler TARs
mkdir -p /opt/rancher/hauler
Expand Down
2 changes: 1 addition & 1 deletion hauler/hauler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Hauler (by Rancher Government Solutions)

[hauler/hauler/hauler](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/hauler/hauler) - provides the binary for Hauler.
[hauler/hauler/hauler](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/hauler/hauler) - provides the binary for Hauler.

**Note:** The [Releases](https://github.com/zackbradys/rancher-airgap/releases) page contain the most up-to-date assets.

Expand Down
13 changes: 13 additions & 0 deletions hauler/helm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Helm

## Collection and Packaging

### Helm (by Cloud Native Computing Foundation)

[hauler/helm/helm](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/helm/helm) - provides the binary for Helm.

**Note:** The [Releases](https://github.com/zackbradys/rancher-airgap/releases) page contain the most up-to-date assets.

## Across the Airgap

## Loading and Distribution
4 changes: 2 additions & 2 deletions hauler/longhorn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Rancher Longhorn v1.5.1

[hauler/longhorn/rancher-airgap-longhorn.yaml](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/longhorn/rancher-airgap-longhorn.yaml) - provides the content manifest for the assets.
[hauler/longhorn/rancher-airgap-longhorn.yaml](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/longhorn/rancher-airgap-longhorn.yaml) - provides the content manifest for the assets.

[hauler/longhorn/rancher-airgap-longhorn.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/longhorn/rancher-airgap-longhorn.tar.zst) - provides the compressed content and assets, via the manifest.
[hauler/longhorn/rancher-airgap-longhorn.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/longhorn/rancher-airgap-longhorn.tar.zst) - provides the compressed content and assets, via the manifest.

**Note:** The [Releases](https://github.com/zackbradys/rancher-airgap/releases) page contain the most up-to-date assets.

Expand Down
4 changes: 2 additions & 2 deletions hauler/neuvector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Rancher NeuVector v5.2.0

[hauler/neuvector/rancher-airgap-neuvector.yaml](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/neuvector/rancher-airgap-neuvector.yaml) - provides the content manifest for the assets.
[hauler/neuvector/rancher-airgap-neuvector.yaml](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/neuvector/rancher-airgap-neuvector.yaml) - provides the content manifest for the assets.

[hauler/neuvector/rancher-airgap-neuvector.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/neuvector/rancher-airgap-neuvector.tar.zst) - provides the compressed content and assets, via the manifest.
[hauler/neuvector/rancher-airgap-neuvector.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/neuvector/rancher-airgap-neuvector.tar.zst) - provides the compressed content and assets, via the manifest.

**Note:** The [Releases](https://github.com/zackbradys/rancher-airgap/releases) page contain the most up-to-date assets.

Expand Down
4 changes: 2 additions & 2 deletions hauler/rancher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

**Cert-Manager v1.7.1:** Included in the Rancher Multi-Cluster Manager content and assets.

[hauler/rancher/rancher-airgap-rancher.yaml](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/rancher/rancher-airgap-rancher.yaml) - provides the content manifest for the assets.
[hauler/rancher/rancher-airgap-rancher.yaml](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/rancher/rancher-airgap-rancher.yaml) - provides the content manifest for the assets.

[hauler/rancher/rancher-airgap-rancher.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/rancher/rancher-airgap-rancher.tar.zst) - provides the compressed content and assets, via the manifest.
[hauler/rancher/rancher-airgap-rancher.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/rancher/rancher-airgap-rancher.tar.zst) - provides the compressed content and assets, via the manifest.

**Note:** The [Releases](https://github.com/zackbradys/rancher-airgap/releases) page contain the most up-to-date assets.

Expand Down
4 changes: 2 additions & 2 deletions hauler/rke2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

### Rancher RKE2 v1.25.12

[hauler/rke2/rancher-airgap-rke2.yaml](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/rke2/rancher-airgap-rke2.yaml) - provides the content manifest for the assets.
[hauler/rke2/rancher-airgap-rke2.yaml](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/rke2/rancher-airgap-rke2.yaml) - provides the content manifest for the assets.

[hauler/rke2/rancher-airgap-rke2.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.7.3/hauler/rke2/rancher-airgap-rke2.tar.zst) - provides the compressed content and assets, via the manifest.
[hauler/rke2/rancher-airgap-rke2.tar.zst](https://rancher-airgap.s3.amazonaws.com/0.8.0/hauler/rke2/rancher-airgap-rke2.tar.zst) - provides the compressed content and assets, via the manifest.

**Note:** The [Releases](https://github.com/zackbradys/rancher-airgap/releases) page contain the most up-to-date assets.

Expand Down
15 changes: 15 additions & 0 deletions hauler/scripts/helm/hauler-helm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
### Set Variables
export vHelm=3.12.0

### Setup Working Directory
rm -rf /opt/rancher/hauler/helm
mkdir -p /opt/rancher/hauler/helm
cd /opt/rancher/hauler/helm

### Install Helm
### https://github.com/helm/helm/
curl -#OL https://get.helm.sh/helm-v${vHelm}-linux-amd64.tar.gz
tar -xf helm-v${vHelm}-linux-amd64.tar.gz && mv linux-amd64/* . && rm -rf linux-amd64

### Compress Helm
tar -czvf /opt/rancher/hauler/rancher-airgap-helm.tar.zst .

0 comments on commit 04f9dc4

Please sign in to comment.