Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MetaGer Keymanager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
MetaGer Keymanager
Commits
ee80333d
Commit
ee80333d
authored
11 months ago
by
Dominik Hebeler
Browse files
Options
Downloads
Patches
Plain Diff
migrate to new volume
parent
97398b10
No related branches found
No related tags found
No related merge requests found
Pipeline
#9342
passed
11 months ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
chart/templates/backups.yaml
+3
-3
3 additions, 3 deletions
chart/templates/backups.yaml
chart/templates/deployment.yaml
+4
-4
4 additions, 4 deletions
chart/templates/deployment.yaml
with
7 additions
and
7 deletions
chart/templates/backups.yaml
+
3
−
3
View file @
ee80333d
...
@@ -29,9 +29,9 @@ spec:
...
@@ -29,9 +29,9 @@ spec:
securityContext
:
securityContext
:
{{
- toYaml .Values.podSecurityContext | nindent 12
}}
{{
- toYaml .Values.podSecurityContext | nindent 12
}}
volumes
:
volumes
:
-
name
:
order-data
-
name
:
backups
persistentVolumeClaim
:
persistentVolumeClaim
:
claimName
:
order-data
claimName
:
backups
{{
- if .Values.application.secretName
}}
{{
- if .Values.application.secretName
}}
-
name
:
backuprsa
-
name
:
backuprsa
secret
:
secret
:
...
@@ -55,7 +55,7 @@ spec:
...
@@ -55,7 +55,7 @@ spec:
name
:
{{
.Values.application.secretName
}}
-backupenv
name
:
{{
.Values.application.secretName
}}
-backupenv
{{
- end
}}
{{
- end
}}
volumeMounts
:
volumeMounts
:
-
name
:
order-data
-
name
:
backups
mountPath
:
/data
mountPath
:
/data
{{
- if .Values.application.secretName
}}
{{
- if .Values.application.secretName
}}
-
name
:
backuprsa
-
name
:
backuprsa
...
...
This diff is collapsed.
Click to expand it.
chart/templates/deployment.yaml
+
4
−
4
View file @
ee80333d
...
@@ -25,9 +25,9 @@ spec:
...
@@ -25,9 +25,9 @@ spec:
securityContext
:
securityContext
:
{{
- toYaml .Values.podSecurityContext | nindent 8
}}
{{
- toYaml .Values.podSecurityContext | nindent 8
}}
volumes
:
volumes
:
-
name
:
order-data
-
name
:
backups
persistentVolumeClaim
:
persistentVolumeClaim
:
claimName
:
order-data
claimName
:
backups
{{
- if .Values.application.secretName
}}
{{
- if .Values.application.secretName
}}
-
name
:
application-secret
-
name
:
application-secret
secret
:
secret
:
...
@@ -46,7 +46,7 @@ spec:
...
@@ -46,7 +46,7 @@ spec:
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
|
default
.Chart.AppVersion
}}"
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
|
default
.Chart.AppVersion
}}"
imagePullPolicy
:
{{
.Values.image.pullPolicy
}}
imagePullPolicy
:
{{
.Values.image.pullPolicy
}}
volumeMounts
:
volumeMounts
:
-
name
:
order-data
-
name
:
backups
mountPath
:
/data
mountPath
:
/data
{{
- if .Values.application.secretName
}}
{{
- if .Values.application.secretName
}}
-
name
:
application-secret
-
name
:
application-secret
...
@@ -76,7 +76,7 @@ spec:
...
@@ -76,7 +76,7 @@ spec:
command
:
[
"
/usr/local/bin/node"
]
command
:
[
"
/usr/local/bin/node"
]
args
:
[
"
./bin/cron"
]
args
:
[
"
./bin/cron"
]
volumeMounts
:
volumeMounts
:
-
name
:
order-data
-
name
:
backups
mountPath
:
/data
mountPath
:
/data
{{
- if .Values.application.secretName
}}
{{
- if .Values.application.secretName
}}
-
name
:
application-secret
-
name
:
application-secret
...
...
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