cluster name update
This commit is contained in:
parent
aae1f28c84
commit
733f05eccf
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
APP=$1
|
APP=$1
|
||||||
NAMESPACE="${2:-default}"
|
NAMESPACE="${2:-default}"
|
||||||
CLUSTER="${3:-homelab}"
|
CLUSTER="${3:-theshire}"
|
||||||
|
|
||||||
is_deployment() {
|
is_deployment() {
|
||||||
kubectl --context "${CLUSTER}" -n "${NAMESPACE}" get deployment "${APP}" >/dev/null 2>&1
|
kubectl --context "${CLUSTER}" -n "${NAMESPACE}" get deployment "${APP}" >/dev/null 2>&1
|
||||||
|
|
|
@ -14,7 +14,7 @@ spec:
|
||||||
prune: false # never should be deleted
|
prune: false # never should be deleted
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
name: homelab
|
name: theshire
|
||||||
wait: false
|
wait: false
|
||||||
interval: 30m
|
interval: 30m
|
||||||
retryInterval: 1m
|
retryInterval: 1m
|
||||||
|
|
Loading…
Reference in a new issue