You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -778,7 +778,7 @@ spec:
778
778
## Patching provider manifests
779
779
780
780
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
781
-
manifests `spec.ResourcePatches` has to be used where an array of patches can be specified:
781
+
manifests `spec.ManifestPatches` has to be used where an array of patches can be specified:
782
782
783
783
```yaml
784
784
---
@@ -788,13 +788,13 @@ metadata:
788
788
name: cluster-api
789
789
namespace: capi-system
790
790
spec:
791
-
resourcePatches:
791
+
manifestPatches:
792
792
- |
793
-
apiVersion: v1
794
-
kind: Service
795
-
metadata:
796
-
labels:
797
-
test-label: test-value
793
+
apiVersion: v1
794
+
kind: Service
795
+
metadata:
796
+
labels:
797
+
test-label: test-value
798
798
```
799
799
800
800
More information about JSON merge patches can be found here https://datatracker.ietf.org/doc/html/rfc7396
Copy file name to clipboardExpand all lines: docs/book/src/03_topics/02_configuration/04_patching-provider-manifests.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Patching provider manifests
2
2
3
3
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
4
-
manifests `spec.ResourcePatches` has to be used where an array of patches can be specified:
4
+
manifests `spec.ManifestPatches` has to be used where an array of patches can be specified:
5
5
6
6
```yaml
7
7
---
@@ -11,13 +11,13 @@ metadata:
11
11
name: cluster-api
12
12
namespace: capi-system
13
13
spec:
14
-
resourcePatches:
14
+
manifestPatches:
15
15
- |
16
-
apiVersion: v1
17
-
kind: Service
18
-
metadata:
19
-
labels:
20
-
test-label: test-value
16
+
apiVersion: v1
17
+
kind: Service
18
+
metadata:
19
+
labels:
20
+
test-label: test-value
21
21
```
22
22
23
23
More information about JSON merge patches can be found here <https://datatracker.ietf.org/doc/html/rfc7396>
0 commit comments