Skip to content

Commit 7cb24d2

Browse files
author
Simon Emms
committed
[kots]: implement app backup
1 parent 128abb6 commit 7cb24d2

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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)