Browse Source

feat: hardcode the nodeport

pull/3/head
Karan Sharma 2 years ago
parent
commit
e66fc9adec
  1. 3
      k8s/ip/base/kustomization.yml
  2. 9
      k8s/ip/base/patches/nodeport-hardcode.yml

3
k8s/ip/base/kustomization.yml

@ -10,4 +10,5 @@ configMapGenerator:
- general.conf=configs/general.conf
- security.conf=configs/security.conf
patchesStrategicMerge:
- patches/add-config-volume.yml
- patches/add-config-volume.yml
- patches/nodeport-hardcode.yml

9
k8s/ip/base/patches/nodeport-hardcode.yml

@ -0,0 +1,9 @@
---
apiVersion: v1
kind: Service
metadata:
name: nginx
spec:
ports:
- port: 80
nodePort: 30506
Loading…
Cancel
Save