scaffold: kind+Tilt cluster, api/ui/docs stubs, green at nvi.local.ar
This commit is contained in:
19
ctrl/k8s/overlays/dev/kustomization.yaml
Normal file
19
ctrl/k8s/overlays/dev/kustomization.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ../../base
|
||||
|
||||
patches:
|
||||
# In-cluster Caddy gateway owns the single NodePort. Routes by Host header
|
||||
# to ui / api / docs 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: 30060
|
||||
Reference in New Issue
Block a user