parent
2b75825621
commit
ee6c4c1d13
@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE profile>
|
||||||
|
<profile
|
||||||
|
xmlns="http://www.suse.com/1.0/yast2ns"
|
||||||
|
xmlns:config="http://www.suse.com/1.0/configns"
|
||||||
|
>
|
||||||
|
<scripts>
|
||||||
|
<post-scripts config:type="list">
|
||||||
|
<script>
|
||||||
|
<source>
|
||||||
|
<![CDATA[
|
||||||
|
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
|
||||||
|
chmod 700 get_helm.sh
|
||||||
|
./get_helm.sh
|
||||||
|
/var/lib/rancher/rke2/bin/kubectl apply --kubeconfig /etc/rancher/rke2/rke2.yaml -f https://github.com/cert-manager/cert-manager/releases/download/v1.18.2/cert-manager.crds.yaml
|
||||||
|
helm --kubeconfig /etc/rancher/rke2/rke2.yaml repo add jetstack https://charts.jetstack.io
|
||||||
|
helm --kubeconfig /etc/rancher/rke2/rke2.yaml repo update
|
||||||
|
helm --kubeconfig /etc/rancher/rke2/rke2.yaml install cert-manager jetstack/cert-manager \
|
||||||
|
--namespace cert-manager \
|
||||||
|
--create-namespace
|
||||||
|
]]></source>
|
||||||
|
</script>
|
||||||
|
</post-scripts>
|
||||||
|
</scripts>
|
||||||
|
</profile>
|
||||||
Loading…
Reference in new issue