Changed file permissions for theia K8s

This commit is contained in:
nsingh@pivotal.io
2019-06-20 02:16:10 -07:00
parent a8f0ea0c69
commit b9784744f0

View File

@@ -28,6 +28,8 @@ spec:
labels:
app: theia-spring-boot
spec:
securityContext:
fsGroup: 1000
containers:
- name: theia-spring-boot
image: theia-spring-boot
@@ -36,7 +38,7 @@ spec:
- containerPort: 3000
volumeMounts:
- name: source
mountPath: home
mountPath: /home/project
- name: git-sync
image: k8s.gcr.io/git-sync:v3.0.1
volumeMounts:
@@ -48,7 +50,9 @@ spec:
- name: GIT_SYNC_BRANCH
value: master
- name: GIT_SYNC_DEST
value: project
value: spring-petclinic
- name: GIT_SYNC_PERMISSIONS
value: "0777"
volumes:
- name: source
emptyDir: {}