20 lines
463 B
YAML
20 lines
463 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
resources:
|
|
- ../../base
|
|
|
|
patches:
|
|
# In-cluster Caddy gateway owns the single NodePort. It routes by Host header
|
|
# to docs / minio / future services via service DNS inside the cluster.
|
|
- target:
|
|
kind: Service
|
|
name: gateway
|
|
patch: |
|
|
- op: replace
|
|
path: /spec/type
|
|
value: NodePort
|
|
- op: add
|
|
path: /spec/ports/0/nodePort
|
|
value: 30050
|