File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
- #! /usr/bin/env sh
2
- . " $( dirname -- " $0 " ) /_/husky.sh"
3
1
4
2
npm test && npm run lint
Original file line number Diff line number Diff line change 2
2
* Valid Content-Type header values for patch operations. See
3
3
* https://kubernetes.io/docs/tasks/run-application/update-api-object-kubectl-patch/
4
4
* for details.
5
+ *
6
+ * Additionally for Server-Side Apply https://kubernetes.io/docs/reference/using-api/server-side-apply/
7
+ * and https://kubernetes.io/docs/reference/using-api/server-side-apply/#api-implementation
5
8
*/
6
9
export enum PatchStrategy {
7
10
/** Diff-like JSON format. */
@@ -10,4 +13,6 @@ export enum PatchStrategy {
10
13
MergePatch = 'application/merge-patch+json' ,
11
14
/** Merge with different strategies depending on field metadata. */
12
15
StrategicMergePatch = 'application/strategic-merge-patch+json' ,
16
+ /** Server-Side Apply */
17
+ ServerSideApply = 'application/apply-patch+yaml' ,
13
18
}
You can’t perform that action at this time.
0 commit comments