Skip to content

Commit

Permalink
Update ubuntu-rancher-docker.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cjy37 authored Jul 18, 2019
1 parent 3c80536 commit 27d23b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ubuntu-rancher-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -315,14 +315,14 @@ setupRancher() {
--namespace kube-system

kubectl -n cattle-system create secret tls tls-rancher-ingress \
--cert=/data/idereck.com.crt \
--key=/data/idereck.com.key
--cert=/data/abc.com.crt \
--key=/data/abc.com.key

# 安装 rancher
helm install rancher-stable/rancher \
--name rancher \
--namespace cattle-system \
--set hostname=rancher.idereck.com \
--set hostname=rancher.abc.com \
--set ingress.tls.source=secret

return $?
Expand Down

0 comments on commit 27d23b1

Please sign in to comment.