Skip to content

Commit 8be7748

Browse files
committed
patchesStrategicMerge -> patches as recommended by kubectl apply
1 parent 7b9e2f8 commit 8be7748

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

platform/ingress-nginx/kustomization.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1-
---
21
apiVersion: kustomize.config.k8s.io/v1beta1
32
kind: Kustomization
43
resources:
5-
- https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.10.1/deploy/static/provider/do/deploy.yaml
6-
patchesStrategicMerge:
7-
- |-
4+
- https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.10.1/deploy/static/provider/do/deploy.yaml
5+
patches:
6+
- patch: |-
87
apiVersion: v1
98
kind: Service
109
metadata:
1110
annotations:
12-
# set by upstream
13-
# service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true"
14-
# documented in https://github.com/digitalocean/digitalocean-cloud-controller-manager/blob/master/docs/controllers/services/annotations.md#servicebetakubernetesiodo-loadbalancer-name
1511
service.beta.kubernetes.io/do-loadbalancer-name: "do-k8s-ingress-lb"
1612
service.beta.kubernetes.io/do-loadbalancer-tls-passthrough: "true"
1713
name: ingress-nginx-controller
1814
namespace: ingress-nginx
19-
- |-
15+
- patch: |-
2016
apiVersion: apps/v1
2117
kind: Deployment
2218
metadata:

0 commit comments

Comments
 (0)