fix: nodeport value for linkding
This commit is contained in:
@@ -7,7 +7,7 @@ metadata:
|
|||||||
namespace: linkding
|
namespace: linkding
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- nodePort: 9090
|
- nodePort: 30010
|
||||||
port: 9090
|
port: 9090
|
||||||
targetPort: 0
|
targetPort: 0
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ func init() {
|
|||||||
meta = kube.NewMetadata("linking", Namespace)
|
meta = kube.NewMetadata("linking", Namespace)
|
||||||
srv = meta.Service(root.Linkding.Port)
|
srv = meta.Service(root.Linkding.Port)
|
||||||
srv.Spec.Type = core.ServiceTypeNodePort
|
srv.Spec.Type = core.ServiceTypeNodePort
|
||||||
srv.Spec.Ports[0].NodePort = root.Linkding.Port
|
srv.Spec.Ports[0].NodePort = 30010
|
||||||
pvc = meta.PVC()
|
pvc = meta.PVC()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user