Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
ba75a9d0
Commit
ba75a9d0
authored
5 years ago
by
rjshrjndrn
Browse files
Options
Download
Patches
Plain Diff
Issue #000 feat: enabling node port for api onboarding
parent
9310738e
3node
3node_bak_new
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
3node/helm-charts/apimanager/templates/deployment.yaml
+12
-0
3node/helm-charts/apimanager/templates/deployment.yaml
3node/helm-charts/apimanager/values.j2
+1
-0
3node/helm-charts/apimanager/values.j2
with
13 additions
and
0 deletions
+13
-0
3node/helm-charts/apimanager/templates/deployment.yaml
+
12
−
0
View file @
ba75a9d0
...
...
@@ -55,6 +55,18 @@ spec:
protocol
:
TCP
port
:
{{
.Values.network.port
}}
targetPort
:
{{
.Values.network.targetport
}}
---
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
{{
.Chart.Name
}}
-admin-service
namespace
:
{{
.Values.namespace
}}
labels
:
app
:
{{
.Chart.Name
}}
spec
:
type
:
NodePort
ports
:
-
name
:
http-admin-{{ .Chart.Name }}
protocol
:
TCP
port
:
{{
.Values.service.port
}}
...
...
This diff is collapsed.
Click to expand it.
3node/helm-charts/apimanager/values.j2
+
1
−
0
View file @
ba75a9d0
...
...
@@ -16,6 +16,7 @@ network:
service:
port: 8001
targetport: 8001
nodePort: 31801
strategy:
type: RollingUpdate
maxsurge: 1
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets