Skip to content

Commit ceba343

Browse files
changelog updated
1 parent 8139404 commit ceba343

File tree

1 file changed

+55
-1
lines changed

1 file changed

+55
-1
lines changed

README.md

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,61 @@ $ helm repo add vmware-tanzu https://vmware-tanzu.github.io/helm-charts
4949
Here's the gist of using it directly from github.
5050

5151
```hcl
52-
52+
module "velero" {
53+
source = "terraform-module/velero/kubernetes"
54+
version = "0.12.2"
55+
56+
namespace_deploy = true
57+
app_deploy = true
58+
cluster_name = my-personal-cluster
59+
openid_connect_provider_uri = "openid-configuration"
60+
bucket = "backup-s3"
61+
values = [<<EOF
62+
# https://github.com/vmware-tanzu/helm-charts/tree/master/charts/velero
63+
64+
image:
65+
repository: velero/velero
66+
tag: v1.4.2
67+
68+
initContainers:
69+
- name: velero-plugin-for-aws
70+
image: velero/velero-plugin-for-aws:v1.1.0
71+
imagePullPolicy: IfNotPresent
72+
volumeMounts:
73+
- mountPath: /target
74+
name: plugins
75+
76+
# SecurityContext to use for the Velero deployment. Optional.
77+
# Set fsGroup for `AWS IAM Roles for Service Accounts`
78+
# see more informations at: https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html
79+
securityContext:
80+
fsGroup: 1337
81+
82+
configuration:
83+
provider: aws
84+
85+
backupStorageLocation:
86+
name: default
87+
provider: aws
88+
bucket: backup-s3
89+
prefix: "velero/dev/my-cluster"
90+
config:
91+
region: eu-west-1
92+
93+
volumeSnapshotLocation:
94+
name: default
95+
provider: aws
96+
# Additional provider-specific configuration. See link above
97+
# for details of required/optional fields for your provider.
98+
config:
99+
region: eu-west-1
100+
EOF
101+
]
102+
vars = {
103+
"version" = "2.12.0"
104+
}
105+
tags = local.tags
106+
}
53107
```
54108

55109
## Assumptions

0 commit comments

Comments
 (0)