kubeconform/fixtures/duplicates-with-namespace.yaml
2020-06-04 00:33:01 +02:00

43 lines
688 B
YAML
Executable file

# Two objects with same name in same namespace
apiVersion: v1
kind: ReplicationController
metadata:
name: "bob"
namespace: x
spec:
replicas: 2
selector:
app: nginx
template:
metadata:
name: nginx
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
---
apiVersion: v1
kind: ReplicationController
metadata:
name: "bob"
namespace: x
spec:
replicas: 2
selector:
app: nginx
template:
metadata:
name: nginx
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80