Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions website/docs/mutation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ metadata:
spec:
match:
scope: Namespaced
name: nginx-*
kinds:
- apiGroups: ["*"]
kinds: ["Pod"]
Expand Down Expand Up @@ -73,6 +74,7 @@ The `match` section is common to all mutators. It supports the following match c
- namespaces - list of allowed namespaces, only resources in listed namespaces will be mutated
- namespaceSelector - filters resources by namespace selector
- excludedNamespaces - list of excluded namespaces, resources in listed namespaces will not be mutated
- name - the name of an object. If defined, it matches against objects with the specified name. Name also supports a prefix-based glob. For example, `name: pod-*` matches both `pod-a` and `pod-b`.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add this to yaml example above?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've pushed it there. Does that look like what you meant?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also added to example in the versioned_docs


Note that any empty/undefined match criteria are inclusive: they match any object.

Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-v3.7.x/mutation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ metadata:
spec:
match:
scope: Namespaced
name: nginx-*
kinds:
- apiGroups: ["*"]
kinds: ["Pod"]
Expand Down Expand Up @@ -73,6 +74,7 @@ The `match` section is common to all mutators. It supports the following match c
- namespaces - list of allowed namespaces, only resources in listed namespaces will be mutated
- namespaceSelector - filters resources by namespace selector
- excludedNamespaces - list of excluded namespaces, resources in listed namespaces will not be mutated
- name - the name of an object. If defined, it matches against objects with the specified name. Name also supports a prefix-based glob. For example, `name: pod-*` matches both `pod-a` and `pod-b`.

Note that any empty/undefined match criteria are inclusive: they match any object.

Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-v3.8.x/mutation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ metadata:
spec:
match:
scope: Namespaced
name: nginx-*
kinds:
- apiGroups: ["*"]
kinds: ["Pod"]
Expand Down Expand Up @@ -73,6 +74,7 @@ The `match` section is common to all mutators. It supports the following match c
- namespaces - list of allowed namespaces, only resources in listed namespaces will be mutated
- namespaceSelector - filters resources by namespace selector
- excludedNamespaces - list of excluded namespaces, resources in listed namespaces will not be mutated
- name - the name of an object. If defined, it matches against objects with the specified name. Name also supports a prefix-based glob. For example, `name: pod-*` matches both `pod-a` and `pod-b`.

Note that any empty/undefined match criteria are inclusive: they match any object.

Expand Down
2 changes: 2 additions & 0 deletions website/versioned_docs/version-v3.9.x/mutation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ metadata:
spec:
match:
scope: Namespaced
name: nginx-*
kinds:
- apiGroups: ["*"]
kinds: ["Pod"]
Expand Down Expand Up @@ -73,6 +74,7 @@ The `match` section is common to all mutators. It supports the following match c
- namespaces - list of allowed namespaces, only resources in listed namespaces will be mutated
- namespaceSelector - filters resources by namespace selector
- excludedNamespaces - list of excluded namespaces, resources in listed namespaces will not be mutated
- name - the name of an object. If defined, it matches against objects with the specified name. Name also supports a prefix-based glob. For example, `name: pod-*` matches both `pod-a` and `pod-b`.

Note that any empty/undefined match criteria are inclusive: they match any object.

Expand Down