Skip to content

Commit

Permalink
Merge pull request #39 from inspec/im/links
Browse files Browse the repository at this point in the history
reorganize reusable text files
  • Loading branch information
clintoncwolfe authored Jan 22, 2024
2 parents 6ee35ee + 838e0a3 commit 421355e
Show file tree
Hide file tree
Showing 27 changed files with 34 additions and 26 deletions.
4 changes: 2 additions & 2 deletions docs-chef-io/archetypes/resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ platform = "k8s"

Use the `{{ .Name }}` Chef InSpec audit resource to test the configuration of...

## Installation
## Install

## Syntax

Expand Down Expand Up @@ -60,4 +60,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_api_resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_config_map.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_config_maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
4 changes: 4 additions & 0 deletions docs-chef-io/content/inspec/resources/k8s_container.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,7 @@ end
it { should_have_command?('COMMAND') }
end
```

## Matchers

{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_containers.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_cronjob.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_cronjobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_daemon_set.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_daemon_sets.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_deployments.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_exec_file.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_job.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_namespace.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_namespaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_node.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}

### have_label

Expand Down
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_object.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}

### have_label

Expand Down
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
4 changes: 4 additions & 0 deletions docs-chef-io/content/inspec/resources/k8s_pod.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" >}}
2 changes: 1 addition & 1 deletion docs-chef-io/content/inspec/resources/k8s_pods.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ end

## Matchers

{{% inspec/inspec_matchers_link %}}
{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}}

0 comments on commit 421355e

Please sign in to comment.