-
Notifications
You must be signed in to change notification settings - Fork 6
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
1 parent
efe6324
commit 5cf5b3f
Showing
4 changed files
with
48 additions
and
7 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
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
### Set Variables | ||
export vRKE2=1.28.12 | ||
export vRKE2=1.29.8 | ||
export vRKE2SELinux=0.18 | ||
|
||
### Setup Working Directory | ||
|
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,36 @@ | ||
### Set Variables | ||
export vVault=0.28.1 | ||
|
||
### Setup Working Directory | ||
rm -rf /opt/hauler/vault | ||
mkdir -p /opt/hauler/vault | ||
cd /opt/hauler/vault | ||
|
||
### Download Vault Images and Modify the List | ||
### https://github.com/hashicorp/vault-helm | ||
helm repo add hashicorp https://helm.releases.hashicorp.com && helm repo update | ||
vaultImages=$(helm template hashicorp/vault --version=${vGitea} | grep 'image:' | sed 's/"//g; s/.*image: //' | sed 's/^/ - name: /') | ||
|
||
### Create Hauler Manifest | ||
cat << EOF >> /opt/hauler/vault/rancher-airgap-vault.yaml | ||
apiVersion: content.hauler.cattle.io/v1alpha1 | ||
kind: Charts | ||
metadata: | ||
name: rancher-airgap-charts-vault | ||
spec: | ||
charts: | ||
- name: vault | ||
repoURL: https://helm.releases.hashicorp.com | ||
version: ${vVault} | ||
--- | ||
apiVersion: content.hauler.cattle.io/v1alpha1 | ||
kind: Images | ||
metadata: | ||
name: rancher-airgap-images-vault | ||
spec: | ||
images: | ||
${vaultImages} | ||
EOF | ||
|
||
### Add the Hauler Manifest | ||
hauler store add file rancher-airgap-vault.yaml |