Skip to content

Commit 5dc82d6

Browse files
author
Simon Emms
committed
[kots]: implement app backup
1 parent 0ea2600 commit 5dc82d6

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

install/kots/manifests/gitpod-installation-status.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
containers:
3131
- name: installation-status
3232
# This will normally be the release tag
33-
image: "eu.gcr.io/gitpod-core-dev/build/installer:nvn-fix-11408.15"
33+
image: "eu.gcr.io/gitpod-core-dev/build/installer:sje-kots-backup.16"
3434
command:
3535
- /bin/sh
3636
- -c

install/kots/manifests/gitpod-installer-job.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
containers:
2929
- name: installer
3030
# This will normally be the release tag
31-
image: "eu.gcr.io/gitpod-core-dev/build/installer:nvn-fix-11408.15"
31+
image: "eu.gcr.io/gitpod-core-dev/build/installer:sje-kots-backup.16"
3232
volumeMounts:
3333
- mountPath: /config-patch
3434
name: config-patch
@@ -301,9 +301,6 @@ spec:
301301
echo "Gitpod: ${CONFIG_PATCH_FILE}=${config_patch}"
302302
yq eval-all --inplace 'select(fileIndex == 0) * select(fileIndex == 1)' "${CONFIG_FILE}" /tmp/patch.yaml
303303
304-
echo "Gitpod: Escape all keys - this avoids any collisions in the customizations/patch"
305-
yq e -i '.' -o json -I 0 "${CONFIG_FILE}"
306-
307304
echo "Gitpod: Generate the Kubernetes objects"
308305
config=$(cat "${CONFIG_FILE}")
309306
echo "Gitpod: ${CONFIG_FILE}=${config}"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Copyright (c) 2022 Gitpod GmbH. All rights reserved.
2+
# Licensed under the MIT License. See License-MIT.txt in the project root for license information.
3+
4+
apiVersion: velero.io/v1
5+
kind: Backup
6+
metadata:
7+
name: backup
8+
spec: {}

0 commit comments

Comments
 (0)