Matthew Fuller 75429db630 Move CAPI resources to target-infra namespace
Moves CAPI resources in ephemeral cluster from the 'default'
namespace to a new 'target-infra' namespace.

Closes: #551
Change-Id: I419a71baa8e05e7b57b38234d15b955b36951b40
2021-06-03 23:40:00 +00:00

41 lines
715 B
YAML

apiVersion: v1
kind: ReplicationController
metadata:
name: test-rc
namespace: test
annotations:
airshipit.org/initinfra: "workflow"
labels:
name: test-rc
airshipit.org/initinfra: "workflow"
spec:
replicas: 1
template:
metadata:
labels:
name: test-rc
spec:
containers:
- name: test-rc
image: nginx
ports:
- containerPort: 80
---
apiVersion: v1
kind: ConfigMap
metadata:
name: first-map
namespace: target-infra
labels:
cli-utils.sigs.k8s.io/inventory-id: "some id"
---
apiVersion: v1
kind: ConfigMap
metadata:
name: second-map
namespace: target-infra
labels:
cli-utils.sigs.k8s.io/inventory-id: "some id"