Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit 9ccbeee

Browse files
Merge pull request #77 from AnthonyAmanse/fix-persistence
Fix persistence issue in GitLab
2 parents 03d955f + 29f7933 commit 9ccbeee

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

‎kubernetes/gitlab-postgres-svc.yaml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ spec:
7777
name: gitlab
7878
volumeMounts:
7979
- name: gitlab
80-
mountPath: /home/git/data:rw
80+
mountPath: /var/opt/gitlab
81+
subPath: gitlab_data
82+
- name: gitlab
83+
mountPath: /etc/gitlab
84+
subPath: gitlab_configuration
8185
volumes:
8286
- name: gitlab
8387
persistentVolumeClaim:

‎kubernetes/gitlab.yaml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@ spec:
7474
name: gitlab
7575
volumeMounts:
7676
- name: gitlab
77-
mountPath: /home/git/data
77+
mountPath: /var/opt/gitlab
78+
subPath: gitlab_data
79+
- name: gitlab
80+
mountPath: /etc/gitlab
81+
subPath: gitlab_configuration
7882
volumes:
7983
- name: gitlab
8084
persistentVolumeClaim:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /