Skip to content

Commit

Permalink
patchesStrategicMerge -> patches as recommended by kubectl apply
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed May 14, 2024
1 parent 7b9e2f8 commit 8be7748
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions platform/ingress-nginx/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.10.1/deploy/static/provider/do/deploy.yaml
patchesStrategicMerge:
- |-
- https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.10.1/deploy/static/provider/do/deploy.yaml
patches:
- patch: |-
apiVersion: v1
kind: Service
metadata:
annotations:
# set by upstream
# service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true"
# documented in https://github.com/digitalocean/digitalocean-cloud-controller-manager/blob/master/docs/controllers/services/annotations.md#servicebetakubernetesiodo-loadbalancer-name
service.beta.kubernetes.io/do-loadbalancer-name: "do-k8s-ingress-lb"
service.beta.kubernetes.io/do-loadbalancer-tls-passthrough: "true"
name: ingress-nginx-controller
namespace: ingress-nginx
- |-
- patch: |-
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down

0 comments on commit 8be7748

Please sign in to comment.