Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Project2056
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
aray
Project2056
Commits
6b8387a9
Commit
6b8387a9
authored
Feb 23, 2023
by
pg-ta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
service names updated by Admin....q
parent
a4def011
Pipeline
#2896
failed with stages
in 3 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
16 deletions
+10
-16
deployment.yaml
helm/service/templates/deployment.yaml
+5
-12
test-connection.yaml
helm/service/templates/tests/test-connection.yaml
+5
-4
No files found.
helm/service/templates/deployment.yaml
View file @
6b8387a9
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
name
:
{{
include "project1
392
.fullname" .
}}
name
:
{{
include "project1
473
.fullname" .
}}
labels
:
app.kubernetes.io/name
:
{{
include "project1
392
.name" .
}}
helm.sh/chart
:
{{
include "project1
392
.chart" .
}}
app.kubernetes.io/name
:
{{
include "project1
473
.name" .
}}
helm.sh/chart
:
{{
include "project1
473
.chart" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
app.kubernetes.io/managed-by
:
{{
.Release.Service
}}
spec
:
replicas
:
{{
.Values.replicaCount
}}
selector
:
matchLabels
:
app.kubernetes.io/name
:
{{
include "project1
392
.name" .
}}
app.kubernetes.io/name
:
{{
include "project1
473
.name" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
template
:
metadata
:
labels
:
app.kubernetes.io/name
:
{{
include "project1
392
.name" .
}}
app.kubernetes.io/name
:
{{
include "project1
473
.name" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
spec
:
containers
:
-
name
:
{{
.Chart.Name
}}
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
}}"
imagePullPolicy
:
{{
.Values.image.pullPolicy
}}
volumeMounts
:
-
name
:
efs-pvc
mountPath
:
./src/main/resources
env
:
-
name
:
"
k8s.db.env"
value
:
"
db-config-k8s"
...
...
@@ -36,10 +33,6 @@ spec:
resources
:
{{
- toYaml .Values.resources | nindent 12
}}
{{
- with .Values.nodeSelector
}}
volumes
:
-
name
:
efs-pvc
persistentVolumeClaim
:
claimName
:
efs
nodeSelector
:
{{
- toYaml . | nindent 8
}}
{{
- end
}}
...
...
helm/service/templates/tests/test-connection.yaml
View file @
6b8387a9
apiVersion
:
v1
kind
:
Pod
metadata
:
name
:
"
{{
include
"project1
392
.fullname" . }}-test-connection"
name
:
"
{{
include
"project1
473
.fullname" . }}-test-connection"
labels
:
app.kubernetes.io/name
:
{{
include "project1
392
.name" .
}}
helm.sh/chart
:
{{
include "project1
392
.chart" .
}}
app.kubernetes.io/name
:
{{
include "project1
473
.name" .
}}
helm.sh/chart
:
{{
include "project1
473
.chart" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
app.kubernetes.io/managed-by
:
{{
.Release.Service
}}
annotations
:
...
...
@@ -14,5 +14,5 @@ spec:
-
name
:
wget
image
:
busybox
command
:
[
'
wget'
]
args
:
[
'
{{
include
"project1
392
.fullname"
.
}}:{{
.Values.service.port
}}'
]
args
:
[
'
{{
include
"project1
473
.fullname"
.
}}:{{
.Values.service.port
}}'
]
restartPolicy
:
Never
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment