enabled other domain names
This commit is contained in:
parent
9e1ae05c12
commit
0378e0cf4a
3 changed files with 4 additions and 4 deletions
|
@ -45,7 +45,7 @@ Application ..> Domain
|
||||||
|
|
||||||
package infrastructure {
|
package infrastructure {
|
||||||
class Repository
|
class Repository
|
||||||
class Provs {
|
class Prov {
|
||||||
|
|
||||||
create<type>(): create a new item - might also have a parameter like: skipIfExisting
|
create<type>(): create a new item - might also have a parameter like: skipIfExisting
|
||||||
delete<type>(): delete an item - might also have a parameter like: failIfNotExisting
|
delete<type>(): delete an item - might also have a parameter like: failIfNotExisting
|
||||||
|
|
|
@ -10,14 +10,14 @@ function main() {
|
||||||
local cluster_name="${1}"; shift
|
local cluster_name="${1}"; shift
|
||||||
local domain_name="${1:-meissa-gmbh.de}"; shift
|
local domain_name="${1:-meissa-gmbh.de}"; shift
|
||||||
|
|
||||||
/usr/local/bin/k3s-create-context.sh ${cluster_name}
|
/usr/local/bin/k3s-create-context.sh ${cluster_name} ${domain_name}
|
||||||
kubectl config use-context ${cluster_name}
|
kubectl config use-context ${cluster_name}
|
||||||
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@${cluster_name}.${domain_name} -L 8002:localhost:8002 -L 6443:192.168.5.1:6443
|
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@${cluster_name}.${domain_name} -L 8002:localhost:8002 -L 6443:192.168.5.1:6443
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ $# -gt 0 ]
|
if [ $# -gt 0 ]
|
||||||
then
|
then
|
||||||
main $1
|
main $1 $2
|
||||||
else
|
else
|
||||||
usage
|
usage
|
||||||
exit -1
|
exit -1
|
||||||
|
|
|
@ -26,7 +26,7 @@ function main() {
|
||||||
|
|
||||||
if [ $# -gt 0 ]
|
if [ $# -gt 0 ]
|
||||||
then
|
then
|
||||||
main $1
|
main $1 $2
|
||||||
else
|
else
|
||||||
usage
|
usage
|
||||||
exit -1
|
exit -1
|
||||||
|
|
Loading…
Reference in a new issue