File tree 4 files changed +54
-4
lines changed
4 files changed +54
-4
lines changed Original file line number Diff line number Diff line change
1
+ from transpire import kustomize
2
+ from transpire .utils import get_versions
3
+
4
+ name = "snapshot-controller"
5
+ namespace = "kube-system"
6
+
7
+ def objects ():
8
+ yield from kustomize .build_kustomization_from_versions (
9
+ name = "snapshot-controller-crds" ,
10
+ versions = get_versions (__file__ ),
11
+ )
12
+
13
+ yield from kustomize .build_kustomization_from_versions (
14
+ name = "snapshot-controller" ,
15
+ versions = get_versions (__file__ ),
16
+ )
Original file line number Diff line number Diff line change 1
1
from transpire import helm
2
2
from transpire .utils import get_versions
3
3
4
+ name = "velero"
5
+
4
6
values = {
5
7
# At least one plugin provider image is required.
6
8
"initContainers" : [
27
29
},
28
30
],
29
31
},
30
-
31
32
],
33
+ "deployNodeAgent" : "true" ,
32
34
"configuration" : {
33
- "backupStorageLocation" : [],
35
+ "backupStorageLocation" : [
36
+ {
37
+ "name" : "default" ,
38
+ "provider" : "velero.io/aws" ,
39
+ "bucket" : "velero" ,
40
+ "credential" : {"key" : "aws-config" , "name" : "minio-credentials" },
41
+ "config" : {
42
+ "region" : "minio" ,
43
+ "s3ForcePathStyle" : "true" ,
44
+ "s3Url" : "http://hal.ocf.berkeley.edu:9000" ,
45
+ },
46
+ }
47
+ ],
34
48
"volumeSnapshotLocation" : [],
35
49
},
36
50
}
37
51
38
- name = "velero"
39
-
40
52
41
53
def objects ():
54
+ yield {
55
+ "apiVersion" : "ricoberger.de/v1alpha1" ,
56
+ "kind" : "VaultSecret" ,
57
+ "metadata" : {"name" : "minio-credentials" },
58
+ "spec" : {
59
+ "keys" : ["aws-config" ],
60
+ "path" : f"kvv2/{ name } /minio-credentials" ,
61
+ "type" : "Opaque" ,
62
+ },
63
+ }
64
+
42
65
yield from helm .build_chart_from_versions (
43
66
name = "velero" ,
44
67
versions = get_versions (__file__ ),
Original file line number Diff line number Diff line change @@ -97,6 +97,16 @@ version = "1.13.6"
97
97
helm = " https://charts.rook.io/release"
98
98
chart = " rook-ceph"
99
99
100
+ [snapshot-controller ]
101
+ version = " v7.0.1"
102
+ repo_url = " https://github.com/kubernetes-csi/external-snapshotter.git/"
103
+ path = " deploy/kubernetes/snapshot-controller"
104
+
105
+ [snapshot-controller-crds ]
106
+ version = " v7.0.1"
107
+ repo_url = " https://github.com/kubernetes-csi/external-snapshotter.git/"
108
+ path = " client/config/crd"
109
+
100
110
[teleport ]
101
111
version = " 14.2.4"
102
112
helm = " https://charts.releases.teleport.dev"
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ postgres-operator = { path = "apps/postgres_operator.py" }
34
34
ocf-io = { path = " apps/ocf_io.py" }
35
35
rabbitmq = { path = " apps/rabbitmq.py" }
36
36
rook = { path = " apps/rook.py" }
37
+ snapshot-controller = { path = " apps/snapshot_controller.py" }
37
38
teleport = { path = " apps/teleport.py" }
38
39
vault = { path = " apps/vault.py" }
39
40
vault-secrets-operator = { path = " apps/vault_secrets_operator.py" }
You can’t perform that action at this time.
0 commit comments