# file path relative to project root input: policy: examples/generate/policy_basic.yaml resource: examples/generate/namespace.yaml load_resources: - examples/generate/configMap_default.yaml expected: passes: true generation: resources: - test/output/cm_default_config.yaml - test/output/sc_mongo_cred.yaml rules: - name: "Basic config generator for all namespaces" type: Generation messages: - "Rule Basic config generator for all namespaces: Generation successfully." - name: "Basic clone config generator for all namespaces" type: Generation messages: - "Rule Basic clone config generator for all namespaces: Generation successfully." --- input: policy: examples/generate/policy_generate.yaml resource: examples/generate/namespace.yaml load_resources: - examples/generate/configMap.yaml expected: passes: true generation: resources: - test/output/cm_copied_cm.yaml - test/output/cm_zk-kafka-address.yaml rules: - name: "copy-comfigmap" type: Generation messages: - "Rule copy-comfigmap: Generation successfully." - name: "zk-kafka-address" type: Generation messages: - "Rule zk-kafka-address: Generation successfully." --- input: policy: examples/generate/policy_networkPolicy.yaml resource: examples/generate/namespace.yaml expected: passes: true generation: resources: - test/output/np_deny-all-traffic.yaml rules: - name: deny-all-traffic type: Generation messages: - "Rule deny-all-traffic: Generation successfully."