diff --git a/docs-chef-io/archetypes/resource.md b/docs-chef-io/archetypes/resource.md index ec82db1..1b0151b 100644 --- a/docs-chef-io/archetypes/resource.md +++ b/docs-chef-io/archetypes/resource.md @@ -14,7 +14,7 @@ platform = "k8s" Use the `{{ .Name }}` Chef InSpec audit resource to test the configuration of... -## Installation +## Install ## Syntax @@ -60,4 +60,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_api_resources.md b/docs-chef-io/content/inspec/resources/k8s_api_resources.md index d0916b0..91a8f73 100644 --- a/docs-chef-io/content/inspec/resources/k8s_api_resources.md +++ b/docs-chef-io/content/inspec/resources/k8s_api_resources.md @@ -91,4 +91,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_config_map.md b/docs-chef-io/content/inspec/resources/k8s_config_map.md index 182df2b..2f175bd 100644 --- a/docs-chef-io/content/inspec/resources/k8s_config_map.md +++ b/docs-chef-io/content/inspec/resources/k8s_config_map.md @@ -68,4 +68,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_config_maps.md b/docs-chef-io/content/inspec/resources/k8s_config_maps.md index 8bf855a..f8a0b3c 100644 --- a/docs-chef-io/content/inspec/resources/k8s_config_maps.md +++ b/docs-chef-io/content/inspec/resources/k8s_config_maps.md @@ -69,4 +69,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_container.md b/docs-chef-io/content/inspec/resources/k8s_container.md index 37185d5..0feeaec 100644 --- a/docs-chef-io/content/inspec/resources/k8s_container.md +++ b/docs-chef-io/content/inspec/resources/k8s_container.md @@ -92,3 +92,7 @@ end it { should_have_command?('COMMAND') } end ``` + +## Matchers + +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_containers.md b/docs-chef-io/content/inspec/resources/k8s_containers.md index 56ef56e..daf4a2b 100644 --- a/docs-chef-io/content/inspec/resources/k8s_containers.md +++ b/docs-chef-io/content/inspec/resources/k8s_containers.md @@ -89,4 +89,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_cronjob.md b/docs-chef-io/content/inspec/resources/k8s_cronjob.md index 4750716..246bec9 100644 --- a/docs-chef-io/content/inspec/resources/k8s_cronjob.md +++ b/docs-chef-io/content/inspec/resources/k8s_cronjob.md @@ -90,4 +90,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_cronjobs.md b/docs-chef-io/content/inspec/resources/k8s_cronjobs.md index 36bf691..5f36258 100644 --- a/docs-chef-io/content/inspec/resources/k8s_cronjobs.md +++ b/docs-chef-io/content/inspec/resources/k8s_cronjobs.md @@ -79,4 +79,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_daemon_set.md b/docs-chef-io/content/inspec/resources/k8s_daemon_set.md index b4df0fa..6bd190c 100644 --- a/docs-chef-io/content/inspec/resources/k8s_daemon_set.md +++ b/docs-chef-io/content/inspec/resources/k8s_daemon_set.md @@ -89,4 +89,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_daemon_sets.md b/docs-chef-io/content/inspec/resources/k8s_daemon_sets.md index 6e55b02..5387277 100644 --- a/docs-chef-io/content/inspec/resources/k8s_daemon_sets.md +++ b/docs-chef-io/content/inspec/resources/k8s_daemon_sets.md @@ -79,4 +79,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_deployment.md b/docs-chef-io/content/inspec/resources/k8s_deployment.md index d6c475e..49ac4ef 100644 --- a/docs-chef-io/content/inspec/resources/k8s_deployment.md +++ b/docs-chef-io/content/inspec/resources/k8s_deployment.md @@ -90,4 +90,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_deployments.md b/docs-chef-io/content/inspec/resources/k8s_deployments.md index 3ec7614..807749c 100644 --- a/docs-chef-io/content/inspec/resources/k8s_deployments.md +++ b/docs-chef-io/content/inspec/resources/k8s_deployments.md @@ -79,4 +79,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_exec_file.md b/docs-chef-io/content/inspec/resources/k8s_exec_file.md index f68798c..3005a89 100644 --- a/docs-chef-io/content/inspec/resources/k8s_exec_file.md +++ b/docs-chef-io/content/inspec/resources/k8s_exec_file.md @@ -93,4 +93,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_job.md b/docs-chef-io/content/inspec/resources/k8s_job.md index e9f40f4..43168a2 100644 --- a/docs-chef-io/content/inspec/resources/k8s_job.md +++ b/docs-chef-io/content/inspec/resources/k8s_job.md @@ -89,4 +89,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_jobs.md b/docs-chef-io/content/inspec/resources/k8s_jobs.md index 9b5672f..b6922d1 100644 --- a/docs-chef-io/content/inspec/resources/k8s_jobs.md +++ b/docs-chef-io/content/inspec/resources/k8s_jobs.md @@ -79,4 +79,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_namespace.md b/docs-chef-io/content/inspec/resources/k8s_namespace.md index 17ea063..532bc59 100644 --- a/docs-chef-io/content/inspec/resources/k8s_namespace.md +++ b/docs-chef-io/content/inspec/resources/k8s_namespace.md @@ -70,4 +70,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_namespaces.md b/docs-chef-io/content/inspec/resources/k8s_namespaces.md index 3f1dc70..749bb05 100644 --- a/docs-chef-io/content/inspec/resources/k8s_namespaces.md +++ b/docs-chef-io/content/inspec/resources/k8s_namespaces.md @@ -58,4 +58,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_network_policies.md b/docs-chef-io/content/inspec/resources/k8s_network_policies.md index 99c5161..75c1e72 100644 --- a/docs-chef-io/content/inspec/resources/k8s_network_policies.md +++ b/docs-chef-io/content/inspec/resources/k8s_network_policies.md @@ -81,4 +81,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_network_policy.md b/docs-chef-io/content/inspec/resources/k8s_network_policy.md index faf65b0..dcce6eb 100644 --- a/docs-chef-io/content/inspec/resources/k8s_network_policy.md +++ b/docs-chef-io/content/inspec/resources/k8s_network_policy.md @@ -90,4 +90,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_node.md b/docs-chef-io/content/inspec/resources/k8s_node.md index b3b7088..b2bc11f 100644 --- a/docs-chef-io/content/inspec/resources/k8s_node.md +++ b/docs-chef-io/content/inspec/resources/k8s_node.md @@ -58,7 +58,7 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} ### have_label diff --git a/docs-chef-io/content/inspec/resources/k8s_nodes.md b/docs-chef-io/content/inspec/resources/k8s_nodes.md index 743397c..a713e88 100644 --- a/docs-chef-io/content/inspec/resources/k8s_nodes.md +++ b/docs-chef-io/content/inspec/resources/k8s_nodes.md @@ -51,4 +51,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_object.md b/docs-chef-io/content/inspec/resources/k8s_object.md index 5292471..d2116e7 100644 --- a/docs-chef-io/content/inspec/resources/k8s_object.md +++ b/docs-chef-io/content/inspec/resources/k8s_object.md @@ -81,7 +81,7 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} ### have_label diff --git a/docs-chef-io/content/inspec/resources/k8s_objects.md b/docs-chef-io/content/inspec/resources/k8s_objects.md index 5527f28..963b016 100644 --- a/docs-chef-io/content/inspec/resources/k8s_objects.md +++ b/docs-chef-io/content/inspec/resources/k8s_objects.md @@ -72,4 +72,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_pod.md b/docs-chef-io/content/inspec/resources/k8s_pod.md index 44d728b..0307e37 100644 --- a/docs-chef-io/content/inspec/resources/k8s_pod.md +++ b/docs-chef-io/content/inspec/resources/k8s_pod.md @@ -66,3 +66,7 @@ describe k8s_pod(namespace: 'NAMESPACE', name: 'NAME') do it { should exist } end ``` + +## Matchers + +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_pods.md b/docs-chef-io/content/inspec/resources/k8s_pods.md index bd73b62..5f00286 100644 --- a/docs-chef-io/content/inspec/resources/k8s_pods.md +++ b/docs-chef-io/content/inspec/resources/k8s_pods.md @@ -68,4 +68,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_rbac_cluster_role.md b/docs-chef-io/content/inspec/resources/k8s_rbac_cluster_role.md index eb23409..d33a065 100644 --- a/docs-chef-io/content/inspec/resources/k8s_rbac_cluster_role.md +++ b/docs-chef-io/content/inspec/resources/k8s_rbac_cluster_role.md @@ -91,4 +91,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/k8s_rbac_cluster_roles.md b/docs-chef-io/content/inspec/resources/k8s_rbac_cluster_roles.md index 8c0d28e..698a136 100644 --- a/docs-chef-io/content/inspec/resources/k8s_rbac_cluster_roles.md +++ b/docs-chef-io/content/inspec/resources/k8s_rbac_cluster_roles.md @@ -84,4 +84,4 @@ end ## Matchers -{{% inspec/inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}