Merge "Remove namespace from annotate BMH script"
This commit is contained in:
commit
fae2dafb90
@ -17,6 +17,5 @@ set -xe
|
|||||||
echo "Annotating BMH objects with a pause label in cluster with kubectl context ${KCTL_CONTEXT}" 1>&2
|
echo "Annotating BMH objects with a pause label in cluster with kubectl context ${KCTL_CONTEXT}" 1>&2
|
||||||
kubectl annotate \
|
kubectl annotate \
|
||||||
--context $KCTL_CONTEXT \
|
--context $KCTL_CONTEXT \
|
||||||
--namespace $CLUSTER_NAMESPACE \
|
|
||||||
--overwrite \
|
--overwrite \
|
||||||
-f $RENDERED_BUNDLE_PATH baremetalhost.metal3.io/paused=true 1>&2
|
-f $RENDERED_BUNDLE_PATH baremetalhost.metal3.io/paused=true 1>&2
|
||||||
|
@ -396,13 +396,10 @@ apiVersion: airshipit.org/v1alpha1
|
|||||||
kind: GenericContainer
|
kind: GenericContainer
|
||||||
metadata:
|
metadata:
|
||||||
name: kubectl-pause-bmh
|
name: kubectl-pause-bmh
|
||||||
labels:
|
|
||||||
airshipit.org/deploy-k8s: "false"
|
|
||||||
spec:
|
spec:
|
||||||
image: quay.io/airshipit/toolbox:latest
|
image: quay.io/airshipit/toolbox:latest
|
||||||
hostNetwork: true
|
hostNetwork: true
|
||||||
envVars:
|
envVars:
|
||||||
- CLUSTER_NAMESPACE=default
|
|
||||||
- RESOURCE_GROUP_FILTER=metal3.io
|
- RESOURCE_GROUP_FILTER=metal3.io
|
||||||
- RESOURCE_VERSION_FILTER=v1alpha1
|
- RESOURCE_VERSION_FILTER=v1alpha1
|
||||||
- RESOURCE_KIND_FILTER=BareMetalHost
|
- RESOURCE_KIND_FILTER=BareMetalHost
|
||||||
|
Loading…
x
Reference in New Issue
Block a user