Skip to content

Commit

Permalink
maybe it will work this time...
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbradys committed Dec 10, 2024
1 parent 12b254c commit eed433e
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 38 deletions.
3 changes: 0 additions & 3 deletions hauler/scripts/cosign/hauler-cosign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ spec:
- path: https://github.com/sigstore/cosign/releases/download/v${vCosign}/cosign-linux-arm64
name: cosign-linux-arm64
EOF

### Add the Hauler Manifest
hauler store add file rancher-airgap-cosign.yaml
3 changes: 0 additions & 3 deletions hauler/scripts/gitea/hauler-gitea.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,3 @@ spec:
images:
${giteaImages}
EOF

### Add the Hauler Manifest
hauler store add file rancher-airgap-gitea.yaml
3 changes: 0 additions & 3 deletions hauler/scripts/harvester/hauler-harvester.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,3 @@ spec:
images:
${harvesterImages}
EOF

### Add the Hauler Manifest
hauler store add file rancher-airgap-harvester.yaml
3 changes: 0 additions & 3 deletions hauler/scripts/hauler/hauler-hauler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,3 @@ spec:
- name: ghcr.io/hauler-dev/hauler:${vHauler}
- name: ghcr.io/hauler-dev/hauler-debug:${vHauler}
EOF

### Add the Hauler Manifest
hauler store add file rancher-airgap-hauler.yaml
3 changes: 0 additions & 3 deletions hauler/scripts/helm/hauler-helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ spec:
- path: https://get.helm.sh/helm-v${vHelm}-linux-arm64.tar.gz
name: helm-linux-amd64.tar.gz
EOF

### Add the Hauler Manifest
hauler store add file rancher-airgap-helm.yaml
3 changes: 0 additions & 3 deletions hauler/scripts/kubevip/hauler-kubevip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,3 @@ spec:
- path: https://kube-vip.io/manifests/rbac.yaml
name: kubevip-rbac-manifest.yaml
EOF

### Add the Hauler Manifest
hauler store add file rancher-airgap-kubevip.yaml
3 changes: 0 additions & 3 deletions hauler/scripts/longhorn/hauler-longhorn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,3 @@ spec:
images:
${longhornImages}
EOF

### Add the Hauler Manifest
hauler store add file rancher-airgap-longhorn.yaml
3 changes: 0 additions & 3 deletions hauler/scripts/neuvector/hauler-neuvector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,3 @@ spec:
images:
${neuvectorImages}
EOF

### Add the Hauler Manifest
hauler store add file rancher-airgap-neuvector.yaml
5 changes: 1 addition & 4 deletions hauler/scripts/rancher/hauler-rancher-minimal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ certManagerImagesMinimal=$(helm template jetstack/cert-manager --version=v${vCer

### Download Rancher Images
### https://github.com/rancher/rancher
curl -#L https://github.com/rancher/rancher/releases/download/v${vRancher}/rancher-images.txt -o rancher-images-minimal.txt
curl -sSfL https://prime.ribs.rancher.io/rancher/v${vRancher}/rancher-images.txt -o rancher-images-minimal.txt

sed -i '/neuvector\|minio\|gke\|aks\|eks\|sriov\|harvester\|longhorn\|thanos\|tekton\|istio\|multus\|hyper\|jenkins\|prom\|grafana\|windows/d' rancher-images-minimal.txt

Expand Down Expand Up @@ -70,6 +70,3 @@ spec:
images:
${rancherImagesMinimal}
EOF

### Add the Hauler Manifest
hauler store add file rancher-airgap-rancher-minimal.yaml
5 changes: 1 addition & 4 deletions hauler/scripts/rancher/hauler-rancher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ certManagerImages=$(helm template jetstack/cert-manager --version=v${vCertManage

### Download Rancher Images and Modify the List
### https://github.com/rancher/rancher
rancherImages=$(curl -sSfL https://github.com/rancher/rancher/releases/download/v${vRancher}/rancher-images.txt | sed -e "s/^/ - name: /")
rancherImages=$(curl -sSfL https://prime.ribs.rancher.io/rancher/v${vRancher}/rancher-images.txt | sed -e "s/^/ - name: /")

### Create Hauler Manifest
cat << EOF >> /opt/hauler/rancher/rancher-airgap-rancher.yaml
Expand Down Expand Up @@ -58,6 +58,3 @@ spec:
images:
${rancherImages}
EOF

### Add the Hauler Manifest
hauler store add file rancher-airgap-rancher.yaml
3 changes: 0 additions & 3 deletions hauler/scripts/rke2/hauler-rke2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,3 @@ spec:
images:
${rke2Images}
EOF

### Add the Hauler Manifest
hauler store add file rancher-airgap-rke2.yaml
3 changes: 0 additions & 3 deletions hauler/scripts/vault/hauler-vault.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,3 @@ spec:
images:
${vaultImages}
EOF

### Add the Hauler Manifest
hauler store add file rancher-airgap-vault.yaml

0 comments on commit eed433e

Please sign in to comment.