Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jass
Manage
Activity
Members
Labels
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Statistical-Genetics
jass
Commits
8b704cbc
Commit
8b704cbc
authored
2 years ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
manage the shared pvc manually
parent
c3a7275a
No related branches found
No related tags found
3 merge requests
!52
Bring all changes from dev into master
,
!51
merge fast-api into dev
,
!45
Deploy app in kubernetes
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-0
2 additions, 0 deletions
.gitlab-ci.yml
chart/pvc-shared-data.yaml
+2
-4
2 additions, 4 deletions
chart/pvc-shared-data.yaml
chart/values.yaml
+0
-4
0 additions, 4 deletions
chart/values.yaml
with
4 additions
and
8 deletions
.gitlab-ci.yml
+
2
−
0
View file @
8b704cbc
...
...
@@ -145,6 +145,8 @@ build-client:
-
build-client
image
:
harbor.pasteur.fr/kube-system/helm-kubectl:3.4.0
script
:
# create if missing the shared pvc to save data
-
kubectl apply -n $NAMESPACE -f chart/pvc-shared-data.yaml
-
helm dependency update chart
# shows some error on first deployment
-
RABBITMQ_PASSWORD=$(kubectl get secret --namespace "jass-dev" ${CI_COMMIT_REF_SLUG}-rabbitmq -o jsonpath="{.data.rabbitmq-password}" || echo "" | base64 -d)
...
...
This diff is collapsed.
Click to expand it.
chart/
templates/
pvc-shared-data.yaml
→
chart/pvc-shared-data.yaml
+
2
−
4
View file @
8b704cbc
...
...
@@ -2,13 +2,11 @@ apiVersion: v1
kind
:
PersistentVolumeClaim
metadata
:
name
:
"
jass-shared-data-files"
annotations
:
"
helm.sh/resource-policy"
:
"
keep"
spec
:
accessModes
:
-
ReadWriteMany
resources
:
requests
:
storage
:
{{
.Values.sharedData.size
}}
storageClassName
:
{{
.Values.sharedData.storageClassName
}}
storage
:
25Gi
storageClassName
:
isilon
status
:
{}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
chart/values.yaml
+
0
−
4
View file @
8b704cbc
...
...
@@ -73,10 +73,6 @@ data:
size
:
50Gi
storageClassName
:
isilon
sharedData
:
size
:
25Gi
storageClassName
:
isilon
client
:
securityContext
:
runAsNonRoot
:
true
...
...
This diff is collapsed.
Click to expand it.
Preview
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