brooksphilip / rke2-install

0 stars 1 forks source link

new install_Rancher.sh fails for me.. #4

Open buskeyl opened 10 months ago

buskeyl commented 10 months ago

-rw-r--r--. 1 root root 2370 Jan 1 23:37 cert.crt -rw-r--r--. 1 root root 1675 Jan 1 23:37 cert.key -rwxr-xr-x. 1 root root 3193 Jan 1 22:49 first_master_script.sh -rw-r--r--. 1 root root 1554 Jan 1 23:37 globalca2.crt -rwxr-xr-x. 1 root root 2455 Jan 1 22:49 install_rancher.sh -rwxr-xr-x. 1 root root 2896 Jan 1 22:49 other_master_script.sh -rw-r--r--. 1 root root 1482 Jan 1 22:49 README.md -rw-r--r--. 1 root root 33 Jan 1 22:49 token.txt [root@Lee-RHEL-01 cdf2-rke2-install]# vim install_rancher.sh [root@Lee-RHEL-01 cdf2-rke2-install]# vim install_rancher.sh [root@Lee-RHEL-01 cdf2-rke2-install]# ./install_rancher.sh reccommend opening 2 shells before starting this script adding helm repo "rancher-stable" already exists with the same configuration, skipping creating cattle system namespace Error from server (AlreadyExists): namespaces "cattle-system" already exists Install Certmanager? If you have your own certs answer, no (y/n)n ./install_rancher.sh: line 61: [: missing `]' Certfile Path: cert.crt Cert Keyfile: cert.key secret/tls-rancher-ingress created Is this a cert signed by a privateCA? (y/n)y ca chain file pathglobalca2.crt secret/tls-ca created installing Rancher with a globally trusted cert Error: INSTALLATION FAILED: expected at most two arguments, unexpected arguments: bootstrapPassword=admin ./install_rancher.sh: line 53: Echo: command not found Error from server (NotFound): deployments.apps "rancher" not found [root@Lee-RHEL-01 cdf2-rke2-install]#

brooksphilip commented 10 months ago

made a few commits. try now. I accidentally put a capital and forgot a --set