5export const k8sFixHarvServerSnippet = async () => { 7 /** @type {{apiVersion?: string, kind: string, metadata: {name: string, namespace: string}, data: Record<string, string>}} */ 8 let resource = /** @type {any} */ ({ 11 // "allow-snippet-annotations": "false", 12 // "proxy-body-size": "0", 13 // "proxy-request-buffering": "off" 17 "name": "rke2-ingress-nginx-controller", 18 "namespace": "kube-system", 21 resource = /** @type {any} */ (await read2Resource({resource, cluster_name})) 22 resource.data['allow-snippet-annotations'] = 'true'