Skip to content

Commit

Permalink
Merge pull request #561 from apricote/docs-manifestpatches
Browse files Browse the repository at this point in the history
📖 Fix manifestPatches field name
  • Loading branch information
k8s-ci-robot committed Jul 8, 2024
2 parents 628476c + 59205d7 commit fbe3b5a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ spec:
## Patching provider manifests

Provider manifests can be patched using JSON merge patches. This can be useful when you need to modify the provider manifests that are fetched from the repository. In order to provider
manifests `spec.ResourcePatches` has to be used where an array of patches can be specified:
manifests `spec.ManifestPatches` has to be used where an array of patches can be specified:

```yaml
---
Expand All @@ -788,13 +788,13 @@ metadata:
name: cluster-api
namespace: capi-system
spec:
resourcePatches:
manifestPatches:
- |
apiVersion: v1
kind: Service
metadata:
labels:
test-label: test-value
apiVersion: v1
kind: Service
metadata:
labels:
test-label: test-value
```

More information about JSON merge patches can be found here https://datatracker.ietf.org/doc/html/rfc7396
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Patching provider manifests

Provider manifests can be patched using JSON merge patches. This can be useful when you need to modify the provider manifests that are fetched from the repository. In order to provider
manifests `spec.ResourcePatches` has to be used where an array of patches can be specified:
manifests `spec.ManifestPatches` has to be used where an array of patches can be specified:

```yaml
---
Expand All @@ -11,13 +11,13 @@ metadata:
name: cluster-api
namespace: capi-system
spec:
resourcePatches:
manifestPatches:
- |
apiVersion: v1
kind: Service
metadata:
labels:
test-label: test-value
apiVersion: v1
kind: Service
metadata:
labels:
test-label: test-value
```

More information about JSON merge patches can be found here <https://datatracker.ietf.org/doc/html/rfc7396>
Expand Down

0 comments on commit fbe3b5a

Please sign in to comment.