diff --git a/apps-kustomized/kube-prometheus/kustomization.yaml b/apps-kustomized/kube-prometheus/kustomization.yaml index 870b402..8c39e0c 100644 --- a/apps-kustomized/kube-prometheus/kustomization.yaml +++ b/apps-kustomized/kube-prometheus/kustomization.yaml @@ -9,9 +9,11 @@ patches: - op: replace path: /spec/type value: LoadBalancer + - op: remove + path: /spec/ports - op: replace - path: /spec/ports[0] - value: {"name":"http","port":80,"targetPort":"http","protocol":"TCP"} + path: /spec/ports + value: [{"name":"http","port":80,"targetPort":"http","protocol":"TCP"}] resources: - 0alertmanagerConfigCustomResourceDefinition.yaml