2019-06-13 13:41:13 -07:00
|
|
|
# input
|
|
|
|
policy: basic-policy
|
|
|
|
resource: ns2
|
|
|
|
initResources:
|
2019-06-14 14:51:06 -07:00
|
|
|
- default/config-template
|
2019-06-13 13:41:13 -07:00
|
|
|
# expected
|
2019-06-14 14:51:06 -07:00
|
|
|
generation:
|
|
|
|
resource:
|
|
|
|
- name: default-config
|
|
|
|
namespace: ns2
|
|
|
|
kind: ConfigMap
|
|
|
|
- name: mongo-creds
|
|
|
|
namespace: ns2
|
|
|
|
kind: Secret
|
2019-06-13 13:41:13 -07:00
|
|
|
---
|
|
|
|
# input
|
|
|
|
policy: zk-kafka-address
|
|
|
|
resource: ns2
|
|
|
|
initResources:
|
2019-06-14 14:51:06 -07:00
|
|
|
- default/game-config
|
2019-06-13 13:41:13 -07:00
|
|
|
# expected
|
2019-06-14 14:51:06 -07:00
|
|
|
generation:
|
|
|
|
resource:
|
|
|
|
- name: copied-cm
|
|
|
|
namespace: ns2
|
|
|
|
kind: ConfigMap
|
|
|
|
- name: zk-kafka-address
|
|
|
|
namespace: ns2
|
|
|
|
kind: ConfigMap
|
2019-06-13 13:41:13 -07:00
|
|
|
---
|
|
|
|
# input
|
|
|
|
policy: default
|
|
|
|
resource: ns2
|
|
|
|
initResources:
|
|
|
|
# expected
|
2019-06-14 14:51:06 -07:00
|
|
|
generation:
|
|
|
|
resource:
|
|
|
|
- name: deny-all-traffic
|
|
|
|
namespace: ns2
|
|
|
|
kind: NetworkPolicy
|