Skip to content

Commit ed0eb86

Browse files
committed
fix backup storage location example YAMLs
Signed-off-by: Steve Kriss <steve@heptio.com>
1 parent cb43ff9 commit ed0eb86

File tree

5 files changed

+39
-24
lines changed

5 files changed

+39
-24
lines changed

examples/aws/05-ark-backupstoragelocation.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@ spec:
2222
provider: aws
2323
objectStorage:
2424
bucket: <YOUR_BUCKET>
25-
config:
26-
region: <YOUR_REGION>
27-
25+
config:
26+
region: <YOUR_REGION>

examples/azure/05-ark-backupstoragelocation.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ spec:
2222
provider: azure
2323
objectStorage:
2424
bucket: <YOUR_BLOB_CONTAINER>
25-
config:
26-
resourceGroup: <YOUR_STORAGE_RESOURCE_GROUP>
27-
storageAccount: <YOUR_STORAGE_ACCOUNT>
25+
config:
26+
resourceGroup: <YOUR_STORAGE_RESOURCE_GROUP>
27+
storageAccount: <YOUR_STORAGE_ACCOUNT>

examples/ibm/05-ark-backupstoragelocation.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
provider: aws
2323
objectStorage:
2424
bucket: <YOUR_BUCKET>
25-
config:
26-
s3ForcePathStyle: "true"
27-
s3Url: <YOUR_URL_ACCESS_POINT>
28-
region: <YOUR_REGION>
25+
config:
26+
s3ForcePathStyle: "true"
27+
s3Url: <YOUR_URL_ACCESS_POINT>
28+
region: <YOUR_REGION>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Copyright 2018 the Heptio Ark contributors.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
---
16+
apiVersion: ark.heptio.com/v1
17+
kind: BackupStorageLocation
18+
metadata:
19+
name: default
20+
namespace: heptio-ark
21+
spec:
22+
provider: aws
23+
objectStorage:
24+
bucket: ark
25+
config:
26+
region: minio
27+
s3ForcePathStyle: "true"
28+
s3Url: http://minio.heptio-ark.svc:9000
29+
30+

examples/minio/10-ark-config.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,3 @@ kind: Config
1818
metadata:
1919
namespace: heptio-ark
2020
name: default
21-
backupStorageProvider:
22-
name: aws
23-
bucket: ark
24-
# Uncomment the below line to enable restic integration.
25-
# The format for resticLocation is <bucket>[/<prefix>],
26-
# e.g. "my-restic-bucket" or "my-restic-bucket/repos".
27-
# This MUST be a different bucket than the main Ark bucket
28-
# specified just above.
29-
# resticLocation: <YOUR_RESTIC_LOCATION>
30-
config:
31-
region: minio
32-
s3ForcePathStyle: "true"
33-
s3Url: http://minio.heptio-ark.svc:9000
34-

0 commit comments

Comments
 (0)