Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed Jan 30, 2024
1 parent 4378381 commit 2821efe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/cubebackup/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: cubebackup
description: A Helm chart for cubebackup
type: application

version: 0.0.3
version: 0.0.4

# App metadata
appVersion: "v1.0.0"
Expand Down
8 changes: 4 additions & 4 deletions charts/cubebackup/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
initContainers:
- name: init-config
image: cubebackup/cubebackup
command: ["/bin/sh", "-c", "cp -Rnv /etc/cubebackup/* /tmp/"]
command: ["/bin/sh", "-c", "cp -Rnv /opt/cubebackup/etc/* /tmp/"]
volumeMounts:
- name: vol-config
mountPath: /tmp
Expand All @@ -26,11 +26,11 @@ spec:
- containerPort: 80
volumeMounts:
- name: vol-config
mountPath: /opt/{{ .Release.Name }}/etc
mountPath: /opt/cubebackup/etc
- name: vol-db
mountPath: /opt/{{ .Release.Name }}/db
mountPath: /opt/cubebackup/db
- name: vol-logs
mountPath: /opt/{{ .Release.Name }}/logs
mountPath: /opt/cubebackup/logs
nodeSelector:
kubernetes.io/os: linux
volumes:
Expand Down

0 comments on commit 2821efe

Please sign in to comment.