phase 2
This commit is contained in:
20
ctrl/k8s/overlays/cloud/kustomization.yaml
Normal file
20
ctrl/k8s/overlays/cloud/kustomization.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ../../base
|
||||
|
||||
patches:
|
||||
# Gateway as cloud LoadBalancer
|
||||
- target:
|
||||
kind: Service
|
||||
name: gateway
|
||||
patch: |
|
||||
- op: replace
|
||||
path: /spec/type
|
||||
value: LoadBalancer
|
||||
- op: add
|
||||
path: /metadata/annotations
|
||||
value:
|
||||
service.beta.kubernetes.io/aws-load-balancer-type: nlb
|
||||
service.beta.kubernetes.io/aws-load-balancer-scheme: internal
|
||||
Reference in New Issue
Block a user