Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webservice
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ludo8147
webservice
Commits
65ad5409
Commit
65ad5409
authored
7 months ago
by
ludo8147
Browse files
Options
Downloads
Patches
Plain Diff
deployemnt with password mount
parent
e6f94bf1
No related branches found
No related tags found
No related merge requests found
Pipeline
#68727
failed
7 months ago
Stage: build
Stage: test
Stage: publish
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deployment.yaml
+11
-5
11 additions, 5 deletions
deployment.yaml
with
11 additions
and
5 deletions
deployment.yaml
+
11
−
5
View file @
65ad5409
...
@@ -40,10 +40,7 @@ spec:
...
@@ -40,10 +40,7 @@ spec:
name
:
webservice-config
name
:
webservice-config
key
:
DB_PORT
key
:
DB_PORT
-
name
:
DB_PASSWORD
-
name
:
DB_PASSWORD
valueFrom
:
value
:
/etc/secrets/db-password
secretKeyRef
:
name
:
webservice-secrets
key
:
DB_PASSWORD
-
name
:
ENV_NAME
-
name
:
ENV_NAME
valueFrom
:
valueFrom
:
configMapKeyRef
:
configMapKeyRef
:
...
@@ -71,6 +68,15 @@ spec:
...
@@ -71,6 +68,15 @@ spec:
volumeMounts
:
volumeMounts
:
-
name
:
tmp
-
name
:
tmp
mountPath
:
/tmp
mountPath
:
/tmp
-
name
:
db-password
mountPath
:
/etc/secrets
readOnly
:
true
volumes
:
volumes
:
-
name
:
tmp
-
name
:
tmp
emptyDir
:
{}
emptyDir
:
{}
\ No newline at end of file
-
name
:
db-password
secret
:
secretName
:
webservice-secrets
items
:
-
key
:
DB_PASSWORD
path
:
db-password
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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